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

Transfer documentation and a fix for all tests... #1009

Merged
merged 7 commits into from
Apr 4, 2024

Conversation

petersilva
Copy link
Contributor

after working with @gcglinton, @reidsunderland, @andreleblanc11 on the new s3 transfer class, I added some documentation about how to write transfer classes. The principle unfathomable part is what the ls() entry point returns, which is quite odd. It is the right thing to do, but it requires explanation, included in the commits.

Also noticed that after AM protocol work with @andreleblanc11 the cleanup() function of the retry class was crashing many tests. Have to add some initialization to get the cleanup to work.

Copy link
Member

@reidsunderland reidsunderland left a comment

Choose a reason for hiding this comment

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

Looks good to me.

There's a typo in transfer/__init__.py: a seqeence of bytes... will be parsed as an html page.

@petersilva petersilva merged commit 110d356 into development Apr 4, 2024
0 of 4 checks passed
@gcglinton
Copy link
Contributor

Seem like adding the type hints broke unit testing on Ubuntu 20.04, as it hasn't worked there since this was merged.

gcglinton added a commit that referenced this pull request Apr 5, 2024
@petersilva
Copy link
Contributor Author

yeah... trying to figure out why the tests broke because we added type hints. that routine is weird... it's polymorphic... returning different types depending on the protocol... but that is really what is needed... it's not wrong.

@petersilva petersilva deleted the transfer_documentation branch May 15, 2024 03:03
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.

3 participants