snowflake.core.image_repository.ImageRepository | Snowflake Documentation (original) (raw)

class snowflake.core.image_repository.ImageRepository(name: str, database_name: str | None = None, schema_name: str | None = None, created_on: datetime | None = None, repository_url: str | None = None, owner: str | None = None, owner_role_type: str | None = None)

Bases: object

A model object representing the ImageRepository resource.

Constructs an object of type ImageRepository with the provided properties.

Parameters:

Methods

classmethod from_dict(obj: dict) → ImageRepositoryModel

Creates an instance of ImageRepository from a dict.

This method constructs a ImageRepository object from a dictionary with the key-value pairs of its properties.

Parameters:

obj (dict) – A dictionary whose keys and values correspond to the properties of the resource object.

Returns:

A ImageRepository object created using the input dictionary; this will fail if the required properties are missing.

Return type:

ImageRepository

to_dict()

Creates a dictionary of the properties from a ImageRepository.

This method constructs a dictionary with the key-value entries corresponding to the properties of the ImageRepository object.

Returns:

A dictionary object created using the input model.

Return type:

dict