exportV3
imerit_ango.sdk.SDK.
exportV3(project_id, options, zip_file_path)
Export annotated assets together with labels and metadata. Users can customize the export process using an instance of the ExportOptions class and specify the output location.
Parameters
project_id: string
The unique identifier for the project. You can find the project ID in the user interface or retrieve it using the
list_projects
function.
options: ExportOptions, default ExportOptions()
An instance of the
ExportOptions
class, which defines the configurations for the export operation.ExportOptions class
stage: List[str], default ['Complete']
batches: List[str], default None
export_format: ExportFormats, default ExportFormats.JSON
Options:
ExportFormats.JSON
ExportFormats.NDJSON
Note: You must import the enum containing the export formats using
from imerit_ango.models.enums import ExportFormats
export_type: ExportTypes, default ExportTypes.TASK
Options:
ExportTypes.TASK
ExportTypes.ISSUE
Note: You must import the enum containing the export types using
from imerit_ango.models.enums import ExportTypes
include_key_frames_only: bool, default False
sendEmail: bool, default False
includeMetadata: bool, default True
includeHistory: bool, default True
doNotNotify: bool, default True
updated_at: TimeFilter, default None
created_at: TimeFilter, default None
TimeFilter class
from_date: datetime, default None
to_date: datetime, default None
Note: You must import the
datetime
package:from datetime import datetime
zip_file_path: string, optional, default None
If included, the export will be directly downloaded as a .zip file instead of being returned as a Python dictionary. This prevents our server from having to unzip and dict-ify the export, reducing loading times.
Example:
"/Users/lorenzo/Downloads/my_export.zip"
Returns:
output: dict
Example
Export all assets:
Export assets filtered by created and updated time:
See also
Last updated