snowflake.core.code_bundle_execution

Manages Snowflake code bundle executions.

Example

>>> code_bundle_execution: CodeBundleExecutionCollection = root.code_bundle_execution
>>> code_bundle_execution.execute(
...     ExecuteCodeBundleRequest(from_location="@mydb.myschema.mystage/src", entrypoint="main.py")
... )
>>> execution = code_bundle_execution["<execution_id>"]
>>> status = execution.fetch_status()

Refer to snowflake.core.Root to create the root.

Classes

CodeBundleExecution(*[, bundle_name, ...])

A model object representing the CodeBundleExecution resource.

CodeBundleExecutionResource(name, collection)

Represents a reference to a Snowflake code bundle execution.

CodeBundleExecutionCollection(root)

Represents the collection operations on the Snowflake code bundle execution resource.

BundleSpec(*, type, compute_type[, ...])

A model object representing the BundleSpec resource.

CodeBundleSpecification(*, bundle)

A model object representing the CodeBundleSpecification resource.

ExecuteCodeBundleRequest(*, from_location, ...)

A model object representing the ExecuteCodeBundleRequest resource.

StageMount(*, stage_url, mount_path[, ...])

A model object representing the StageMount resource.

SuccessAcceptedResponse(*[, code, message, ...])

A model object representing the SuccessAcceptedResponse resource.

SuccessResponse(*[, status])

A model object representing the SuccessResponse resource.