def METHOD_NAME(
    graphql_context: WorkspaceRequestContext,
    pipeline_name: str,
    op_selection: Optional[Sequence[str]] = None,
    asset_selection: Optional[Sequence[GqlAssetKey]] = None,
) -> Selector:
    selector = infer_repository_selector(graphql_context)
    selector.update(
        {
            "pipelineName": pipeline_name,
            "solidSelection": op_selection,
            "assetSelection": asset_selection,
        }
    )
    return selector