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

DM-30798: Update to new adjustQuantum signature. #117

Merged
merged 1 commit into from Jun 17, 2021
Merged

Conversation

TallJimbo
Copy link
Member

This is a belated fix for an API change on DM-30649.

Copy link
Member

@kfindeisen kfindeisen left a comment

Choose a reason for hiding this comment

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

One question about the documentation.

Comment on lines 115 to 126
inputs : `dict`
Dictionary whose keys are an input (regular or prerequisite)
connection name and whose values are a tuple of the connection
instance and a collection of associated `DatasetRef` objects.
The exact type of the nested collections is unspecified; it can be
assumed to be multi-pass iterable and support `len` and ``in``, but
it should not be mutated in place. In contrast, the outer
dictionaries are guaranteed to be temporary copies that are true
`dict` instances, and hence may be modified and even returned; this
is especially useful for delegating to `super` (see notes below).
outputs : `Mapping`
Mapping of output datasets, with the same structure as ``inputs``.
Copy link
Member

Choose a reason for hiding this comment

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

Did you intend for inputs to be dict but outputs (and everything else) to be Mapping?

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh, good catch. I did not, and that's a mistake down in pipe_base, too (should be dict throughout). I'll fix it here on this branch, but fix up pipe_base on a different ticket in that package that I already have underway.

This is a belated fix for an API change on DM-30649.
@TallJimbo TallJimbo merged commit 15c94b9 into master Jun 17, 2021
@TallJimbo TallJimbo deleted the tickets/DM-30798 branch June 17, 2021 20:41
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.

None yet

2 participants