Skip to main content
Version: Main branch

apply

superduper.base.apply

Source code

apply​

apply(db: 'Datalayer',
object: Union[ForwardRef('Component'),
Sequence[Any],
Any],
force: bool | None = None,
wait: bool = False,
jobs: bool = True,
do_apply: bool = True)
ParameterDescription
dbThe Datalayer instance to use.
objectThe component to apply.
forceWhether to force the application without confirmation.
waitWhether to wait for the component to be created.
jobsWhether to execute jobs after applying the component.
do_applyWhether to actually apply the component or just return the plan.

Apply a superduper.Component.

Plan​

Plan(self,
events: List[Union[superduper.base.event.Event,
ForwardRef('Job')]]) -> None
ParameterDescription
eventsA list of events to be executed.

A deployment plan that contains a list of events to be executed.

This class is used to represent the deployment plan that will be executed by the cluster scheduler.