snowflake.core.stage¶

Manages Snowflake Stages.

Example

>>> stages: StageCollection = root.databases["mydb"].schemas["myschema"].stages
>>> mystage = stages.create(Stage("mystage"))
>>> stage_iter = stages.iter(like="my%")
>>> mystage = stages["mystage"]
>>> an_existing_stage = stages["an_existing_stage"]
Copy

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

Classes

Stage(*, name[, kind, url, endpoint, ...])

A model object representing the Stage resource.

StageResource(name, collection)

Represents a reference to a Snowflake stage.

StageCollection(schema)

Represents the collection operations on the Snowflake Stage resource.

AwsCredentials(*[, aws_key_id, ...])

A model object representing the AwsCredentials resource.

AzureCredentials(*[, azure_sas_token])

A model object representing the AzureCredentials resource.

Credentials()

A model object representing the Credentials resource.

FileTransferMaterial(*[, presigned_url, ...])

A model object representing the FileTransferMaterial resource.

PresignedUrlRequest(*[, mode, expiration_time])

A model object representing the PresignedUrlRequest resource.

StageDirectoryTable(*[, enable, ...])

A model object representing the StageDirectoryTable resource.

StageEncryption(*[, type, master_key, ...])

A model object representing the StageEncryption resource.

StageFile(*[, name, size, md5, last_modified])

A model object representing the StageFile resource.