ai_api_client_sdk.models.dataset_limits module¶
- class ai_api_client_sdk.models.dataset_limits.DatasetLimits(max_upload_file_size: int = 104857600, max_files_per_dataset: int = -1, **kwargs)¶
Bases:
objectThe DatasetLimits object represents the limits of the Dataset API
- Parameters:
max_upload_file_size (int, optional) – Max size (in bytes) of a single uploaded file, defaults to 104857600
max_files_per_dataset (int, optional) – Max number of files per dataset. <0 means unlimited, defaults to -1
**kwargs – The keyword arguments are there in case there are additional attributes returned from server
- __init__(max_upload_file_size: int = 104857600, max_files_per_dataset: int = -1, **kwargs)¶
- static from_dict(dataset_limits_dict: Dict[str, int])¶
Returns a
ai_api_client_sdk.models.dataset_limits.DatasetLimitsobject, created from the values in the dict provided as parameter- Parameters:
dataset_limits_dict (Dict[str, int]) – Dict which includes the necessary values to create the object
- Returns:
An object, created from the values provided
- Return type:
class:ai_api_client_sdk.models.dataset_limits.DatasetLimits