resource_identifier
Types that identify a ressource in the Geo Engine
MlModelName Objects
Section titled “MlModelName Objects”class MlModelName()A wrapper for an MlModel name
from_response
Section titled “from_response”@classmethoddef from_response( cls, response: geoengine_api_client.models.MlModelNameResponse) -> MlModelNameParse a http response to an DatasetName
__eq__
Section titled “__eq__”def __eq__(other) -> boolChecks if two dataset names are equal
DatasetName Objects
Section titled “DatasetName Objects”class DatasetName()A wrapper for a dataset name
from_response
Section titled “from_response”@classmethoddef from_response( cls, response: geoengine_api_client.DatasetNameResponse) -> DatasetNameParse a http response to an DatasetName
__eq__
Section titled “__eq__”def __eq__(other) -> boolChecks if two dataset names are equal
UploadId Objects
Section titled “UploadId Objects”class UploadId()A wrapper for an upload id
from_response
Section titled “from_response”@classmethoddef from_response(cls, response: geoengine_api_client.IdResponse) -> UploadIdParse a http response to an UploadId
__eq__
Section titled “__eq__”def __eq__(other) -> boolChecks if two upload ids are equal
to_api_dict
Section titled “to_api_dict”def to_api_dict() -> geoengine_api_client.IdResponseConverts the upload id to a dict for the api
Resource Objects
Section titled “Resource Objects”class Resource()A wrapper for a resource id
__init__
Section titled “__init__”def __init__(resource_type: Literal["dataset", "layer", "layerCollection", "mlModel", "project"], resource_id: str | UUID) -> NoneCreate a resource id
from_layer_id
Section titled “from_layer_id”@classmethoddef from_layer_id(cls, layer_id: LayerId) -> ResourceCreate a resource id from a layer id
from_layer_collection_id
Section titled “from_layer_collection_id”@classmethoddef from_layer_collection_id( cls, layer_collection_id: LayerCollectionId) -> ResourceCreate a resource id from a layer collection id
from_dataset_name
Section titled “from_dataset_name”@classmethoddef from_dataset_name(cls, dataset_name: DatasetName | str) -> ResourceCreate a resource id from a dataset name
from_ml_model_name
Section titled “from_ml_model_name”@classmethoddef from_ml_model_name(cls, ml_model_name: MlModelName | str) -> ResourceCreate a resource from an ml model name
to_api_dict
Section titled “to_api_dict”def to_api_dict() -> geoengine_api_client.ResourceConvert to a dict for the API
from_response
Section titled “from_response”@classmethoddef from_response(cls, response: geoengine_api_client.Resource) -> ResourceConvert to a dict for the API
__eq__
Section titled “__eq__”def __eq__(value)Checks if two listings are equal