Skip to content

Conversation

@RachelTucker
Copy link
Contributor

  • Implemented basic streaming strategy helpers.

Miscellaneous Bug fixes:

  • Fixed incorrectly performing a file path normalization on object names in bulk put and get request payloads.
  • Fixed equality comparison with string literals
  • Updated string encoding function to use non-deprecated version
  • Adding 'versions' to query parameters to include in the signature

…ll. Implemented basic streaming strategy helpers. Fixed miscelaneous errors, including incorrectly performing a file path normalization on object names in bulk put and get request payloads.
Copy link
Contributor

@shabtaisharon shabtaisharon left a comment

Choose a reason for hiding this comment

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

LGTM, I am not a python expert but you have my blessing :)

@RachelTucker RachelTucker requested a review from bensont March 30, 2021 17:23
self.offset = offset

def __eq__(self, other):
if self.name == other.name and self.length == other.length and self.offset == other.offset:
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm not sure this is necessary. The variables sent to init have their types specified. The types aren't explicitly set for "other". You might want to use === because that checks both the value and the data type.

Edit: after reviewing all the code, it appears that the "other" field types are set before each call, so this is probably okay. Your choice.

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