-
Notifications
You must be signed in to change notification settings - Fork 74
[#709] preserve options in chaining obj.metadata(opt1=val1)(opt2=val2) #716
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
base: main
Are you sure you want to change the base?
Conversation
korydraughn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall.
…val2) In other words, setting opt2 = val2 does not reset opt1 back to its default value. [_709] correct and streamline. _opts and __kw should be separate. [_709] reasonable copy of _opts
[_768] add test [_768] reasonable handling of _meta
Example: iRODSBinOrStringMeta allows storing arbitrary octet strings in metadata. [_707] test of iRODSMeta subclass which stores bytestring value and/or unit This required some more corrections and tweaks of the iRODSMeta_type handling. [_707] iRODSMeta name could contain Unicode, ergo should not be included in translations [_707] do remove properly
ef597fa to
087ded2
Compare
|
Evidently it is still possible to fail here: The modify time turned out on this occasion to be one second later than the access time on a just-created replica open for write: @korydraughn any ideas why this might occasionally happen? |
|
Squashed , ready for review. |
| all_relevant_avus = meta_coll.get_all(avu_name) | ||
| self.assertIn(new_avu, all_relevant_avus) | ||
|
|
||
| # these could be in a separate test. TODO - make issue regarding hash and sets of iRODSMeta |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
found a TODO
In other words, setting opt2 = val2 does not reset opt1 back to its default value.