Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rm nexus sdk usage and dependency #407

Merged
merged 14 commits into from
Jun 1, 2024
Merged

rm nexus sdk usage and dependency #407

merged 14 commits into from
Jun 1, 2024

Conversation

ssssarah
Copy link
Contributor

@ssssarah ssssarah commented May 29, 2024

I've put all the code from the sdk that was used in the file previous_sdk_usage, with the change that the endpoint and token are provided as parameters (as opposed to setting environment variables)

No design thought really went into this, it's a fast solution, up to change

(preparatory work so that we specify a token as a callable, without having to handle setting the nexussdk environment variable)

@ssssarah ssssarah marked this pull request as ready for review May 29, 2024 09:50
@ssssarah ssssarah changed the title rm sdk usage from bluebrainexus store file rm nexus sdk usage and dependency May 29, 2024
@codecov-commenter
Copy link

codecov-commenter commented May 29, 2024

Codecov Report

Attention: Patch coverage is 24.63768% with 104 lines in your changes are missing coverage. Please review.

Project coverage is 74.76%. Comparing base (d2604cc) to head (b3c1540).

Files Patch % Lines
...forge/specializations/stores/nexus/http_helpers.py 21.49% 84 Missing ⚠️
utils.py 16.66% 20 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #407      +/-   ##
==========================================
- Coverage   75.61%   74.76%   -0.86%     
==========================================
  Files         103      104       +1     
  Lines        6779     6883     +104     
==========================================
+ Hits         5126     5146      +20     
- Misses       1653     1737      +84     
Flag Coverage Δ
unittests 74.76% <24.63%> (-0.86%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ssssarah ssssarah requested review from MFSY, crisely09 and lecriste May 30, 2024 09:38
@crisely09
Copy link
Contributor

crisely09 commented May 31, 2024

Hmm why to call things: previous_sdk_usage.py ? why not just something generic about the methods there? and just comment/docstring that this was previois sdk usage. May be one can call it https_helpers.py or something on those lines, it's just ... the name is too specific, "previous" and "sdk" ... I dunno ...

@crisely09 crisely09 merged commit e55d953 into master Jun 1, 2024
1 check passed
@crisely09 crisely09 deleted the drop_sdk branch June 1, 2024 07:19
MFSY pushed a commit that referenced this pull request Jul 5, 2024
* rm sdk usage from bluebrainexus store file

* rm sdk usage from utils

* rm sdk usage from service

* rm nexussdk from test

* lint

* fix patch

* change usage of project_fetch function for successful patching in tests

* rename module of sdk methods

* remove leftover image from store

* missing file

* restore config

* remove s from file name

* missing the file, again

---------

Co-authored-by: Cristina E. González-Espinoza <crisbeth46@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants