Skip to main content

bauplan.state


class ApplyPlanState

ApplyPlanState tracks information about what happened during the course of an "apply import plan" job that executes the plan to import a table from cloud storage to your Bauplan data catalog.

It represents the state of the job, including job ID, job status (failure/success), error description (if any), and a list of events describing each step of the job.

Parameters

job_idstr


class CommonRunState


class PlanImportState

PlanImportState tracks information about what happened during the course of an "plan import" job that plans a job to import a table from cloud storage to your Bauplan data catalog.

It represents the state of the job, including job ID, job status (failure/success), error description (if any), and a list of events describing each step of the job.

It also includes the output of the job: a string containing the YAML of the import plan.

Parameters

job_idstr


class ReRunExecutionContext


class ReRunState

ReRunState tracks information about what happened during the course of a Bauplan job rerun (executed DAG).

It represents the state of a run, including job ID, task lifecycle events, user logs, task start and stop times, failed nonfatal task descriptions, job status, and failed fatal task description.

Parameters

job_idstr

ctxReRunExecutionContext

started_at_nstyping.Optional[int]


class RunExecutionContext


class RunState

RunState tracks information about what happened during the course of a Bauplan job run (executed DAG).

It represents the state of a run, including job ID, task lifecycle events, user logs, task start and stop times, failed nonfatal task descriptions, project directory, job status, and failed fatal task description.

Parameters

job_idstr

ctxRunExecutionContext

started_at_nstyping.Optional[int]


class TableCreatePlanApplyContext


class TableCreatePlanApplyState

TableCreatePlanApplyState tracks information about what happened during the course of an "table create" job that plans a job to create an empty table based on your cloud storage to your Bauplan data catalog.

It represents the state of the job, including job ID, job status (failure/success), error description (if any), and a list of events describing each step of the job.

It also includes the output of the job: a string containing the YAML of the import plan.

Parameters

job_idstr

ctxTableCreatePlanApplyContext


class TableCreatePlanContext


class TableCreatePlanState

TableCreatePlanState tracks information about what happened during the course of an "table create" job that plans a job to create an empty table based on your cloud storage to your Bauplan data catalog.

It represents the state of the job, including job ID, job status (failure/success), error description (if any), and a list of events describing each step of the job.

It also includes the output of the job: a string containing the YAML of the import plan.

Parameters

job_idstr

ctxTableCreatePlanContext


class TableDataImportContext


class TableDataImportState

TableDataImportState tracks information about what happened during the course of an "table create" job that plans a job to create an empty table based on your cloud storage to your Bauplan data catalog.

It represents the state of the job, including job ID, job status (failure/success), error description (if any), and a list of events describing each step of the job.

It also includes the output of the job: a string containing the YAML of the import plan.

Parameters

job_idstr

ctxTableDataImportContext