GeomAITrainingDataParts#

A GeomAITrainingDataPart instance is a singular file that is part of a GeomAITrainingData instance.

Warning

It is strongly recommended to use GeomAITrainingData.create_file instead of interacting with parts directly.

Directory#

class GeomAITrainingDataPartDirectory#

Provides the collection of methods related to GeomAI training data parts.

This class is accessed through client.geomai.training_data_parts.

get(id: str) GeomAITrainingDataPart#

Get a GeomAITrainingDataPart object from the server.

Parameters:

id (str) – ID of the training data part.

Returns:

GeomAITrainingDataPart instance with the given ID if it exists.

Raises:

NotFoundError – No prediction with the given ID exists.

Return type:

GeomAITrainingDataPart

Model#

class GeomAITrainingDataPart#

Provides the local representation of a GeomAI training data part object.

reload() None#

Refresh the object with its representation from the server.

property fields: dict#

Dictionary containing the raw object representation.

property id: str#

ID of the object on the server.

property name: str#

Name of the file.

property size: int#

Size of the file in bytes.