Skip to content

Conversation

@ddey2
Copy link
Member

@ddey2 ddey2 commented Feb 2, 2023

No description provided.

@ddey2 ddey2 requested review from lmarini and max-zilla February 2, 2023 17:37
@ddey2 ddey2 linked an issue Feb 2, 2023 that may be closed by this pull request
@ddey2 ddey2 requested a review from tcnichol February 2, 2023 17:40
@ddey2 ddey2 changed the base branch from master to 50-clowder20-submit-file-to-extractor February 2, 2023 17:44
upload file for v2 did not properly return the id of the uploaded file.

added a text file (looks like the original was not checked in) gave it a more descriptive name.
files.get_summary
gets the equivalent of the file info in v2
@tcnichol
Copy link
Contributor

tcnichol commented Feb 3, 2023

You can use this new method it should get the file info:

file_summary = pyclowder.files.download_summary(connector, host, secret_key, file_id)

Copy link
Contributor

@tcnichol tcnichol left a comment

Choose a reason for hiding this comment

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

Marking approved.

Tested and all parts of testing for files and datasets worked. The method for getting file summary is added on this pull request as well since it was needed for the tests.

Build errors are still there, but the rest is good.

@max-zilla max-zilla merged commit 516fa2f into 50-clowder20-submit-file-to-extractor Feb 16, 2023
@max-zilla max-zilla deleted the 287-clowder2-test-extractor branch February 16, 2023 15:34
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.

download_metadata and download_info functions in files.py are returning same metadata info Testing extractor

4 participants