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-39661: Rename ButlerQuantumContext to QuantumContext #344

Merged
merged 13 commits into from
Jun 23, 2023
Merged

Commits on Jun 23, 2023

  1. Rename butlerQuantumContext.py to _quantumContext.py

    * Private naming to match expectations.
    * Preparation for renaming ButlerQuantumContext to QuantumContext
    timj committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    dfc9fbf View commit details
    Browse the repository at this point in the history
  2. Rename ButlerQuantumContext as QuantumContext

    This is in preparation for additional functionality.
    timj committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    35f3f3e View commit details
    Browse the repository at this point in the history
  3. Ignore doc style errors from parameters in code block

    pydocstyle is not clever enough to realize that "parameters"
    in a code block is not Parameters in a numpydoc parameter
    description.
    timj committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    d879a31 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2ba4e63 View commit details
    Browse the repository at this point in the history
  5. Make ParametersIR more visible

    It's used by analysis_tools for PipelineTaskConfig.applyConfigOverrides
    so can't be treated as an entirely private API.
    timj committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    4472a5f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9f13f39 View commit details
    Browse the repository at this point in the history
  7. Use a dataclass to specify cores and memory

    This gives more flexibility for the future and makes it easier
    for this information to be added to ctrl_mpexec APIs.
    timj committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    b510a1e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c076ea7 View commit details
    Browse the repository at this point in the history
  9. Add explicit deep copy support

    timj committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    62ec607 View commit details
    Browse the repository at this point in the history
  10. Add factory method for ExecutionResources

    This allows the dataclass to be strongly typed but allows
    flexible parameter types to be used for construction.
    timj committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    5f91504 View commit details
    Browse the repository at this point in the history
  11. Write explicit ExecutionResources.__init__

    This lets us take flexible types for the constructor whilst
    constraining the types for the dataclass.
    timj committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    bdcf503 View commit details
    Browse the repository at this point in the history
  12. Allow empty string to mean no memory constraint

    This is useful when the value is obtained from the command
    line.
    timj committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    4b41924 View commit details
    Browse the repository at this point in the history
  13. Add news fragment

    timj committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    00ff1fe View commit details
    Browse the repository at this point in the history