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

fix : corrected unworking storageobject_reader #99

Merged
merged 7 commits into from
Feb 26, 2021
Merged

Conversation

louisRDSC
Copy link
Contributor

@louisRDSC louisRDSC commented Feb 10, 2021

Issue

Description

  • #removed broken and useless code in nck/readers/objectstorage_reader.py,
  • Created njson reader in nck/utils/file_reader.py
  • Moved reader factory from nck/readers/objectstorage_reader.py to nck/utils/file_reader .

@gabrielleberanger
Copy link
Contributor

Good job, thank you Louis ! 👍

Did you also have the chance to test the S3 reader ? If needed, I believe that you can ask @tom-grivaud for temporary accesses, as he is working on a project deployed on AWS.

@bibimorlet
Copy link
Contributor

Hey
I tried this new version of the reader, good job.

There are two things I'd like to discuss with you:

  • If think that the config.project_id in the GCSReader could be removed. We could for example call the project_id with a new click_parameter or another way.
  • Can you add some tests for your reader? in order to check if all the desired use cases are validated.

Thanks 😃

Copy link
Contributor

@bibimorlet bibimorlet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we add some tests?

Copy link
Contributor

@benoitgoujon benoitgoujon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Copy link
Contributor

@bibimorlet bibimorlet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything works fine for me, Thanks!

@louisRDSC louisRDSC merged commit a9b7e3e into dev Feb 26, 2021
@louisRDSC louisRDSC deleted the improve-gcs-reader branch February 26, 2021 19:19
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.

BUG - Fix GCS Reader (deprecated)
4 participants