yt_framework symbols below are generated from Python docstrings. Job-side entrypoints (ytjobs) have a separate page.
**Navigation**
Use the sidebar headings for modules. Anything not listed is still in the source tree; use `help(module)` locally.
- Core — pipeline, stage, registry, discovery,
self.depsinjection - Contracts —
StageDependenciesandStageContextshared bycoreand operation drivers (preferyt_framework.contracts;operations.stage_contractsis a thin re-export) - Operations — map, vanilla, map-reduce/reduce, S3 helpers, table helpers, checkpoint upload, sort, tokenizer artifact wiring
- Typed jobs —
StageBootstrapTypedJob - YT —
yt.support(shared runtime helpers),yt.clients(public client API and mixins), andytentry (factory, package exports) - Utils — env files, logging setup, ignore patterns
- Packaging — upload helpers shared by operations
ytjobs— Job-side reference
**Narrative docs**
How-to guides under `docs/operations`, `docs/configuration`, and `docs/advanced` spell out YAML and stage patterns; this page is the raw API surface.
.. automodule:: yt_framework.core.pipeline
:members:
:undoc-members:
:show-inheritance:
.. automodule:: yt_framework.core.pipeline_config
:members:
:undoc-members:
:show-inheritance:
.. automodule:: yt_framework.core.pipeline_cli
:members:
:undoc-members:
:show-inheritance:
.. automodule:: yt_framework.core.stage
:members:
:exclude-members: StageContext
:undoc-members:
:show-inheritance:
.. automodule:: yt_framework.core.registry
:members:
:undoc-members:
:show-inheritance:
.. automodule:: yt_framework.core.discovery
:members:
:undoc-members:
:show-inheritance:
.. automodule:: yt_framework.core.dependencies
:members:
:undoc-members:
:show-inheritance:
.. automodule:: yt_framework.contracts.stage
:members:
:undoc-members:
:show-inheritance:
yt_framework.operations.stage_contracts re-exports
:class:~yt_framework.contracts.stage.StageContext and
:class:~yt_framework.contracts.stage.StageDependencies only. Prefer
from yt_framework.contracts import ….
.. automodule:: yt_framework.operations.command_ops.map
:members:
:undoc-members:
:show-inheritance:
.. automodule:: yt_framework.operations.command_ops.vanilla
:members:
:undoc-members:
:show-inheritance:
.. automodule:: yt_framework.operations.command_ops.map_reduce
:members:
:undoc-members:
:show-inheritance:
YQL operations are *_request methods on the YT client, each taking a frozen request type from yt_framework.yt.clients.yql.yql_requests (for example JoinTablesRequest). See :doc:../operations/yql.
**YQL Operations Location**
YQL operations are implemented as methods on `BaseYTClient` and its subclasses (`YTDevClient` and `YTProdClient`). They are not in a separate operations module.
.. automodule:: yt_framework.operations.s3
:members:
:undoc-members:
:show-inheritance:
.. automodule:: yt_framework.operations.table
:members:
:undoc-members:
:show-inheritance:
.. automodule:: yt_framework.operations.checkpoint
:members:
:undoc-members:
:show-inheritance:
.. automodule:: yt_framework.operations.command_ops.sort
:members:
:undoc-members:
:show-inheritance:
.. automodule:: yt_framework.operations._internal.tokenizer_artifact
:members:
:undoc-members:
:show-inheritance:
:exclude-members: _tar_directory, _prepare_local_archive
.. automodule:: yt_framework.typed_jobs
:members:
:undoc-members:
:show-inheritance:
.. automodule:: yt_framework.utils.env
:members:
:undoc-members:
:show-inheritance:
.. automodule:: yt_framework.utils.logging
:members:
:undoc-members:
:show-inheritance:
.. automodule:: yt_framework.utils.ignore
:members:
:undoc-members:
:show-inheritance:
These modules support code upload, file dependencies, and environment wiring. Most pipelines rely on defaults; use the API when extending the framework.
.. automodule:: yt_framework.operations.upload
:members: upload_all_code, build_code_locally, create_code_archive, upload_code_archive
:show-inheritance:
.. automodule:: yt_framework.operations.dependencies
:members: build_stage_dependencies, build_ytjobs_dependencies, build_map_dependencies, build_vanilla_dependencies, add_checkpoint
:show-inheritance:
.. automodule:: yt_framework.operations.common
:members: build_environment, prepare_docker_auth, extract_operation_resources, collect_passthrough_kwargs, build_operation_environment, docker_auth_from_op_config, extract_max_failed_jobs
:show-inheritance:
.. automodule:: yt_framework.yt.factory
:members:
:undoc-members:
:show-inheritance:
.. automodule:: yt_framework.yt.clients.client_dev
:members:
:undoc-members:
:show-inheritance:
.. automodule:: yt_framework.yt.clients.client_prod
:members:
:undoc-members:
:show-inheritance: