snowflake.core.artifact_repository¶
Manages Snowflake artifact repository.
Example
>>> new_artifact_repository = ArtifactRepository(
... name="my_artifact_repo", type="PIP", api_integration="my_api_integration"
... )
>>> artifact_repositories = root.databases["MYDB"].schemas["MYSCHEMA"].artifact_repositories
>>> my_artifact_repo = artifact_repositories.create(new_artifact_repository)
>>> my_artifact_repo_snapshot = my_artifact_repo.fetch()
>>> ar_data = artifact_repositories.iter(like="%my")
>>> an_existing_repo = artifact_repositories["an_existing_repo"]
>>> an_existing_repo.drop()
Refer to snowflake.core.Root to create the root.
Classes
|
A model object representing the ArtifactRepository resource. |
|
Represents the collection operations on the Snowflake artifact repository resource. |
|
Represents a reference to a Snowflake artifact repository. |