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-38952: revive pipeline mock system and move it here (from ctrl_mpexec) #339

Merged
merged 10 commits into from
Jun 9, 2023

Commits on Jun 8, 2023

  1. Configuration menu
    Copy the full SHA
    9a81d7c View commit details
    Browse the repository at this point in the history
  2. Move PipelineTask mocking code from ctrl_mpexec.

    This has bitrotted and does not work anymore, but before fixing that
    I wanted to get a clean transfer of what we had before with only
    import/formatting changes.
    
    I haven't moved the mock for ButlerQuantumContext that these classes
    assume, because I'll be modifying them to use the MockStorageClass and
    MockDataset classes instead.
    TallJimbo committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    6576d56 View commit details
    Browse the repository at this point in the history
  3. Work around MyPy narrowing limitations.

    This seems to have been introduced by switching derivedComponents to
    Mapping instead of dict, but that shouldn't have mattered.
    TallJimbo committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    75e0b84 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a81fe39 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c7e67a5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c93654c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0a92469 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a93fc4d View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2023

  1. Add dataId kwarg to GraphBuilder.makeGraph.

    This allows the instrument embedded in a pipeline to be passed into
    the graph generation algorithm even when the pipeline is converted
    to a sequence of TaskDef objects in advance.
    TallJimbo committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    3766d9f View commit details
    Browse the repository at this point in the history
  2. Add Pipeline.get_data_id.

    TallJimbo committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    7dcc699 View commit details
    Browse the repository at this point in the history