-
Notifications
You must be signed in to change notification settings - Fork 12
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-39661: Rename ButlerQuantumContext to QuantumContext #344
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #344 +/- ##
==========================================
+ Coverage 82.56% 82.76% +0.19%
==========================================
Files 66 66
Lines 7148 7242 +94
Branches 1394 1293 -101
==========================================
+ Hits 5902 5994 +92
- Misses 1000 1001 +1
- Partials 246 247 +1
☔ View full report in Codecov by Sentry. |
76863d8
to
682777f
Compare
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.
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.
* Private naming to match expectations. * Preparation for renaming ButlerQuantumContext to QuantumContext
This is in preparation for additional functionality.
pydocstyle is not clever enough to realize that "parameters" in a code block is not Parameters in a numpydoc parameter description.
It's used by analysis_tools for PipelineTaskConfig.applyConfigOverrides so can't be treated as an entirely private API.
This gives more flexibility for the future and makes it easier for this information to be added to ctrl_mpexec APIs.
This allows the dataclass to be strongly typed but allows flexible parameter types to be used for construction.
This lets us take flexible types for the constructor whilst constraining the types for the dataclass.
This is useful when the value is obtained from the command line.
Checklist
doc/changes