diff --git a/lightly/openapi_generated/swagger_client/api/collaboration_api.py b/lightly/openapi_generated/swagger_client/api/collaboration_api.py index d12294c8f..b92fa698b 100644 --- a/lightly/openapi_generated/swagger_client/api/collaboration_api.py +++ b/lightly/openapi_generated/swagger_client/api/collaboration_api.py @@ -16,7 +16,6 @@ import re # noqa: F401 import io import warnings - try: # Pydantic >=v1.10.17 from pydantic.v1 import validate_arguments, ValidationError @@ -25,7 +24,12 @@ from pydantic import validate_arguments, ValidationError from typing_extensions import Annotated -from pydantic import Field, constr, validator +try: + # Pydantic >=v1.10.17 + from pydantic.v1 import Field, constr, validator +except ImportError: + # Pydantic v1 + from pydantic import Field, constr, validator from typing import List diff --git a/lightly/openapi_generated/swagger_client/api/datasets_api.py b/lightly/openapi_generated/swagger_client/api/datasets_api.py index 8c3a39b8b..d5f8a328a 100644 --- a/lightly/openapi_generated/swagger_client/api/datasets_api.py +++ b/lightly/openapi_generated/swagger_client/api/datasets_api.py @@ -16,7 +16,6 @@ import re # noqa: F401 import io import warnings - try: # Pydantic >=v1.10.17 from pydantic.v1 import validate_arguments, ValidationError @@ -25,7 +24,12 @@ from pydantic import validate_arguments, ValidationError from typing_extensions import Annotated -from pydantic import Field, StrictBool, StrictInt, StrictStr, conint, conlist, constr, validator +try: + # Pydantic >=v1.10.17 + from pydantic.v1 import Field, StrictBool, StrictInt, StrictStr, conint, conlist, constr, validator +except ImportError: + # Pydantic v1 + from pydantic import Field, StrictBool, StrictInt, StrictStr, conint, conlist, constr, validator from typing import List, Optional diff --git a/lightly/openapi_generated/swagger_client/api/datasources_api.py b/lightly/openapi_generated/swagger_client/api/datasources_api.py index de0ae11ff..2ed1e5394 100644 --- a/lightly/openapi_generated/swagger_client/api/datasources_api.py +++ b/lightly/openapi_generated/swagger_client/api/datasources_api.py @@ -16,7 +16,6 @@ import re # noqa: F401 import io import warnings - try: # Pydantic >=v1.10.17 from pydantic.v1 import validate_arguments, ValidationError @@ -25,7 +24,12 @@ from pydantic import validate_arguments, ValidationError from typing_extensions import Annotated -from pydantic import Field, StrictBool, StrictStr, conint, constr, validator +try: + # Pydantic >=v1.10.17 + from pydantic.v1 import Field, StrictBool, StrictStr, conint, constr, validator +except ImportError: + # Pydantic v1 + from pydantic import Field, StrictBool, StrictStr, conint, constr, validator from typing import List, Optional diff --git a/lightly/openapi_generated/swagger_client/api/docker_api.py b/lightly/openapi_generated/swagger_client/api/docker_api.py index cd5293edb..ae0d02597 100644 --- a/lightly/openapi_generated/swagger_client/api/docker_api.py +++ b/lightly/openapi_generated/swagger_client/api/docker_api.py @@ -16,7 +16,6 @@ import re # noqa: F401 import io import warnings - try: # Pydantic >=v1.10.17 from pydantic.v1 import validate_arguments, ValidationError @@ -25,7 +24,12 @@ from pydantic import validate_arguments, ValidationError from typing_extensions import Annotated -from pydantic import Field, StrictBool, StrictStr, conint, conlist, constr, validator +try: + # Pydantic >=v1.10.17 + from pydantic.v1 import Field, StrictBool, StrictStr, conint, conlist, constr, validator +except ImportError: + # Pydantic v1 + from pydantic import Field, StrictBool, StrictStr, conint, conlist, constr, validator from typing import List, Optional diff --git a/lightly/openapi_generated/swagger_client/api/embeddings2d_api.py b/lightly/openapi_generated/swagger_client/api/embeddings2d_api.py index f9558050a..e07ef6ccb 100644 --- a/lightly/openapi_generated/swagger_client/api/embeddings2d_api.py +++ b/lightly/openapi_generated/swagger_client/api/embeddings2d_api.py @@ -16,7 +16,6 @@ import re # noqa: F401 import io import warnings - try: # Pydantic >=v1.10.17 from pydantic.v1 import validate_arguments, ValidationError @@ -25,7 +24,12 @@ from pydantic import validate_arguments, ValidationError from typing_extensions import Annotated -from pydantic import Field, constr, validator +try: + # Pydantic >=v1.10.17 + from pydantic.v1 import Field, constr, validator +except ImportError: + # Pydantic v1 + from pydantic import Field, constr, validator from typing import List diff --git a/lightly/openapi_generated/swagger_client/api/embeddings_api.py b/lightly/openapi_generated/swagger_client/api/embeddings_api.py index 6aba46e63..755159bc3 100644 --- a/lightly/openapi_generated/swagger_client/api/embeddings_api.py +++ b/lightly/openapi_generated/swagger_client/api/embeddings_api.py @@ -16,7 +16,6 @@ import re # noqa: F401 import io import warnings - try: # Pydantic >=v1.10.17 from pydantic.v1 import validate_arguments, ValidationError @@ -25,7 +24,12 @@ from pydantic import validate_arguments, ValidationError from typing_extensions import Annotated -from pydantic import Field, StrictStr, constr, validator +try: + # Pydantic >=v1.10.17 + from pydantic.v1 import Field, StrictStr, constr, validator +except ImportError: + # Pydantic v1 + from pydantic import Field, StrictStr, constr, validator from typing import List, Optional diff --git a/lightly/openapi_generated/swagger_client/api/jobs_api.py b/lightly/openapi_generated/swagger_client/api/jobs_api.py index c9c95cf57..b3105a1f0 100644 --- a/lightly/openapi_generated/swagger_client/api/jobs_api.py +++ b/lightly/openapi_generated/swagger_client/api/jobs_api.py @@ -16,7 +16,6 @@ import re # noqa: F401 import io import warnings - try: # Pydantic >=v1.10.17 from pydantic.v1 import validate_arguments, ValidationError @@ -25,7 +24,12 @@ from pydantic import validate_arguments, ValidationError from typing_extensions import Annotated -from pydantic import Field, StrictStr +try: + # Pydantic >=v1.10.17 + from pydantic.v1 import Field, StrictStr +except ImportError: + # Pydantic v1 + from pydantic import Field, StrictStr from typing import List diff --git a/lightly/openapi_generated/swagger_client/api/mappings_api.py b/lightly/openapi_generated/swagger_client/api/mappings_api.py index 99d2851b1..64e0fa2d8 100644 --- a/lightly/openapi_generated/swagger_client/api/mappings_api.py +++ b/lightly/openapi_generated/swagger_client/api/mappings_api.py @@ -16,7 +16,6 @@ import re # noqa: F401 import io import warnings - try: # Pydantic >=v1.10.17 from pydantic.v1 import validate_arguments, ValidationError @@ -25,7 +24,12 @@ from pydantic import validate_arguments, ValidationError from typing_extensions import Annotated -from pydantic import Field, StrictStr, conint, constr, validator +try: + # Pydantic >=v1.10.17 + from pydantic.v1 import Field, StrictStr, conint, constr, validator +except ImportError: + # Pydantic v1 + from pydantic import Field, StrictStr, conint, constr, validator from typing import List, Optional diff --git a/lightly/openapi_generated/swagger_client/api/meta_data_configurations_api.py b/lightly/openapi_generated/swagger_client/api/meta_data_configurations_api.py index f95f311ab..34d4fa6ff 100644 --- a/lightly/openapi_generated/swagger_client/api/meta_data_configurations_api.py +++ b/lightly/openapi_generated/swagger_client/api/meta_data_configurations_api.py @@ -16,7 +16,6 @@ import re # noqa: F401 import io import warnings - try: # Pydantic >=v1.10.17 from pydantic.v1 import validate_arguments, ValidationError @@ -25,7 +24,12 @@ from pydantic import validate_arguments, ValidationError from typing_extensions import Annotated -from pydantic import Field, constr, validator +try: + # Pydantic >=v1.10.17 + from pydantic.v1 import Field, constr, validator +except ImportError: + # Pydantic v1 + from pydantic import Field, constr, validator from typing import List diff --git a/lightly/openapi_generated/swagger_client/api/predictions_api.py b/lightly/openapi_generated/swagger_client/api/predictions_api.py index d35c7b96f..abc7fa9da 100644 --- a/lightly/openapi_generated/swagger_client/api/predictions_api.py +++ b/lightly/openapi_generated/swagger_client/api/predictions_api.py @@ -16,7 +16,6 @@ import re # noqa: F401 import io import warnings - try: # Pydantic >=v1.10.17 from pydantic.v1 import validate_arguments, ValidationError @@ -25,7 +24,12 @@ from pydantic import validate_arguments, ValidationError from typing_extensions import Annotated -from pydantic import Field, StrictBool, conint, conlist, constr, validator +try: + # Pydantic >=v1.10.17 + from pydantic.v1 import Field, StrictBool, conint, conlist, constr, validator +except ImportError: + # Pydantic v1 + from pydantic import Field, StrictBool, conint, conlist, constr, validator from typing import List, Optional diff --git a/lightly/openapi_generated/swagger_client/api/quota_api.py b/lightly/openapi_generated/swagger_client/api/quota_api.py index 53b9cf902..56a066597 100644 --- a/lightly/openapi_generated/swagger_client/api/quota_api.py +++ b/lightly/openapi_generated/swagger_client/api/quota_api.py @@ -16,7 +16,6 @@ import re # noqa: F401 import io import warnings - try: # Pydantic >=v1.10.17 from pydantic.v1 import validate_arguments, ValidationError diff --git a/lightly/openapi_generated/swagger_client/api/samples_api.py b/lightly/openapi_generated/swagger_client/api/samples_api.py index 72b850faf..5e311ec20 100644 --- a/lightly/openapi_generated/swagger_client/api/samples_api.py +++ b/lightly/openapi_generated/swagger_client/api/samples_api.py @@ -16,7 +16,6 @@ import re # noqa: F401 import io import warnings - try: # Pydantic >=v1.10.17 from pydantic.v1 import validate_arguments, ValidationError @@ -25,7 +24,12 @@ from pydantic import validate_arguments, ValidationError from typing_extensions import Annotated -from pydantic import Field, StrictBool, StrictStr, conint, constr, validator +try: + # Pydantic >=v1.10.17 + from pydantic.v1 import Field, StrictBool, StrictStr, conint, constr, validator +except ImportError: + # Pydantic v1 + from pydantic import Field, StrictBool, StrictStr, conint, constr, validator from typing import List, Optional diff --git a/lightly/openapi_generated/swagger_client/api/samplings_api.py b/lightly/openapi_generated/swagger_client/api/samplings_api.py index 6fc3cbc3e..4a83eb567 100644 --- a/lightly/openapi_generated/swagger_client/api/samplings_api.py +++ b/lightly/openapi_generated/swagger_client/api/samplings_api.py @@ -16,7 +16,6 @@ import re # noqa: F401 import io import warnings - try: # Pydantic >=v1.10.17 from pydantic.v1 import validate_arguments, ValidationError @@ -25,7 +24,12 @@ from pydantic import validate_arguments, ValidationError from typing_extensions import Annotated -from pydantic import Field, constr, validator +try: + # Pydantic >=v1.10.17 + from pydantic.v1 import Field, constr, validator +except ImportError: + # Pydantic v1 + from pydantic import Field, constr, validator from lightly.openapi_generated.swagger_client.models.async_task_data import AsyncTaskData from lightly.openapi_generated.swagger_client.models.sampling_create_request import SamplingCreateRequest diff --git a/lightly/openapi_generated/swagger_client/api/scores_api.py b/lightly/openapi_generated/swagger_client/api/scores_api.py index 0f1097de0..14e51c214 100644 --- a/lightly/openapi_generated/swagger_client/api/scores_api.py +++ b/lightly/openapi_generated/swagger_client/api/scores_api.py @@ -16,7 +16,6 @@ import re # noqa: F401 import io import warnings - try: # Pydantic >=v1.10.17 from pydantic.v1 import validate_arguments, ValidationError @@ -25,7 +24,12 @@ from pydantic import validate_arguments, ValidationError from typing_extensions import Annotated -from pydantic import Field, conint, constr, validator +try: + # Pydantic >=v1.10.17 + from pydantic.v1 import Field, conint, constr, validator +except ImportError: + # Pydantic v1 + from pydantic import Field, conint, constr, validator from typing import List, Optional diff --git a/lightly/openapi_generated/swagger_client/api/tags_api.py b/lightly/openapi_generated/swagger_client/api/tags_api.py index 280173518..4289f951f 100644 --- a/lightly/openapi_generated/swagger_client/api/tags_api.py +++ b/lightly/openapi_generated/swagger_client/api/tags_api.py @@ -16,7 +16,6 @@ import re # noqa: F401 import io import warnings - try: # Pydantic >=v1.10.17 from pydantic.v1 import validate_arguments, ValidationError @@ -25,7 +24,12 @@ from pydantic import validate_arguments, ValidationError from typing_extensions import Annotated -from pydantic import Field, StrictBool, StrictInt, StrictStr, conint, constr, validator +try: + # Pydantic >=v1.10.17 + from pydantic.v1 import Field, StrictBool, StrictInt, StrictStr, conint, constr, validator +except ImportError: + # Pydantic v1 + from pydantic import Field, StrictBool, StrictInt, StrictStr, conint, constr, validator from typing import List, Optional, Union diff --git a/lightly/openapi_generated/swagger_client/api/teams_api.py b/lightly/openapi_generated/swagger_client/api/teams_api.py index d88a9d4a8..6302460e2 100644 --- a/lightly/openapi_generated/swagger_client/api/teams_api.py +++ b/lightly/openapi_generated/swagger_client/api/teams_api.py @@ -16,7 +16,6 @@ import re # noqa: F401 import io import warnings - try: # Pydantic >=v1.10.17 from pydantic.v1 import validate_arguments, ValidationError @@ -25,7 +24,12 @@ from pydantic import validate_arguments, ValidationError from typing_extensions import Annotated -from pydantic import Field, StrictStr, constr, validator +try: + # Pydantic >=v1.10.17 + from pydantic.v1 import Field, StrictStr, constr, validator +except ImportError: + # Pydantic v1 + from pydantic import Field, StrictStr, constr, validator from typing import List diff --git a/lightly/openapi_generated/swagger_client/api/versioning_api.py b/lightly/openapi_generated/swagger_client/api/versioning_api.py index 5f3cca281..24555c28b 100644 --- a/lightly/openapi_generated/swagger_client/api/versioning_api.py +++ b/lightly/openapi_generated/swagger_client/api/versioning_api.py @@ -16,7 +16,6 @@ import re # noqa: F401 import io import warnings - try: # Pydantic >=v1.10.17 from pydantic.v1 import validate_arguments, ValidationError @@ -25,7 +24,12 @@ from pydantic import validate_arguments, ValidationError from typing_extensions import Annotated -from pydantic import StrictStr +try: + # Pydantic >=v1.10.17 + from pydantic.v1 import StrictStr +except ImportError: + # Pydantic v1 + from pydantic import StrictStr from typing import Optional diff --git a/lightly/openapi_generated/swagger_client/models/active_learning_score_create_request.py b/lightly/openapi_generated/swagger_client/models/active_learning_score_create_request.py index ea29e5c88..bab852836 100644 --- a/lightly/openapi_generated/swagger_client/models/active_learning_score_create_request.py +++ b/lightly/openapi_generated/swagger_client/models/active_learning_score_create_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictFloat, StrictInt, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictFloat, StrictInt, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. class ActiveLearningScoreCreateRequest(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/active_learning_score_data.py b/lightly/openapi_generated/swagger_client/models/active_learning_score_data.py index 229fd8284..0b3a50715 100644 --- a/lightly/openapi_generated/swagger_client/models/active_learning_score_data.py +++ b/lightly/openapi_generated/swagger_client/models/active_learning_score_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictFloat, StrictInt, conint, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictFloat, StrictInt, conint, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. class ActiveLearningScoreData(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/active_learning_score_types_v2_data.py b/lightly/openapi_generated/swagger_client/models/active_learning_score_types_v2_data.py index 66f8703dc..2cbf46bb4 100644 --- a/lightly/openapi_generated/swagger_client/models/active_learning_score_types_v2_data.py +++ b/lightly/openapi_generated/swagger_client/models/active_learning_score_types_v2_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, conint, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, conint, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. class ActiveLearningScoreTypesV2Data(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/active_learning_score_v2_data.py b/lightly/openapi_generated/swagger_client/models/active_learning_score_v2_data.py index 2b159d049..01f23b9f6 100644 --- a/lightly/openapi_generated/swagger_client/models/active_learning_score_v2_data.py +++ b/lightly/openapi_generated/swagger_client/models/active_learning_score_v2_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictFloat, StrictInt, conint, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictFloat, StrictInt, conint, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. class ActiveLearningScoreV2Data(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/annotation_savings.py b/lightly/openapi_generated/swagger_client/models/annotation_savings.py index a46f38f0d..bcf4711ee 100644 --- a/lightly/openapi_generated/swagger_client/models/annotation_savings.py +++ b/lightly/openapi_generated/swagger_client/models/annotation_savings.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.task_annotation_savings import TaskAnnotationSavings class AnnotationSavings(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/api_error_code.py b/lightly/openapi_generated/swagger_client/models/api_error_code.py index fe8a0e719..6e2b5dd56 100644 --- a/lightly/openapi_generated/swagger_client/models/api_error_code.py +++ b/lightly/openapi_generated/swagger_client/models/api_error_code.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class ApiErrorCode(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/api_error_response.py b/lightly/openapi_generated/swagger_client/models/api_error_response.py index 5ec1020a8..062397691 100644 --- a/lightly/openapi_generated/swagger_client/models/api_error_response.py +++ b/lightly/openapi_generated/swagger_client/models/api_error_response.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.api_error_code import ApiErrorCode class ApiErrorResponse(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/async_task_data.py b/lightly/openapi_generated/swagger_client/models/async_task_data.py index efc0fd945..c403dfd8e 100644 --- a/lightly/openapi_generated/swagger_client/models/async_task_data.py +++ b/lightly/openapi_generated/swagger_client/models/async_task_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. class AsyncTaskData(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/auth0_on_sign_up_request.py b/lightly/openapi_generated/swagger_client/models/auth0_on_sign_up_request.py index aba653078..b6d7e83b2 100644 --- a/lightly/openapi_generated/swagger_client/models/auth0_on_sign_up_request.py +++ b/lightly/openapi_generated/swagger_client/models/auth0_on_sign_up_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.auth0_on_sign_up_request_user import Auth0OnSignUpRequestUser class Auth0OnSignUpRequest(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/auth0_on_sign_up_request_user.py b/lightly/openapi_generated/swagger_client/models/auth0_on_sign_up_request_user.py index 0ed148482..0fb77084f 100644 --- a/lightly/openapi_generated/swagger_client/models/auth0_on_sign_up_request_user.py +++ b/lightly/openapi_generated/swagger_client/models/auth0_on_sign_up_request_user.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. class Auth0OnSignUpRequestUser(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/categorical_distribution.py b/lightly/openapi_generated/swagger_client/models/categorical_distribution.py index 68049dbcc..68987a28d 100644 --- a/lightly/openapi_generated/swagger_client/models/categorical_distribution.py +++ b/lightly/openapi_generated/swagger_client/models/categorical_distribution.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictInt - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictInt - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.categorical_distribution_metrics import CategoricalDistributionMetrics class CategoricalDistribution(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/categorical_distribution_metrics.py b/lightly/openapi_generated/swagger_client/models/categorical_distribution_metrics.py index fa79ff0a5..7dbba817d 100644 --- a/lightly/openapi_generated/swagger_client/models/categorical_distribution_metrics.py +++ b/lightly/openapi_generated/swagger_client/models/categorical_distribution_metrics.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictFloat, StrictInt - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictFloat, StrictInt - pass # Add pass to avoid empty try/except if no imports are generated for this file. class CategoricalDistributionMetrics(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/categorical_distribution_per_set.py b/lightly/openapi_generated/swagger_client/models/categorical_distribution_per_set.py index 3b9b1c4bd..de2e622b2 100644 --- a/lightly/openapi_generated/swagger_client/models/categorical_distribution_per_set.py +++ b/lightly/openapi_generated/swagger_client/models/categorical_distribution_per_set.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.categorical_distribution import CategoricalDistribution class CategoricalDistributionPerSet(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/configuration_data.py b/lightly/openapi_generated/swagger_client/models/configuration_data.py index 1882bbb0d..39861c9da 100644 --- a/lightly/openapi_generated/swagger_client/models/configuration_data.py +++ b/lightly/openapi_generated/swagger_client/models/configuration_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, conint, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, conint, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.configuration_entry import ConfigurationEntry class ConfigurationData(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/configuration_entry.py b/lightly/openapi_generated/swagger_client/models/configuration_entry.py index 8e41d8f26..bd79f573a 100644 --- a/lightly/openapi_generated/swagger_client/models/configuration_entry.py +++ b/lightly/openapi_generated/swagger_client/models/configuration_entry.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, constr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, constr - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.configuration_value_data_type import ConfigurationValueDataType class ConfigurationEntry(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/configuration_set_request.py b/lightly/openapi_generated/swagger_client/models/configuration_set_request.py index 6d596f15c..74dd24d41 100644 --- a/lightly/openapi_generated/swagger_client/models/configuration_set_request.py +++ b/lightly/openapi_generated/swagger_client/models/configuration_set_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.configuration_entry import ConfigurationEntry class ConfigurationSetRequest(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/configuration_value_data_type.py b/lightly/openapi_generated/swagger_client/models/configuration_value_data_type.py index 628c4a7fb..8f7b4a991 100644 --- a/lightly/openapi_generated/swagger_client/models/configuration_value_data_type.py +++ b/lightly/openapi_generated/swagger_client/models/configuration_value_data_type.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class ConfigurationValueDataType(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/create_cf_bucket_activity_request.py b/lightly/openapi_generated/swagger_client/models/create_cf_bucket_activity_request.py index b50d10307..fb8cd27c7 100644 --- a/lightly/openapi_generated/swagger_client/models/create_cf_bucket_activity_request.py +++ b/lightly/openapi_generated/swagger_client/models/create_cf_bucket_activity_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. class CreateCFBucketActivityRequest(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/create_docker_worker_registry_entry_request.py b/lightly/openapi_generated/swagger_client/models/create_docker_worker_registry_entry_request.py index e0015cdc8..5aaa170cb 100644 --- a/lightly/openapi_generated/swagger_client/models/create_docker_worker_registry_entry_request.py +++ b/lightly/openapi_generated/swagger_client/models/create_docker_worker_registry_entry_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.creator import Creator from lightly.openapi_generated.swagger_client.models.docker_worker_type import DockerWorkerType diff --git a/lightly/openapi_generated/swagger_client/models/create_entity_response.py b/lightly/openapi_generated/swagger_client/models/create_entity_response.py index 7bfe88e55..2101982ce 100644 --- a/lightly/openapi_generated/swagger_client/models/create_entity_response.py +++ b/lightly/openapi_generated/swagger_client/models/create_entity_response.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. class CreateEntityResponse(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/create_sample_with_write_urls_response.py b/lightly/openapi_generated/swagger_client/models/create_sample_with_write_urls_response.py index a9ae2b79e..1f5410079 100644 --- a/lightly/openapi_generated/swagger_client/models/create_sample_with_write_urls_response.py +++ b/lightly/openapi_generated/swagger_client/models/create_sample_with_write_urls_response.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.sample_write_urls import SampleWriteUrls class CreateSampleWithWriteUrlsResponse(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/create_team_membership_request.py b/lightly/openapi_generated/swagger_client/models/create_team_membership_request.py index bb51cd5b3..4b275a33a 100644 --- a/lightly/openapi_generated/swagger_client/models/create_team_membership_request.py +++ b/lightly/openapi_generated/swagger_client/models/create_team_membership_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.team_role import TeamRole class CreateTeamMembershipRequest(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/creator.py b/lightly/openapi_generated/swagger_client/models/creator.py index 9291b9eb0..a4177303c 100644 --- a/lightly/openapi_generated/swagger_client/models/creator.py +++ b/lightly/openapi_generated/swagger_client/models/creator.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class Creator(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/crop_data.py b/lightly/openapi_generated/swagger_client/models/crop_data.py index d68fbc591..fd31506d6 100644 --- a/lightly/openapi_generated/swagger_client/models/crop_data.py +++ b/lightly/openapi_generated/swagger_client/models/crop_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, confloat, conint, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, confloat, conint, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. class CropData(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/dataset_analysis.py b/lightly/openapi_generated/swagger_client/models/dataset_analysis.py index 82c4c1beb..098ea43f4 100644 --- a/lightly/openapi_generated/swagger_client/models/dataset_analysis.py +++ b/lightly/openapi_generated/swagger_client/models/dataset_analysis.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.embedding_information import EmbeddingInformation from lightly.openapi_generated.swagger_client.models.metadata_information import MetadataInformation diff --git a/lightly/openapi_generated/swagger_client/models/dataset_create_request.py b/lightly/openapi_generated/swagger_client/models/dataset_create_request.py index 36475f247..2b1642e3c 100644 --- a/lightly/openapi_generated/swagger_client/models/dataset_create_request.py +++ b/lightly/openapi_generated/swagger_client/models/dataset_create_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.dataset_creator import DatasetCreator from lightly.openapi_generated.swagger_client.models.dataset_type import DatasetType from lightly.openapi_generated.swagger_client.models.image_type import ImageType diff --git a/lightly/openapi_generated/swagger_client/models/dataset_creator.py b/lightly/openapi_generated/swagger_client/models/dataset_creator.py index a5c041ad8..396c9f8e4 100644 --- a/lightly/openapi_generated/swagger_client/models/dataset_creator.py +++ b/lightly/openapi_generated/swagger_client/models/dataset_creator.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class DatasetCreator(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/dataset_data.py b/lightly/openapi_generated/swagger_client/models/dataset_data.py index b01e56f59..eb2feaf8a 100644 --- a/lightly/openapi_generated/swagger_client/models/dataset_data.py +++ b/lightly/openapi_generated/swagger_client/models/dataset_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictInt, StrictStr, conint, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictInt, StrictStr, conint, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.dataset_type import DatasetType from lightly.openapi_generated.swagger_client.models.image_type import ImageType from lightly.openapi_generated.swagger_client.models.shared_access_type import SharedAccessType diff --git a/lightly/openapi_generated/swagger_client/models/dataset_data_enriched.py b/lightly/openapi_generated/swagger_client/models/dataset_data_enriched.py index 5c834153b..de7deb617 100644 --- a/lightly/openapi_generated/swagger_client/models/dataset_data_enriched.py +++ b/lightly/openapi_generated/swagger_client/models/dataset_data_enriched.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictInt, StrictStr, conint, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictInt, StrictStr, conint, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.dataset_type import DatasetType from lightly.openapi_generated.swagger_client.models.image_type import ImageType from lightly.openapi_generated.swagger_client.models.shared_access_type import SharedAccessType diff --git a/lightly/openapi_generated/swagger_client/models/dataset_embedding_data.py b/lightly/openapi_generated/swagger_client/models/dataset_embedding_data.py index b82911b94..a9b8a8935 100644 --- a/lightly/openapi_generated/swagger_client/models/dataset_embedding_data.py +++ b/lightly/openapi_generated/swagger_client/models/dataset_embedding_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictBool, StrictStr, conint, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictBool, StrictStr, conint, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. class DatasetEmbeddingData(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/dataset_information.py b/lightly/openapi_generated/swagger_client/models/dataset_information.py index 16085bc95..6a765b230 100644 --- a/lightly/openapi_generated/swagger_client/models/dataset_information.py +++ b/lightly/openapi_generated/swagger_client/models/dataset_information.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.dataset_sizes import DatasetSizes class DatasetInformation(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/dataset_sizes.py b/lightly/openapi_generated/swagger_client/models/dataset_sizes.py index 55358b973..4f3ece512 100644 --- a/lightly/openapi_generated/swagger_client/models/dataset_sizes.py +++ b/lightly/openapi_generated/swagger_client/models/dataset_sizes.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictInt - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictInt - pass # Add pass to avoid empty try/except if no imports are generated for this file. class DatasetSizes(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/dataset_type.py b/lightly/openapi_generated/swagger_client/models/dataset_type.py index 65a1f09fa..0d4db4d18 100644 --- a/lightly/openapi_generated/swagger_client/models/dataset_type.py +++ b/lightly/openapi_generated/swagger_client/models/dataset_type.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class DatasetType(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/dataset_update_request.py b/lightly/openapi_generated/swagger_client/models/dataset_update_request.py index 0a6c43661..14c86381a 100644 --- a/lightly/openapi_generated/swagger_client/models/dataset_update_request.py +++ b/lightly/openapi_generated/swagger_client/models/dataset_update_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. class DatasetUpdateRequest(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/datasource_config.py b/lightly/openapi_generated/swagger_client/models/datasource_config.py index 11fad25be..0d529f781 100644 --- a/lightly/openapi_generated/swagger_client/models/datasource_config.py +++ b/lightly/openapi_generated/swagger_client/models/datasource_config.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, ValidationError, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, ValidationError, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.datasource_config_azure import DatasourceConfigAzure from lightly.openapi_generated.swagger_client.models.datasource_config_gcs import DatasourceConfigGCS from lightly.openapi_generated.swagger_client.models.datasource_config_lightly import DatasourceConfigLIGHTLY @@ -35,7 +33,6 @@ from lightly.openapi_generated.swagger_client.models.datasource_config_obs import DatasourceConfigOBS from lightly.openapi_generated.swagger_client.models.datasource_config_s3 import DatasourceConfigS3 from lightly.openapi_generated.swagger_client.models.datasource_config_s3_delegated_access import DatasourceConfigS3DelegatedAccess -from typing import Any, List try: # Pydantic >=v1.10.17 from pydantic.v1 import StrictStr, Field diff --git a/lightly/openapi_generated/swagger_client/models/datasource_config_azure.py b/lightly/openapi_generated/swagger_client/models/datasource_config_azure.py index 6445bc527..5a49b9300 100644 --- a/lightly/openapi_generated/swagger_client/models/datasource_config_azure.py +++ b/lightly/openapi_generated/swagger_client/models/datasource_config_azure.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, constr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, constr - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.datasource_config_base import DatasourceConfigBase class DatasourceConfigAzure(DatasourceConfigBase): diff --git a/lightly/openapi_generated/swagger_client/models/datasource_config_azure_all_of.py b/lightly/openapi_generated/swagger_client/models/datasource_config_azure_all_of.py index 807889fb3..578c17620 100644 --- a/lightly/openapi_generated/swagger_client/models/datasource_config_azure_all_of.py +++ b/lightly/openapi_generated/swagger_client/models/datasource_config_azure_all_of.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, constr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, constr - pass # Add pass to avoid empty try/except if no imports are generated for this file. class DatasourceConfigAzureAllOf(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/datasource_config_base.py b/lightly/openapi_generated/swagger_client/models/datasource_config_base.py index 8772f67a1..6ee74a21d 100644 --- a/lightly/openapi_generated/swagger_client/models/datasource_config_base.py +++ b/lightly/openapi_generated/swagger_client/models/datasource_config_base.py @@ -24,11 +24,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.datasource_purpose import DatasourcePurpose class DatasourceConfigBase(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/datasource_config_base_full_path.py b/lightly/openapi_generated/swagger_client/models/datasource_config_base_full_path.py index 9bf6d2cbe..35d9b8fdb 100644 --- a/lightly/openapi_generated/swagger_client/models/datasource_config_base_full_path.py +++ b/lightly/openapi_generated/swagger_client/models/datasource_config_base_full_path.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. class DatasourceConfigBaseFullPath(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/datasource_config_gcs.py b/lightly/openapi_generated/swagger_client/models/datasource_config_gcs.py index 1acaf93dd..8d7b96f25 100644 --- a/lightly/openapi_generated/swagger_client/models/datasource_config_gcs.py +++ b/lightly/openapi_generated/swagger_client/models/datasource_config_gcs.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, constr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, constr - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.datasource_config_base import DatasourceConfigBase class DatasourceConfigGCS(DatasourceConfigBase): diff --git a/lightly/openapi_generated/swagger_client/models/datasource_config_gcs_all_of.py b/lightly/openapi_generated/swagger_client/models/datasource_config_gcs_all_of.py index 212413393..da94b80a0 100644 --- a/lightly/openapi_generated/swagger_client/models/datasource_config_gcs_all_of.py +++ b/lightly/openapi_generated/swagger_client/models/datasource_config_gcs_all_of.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, constr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, constr - pass # Add pass to avoid empty try/except if no imports are generated for this file. class DatasourceConfigGCSAllOf(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/datasource_config_lightly.py b/lightly/openapi_generated/swagger_client/models/datasource_config_lightly.py index 1d1790b7d..930c1aa7e 100644 --- a/lightly/openapi_generated/swagger_client/models/datasource_config_lightly.py +++ b/lightly/openapi_generated/swagger_client/models/datasource_config_lightly.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.datasource_config_base import DatasourceConfigBase class DatasourceConfigLIGHTLY(DatasourceConfigBase): diff --git a/lightly/openapi_generated/swagger_client/models/datasource_config_local.py b/lightly/openapi_generated/swagger_client/models/datasource_config_local.py index f36485f5a..beff2c0f3 100644 --- a/lightly/openapi_generated/swagger_client/models/datasource_config_local.py +++ b/lightly/openapi_generated/swagger_client/models/datasource_config_local.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.datasource_config_base import DatasourceConfigBase class DatasourceConfigLOCAL(DatasourceConfigBase): diff --git a/lightly/openapi_generated/swagger_client/models/datasource_config_local_all_of.py b/lightly/openapi_generated/swagger_client/models/datasource_config_local_all_of.py index 4dbf68f85..1b432b7ae 100644 --- a/lightly/openapi_generated/swagger_client/models/datasource_config_local_all_of.py +++ b/lightly/openapi_generated/swagger_client/models/datasource_config_local_all_of.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. class DatasourceConfigLOCALAllOf(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/datasource_config_obs.py b/lightly/openapi_generated/swagger_client/models/datasource_config_obs.py index 0261ebece..c42175ae7 100644 --- a/lightly/openapi_generated/swagger_client/models/datasource_config_obs.py +++ b/lightly/openapi_generated/swagger_client/models/datasource_config_obs.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.datasource_config_base import DatasourceConfigBase class DatasourceConfigOBS(DatasourceConfigBase): diff --git a/lightly/openapi_generated/swagger_client/models/datasource_config_obs_all_of.py b/lightly/openapi_generated/swagger_client/models/datasource_config_obs_all_of.py index 7f9655668..d2bbe4e81 100644 --- a/lightly/openapi_generated/swagger_client/models/datasource_config_obs_all_of.py +++ b/lightly/openapi_generated/swagger_client/models/datasource_config_obs_all_of.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. class DatasourceConfigOBSAllOf(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/datasource_config_s3.py b/lightly/openapi_generated/swagger_client/models/datasource_config_s3.py index f4426d5f6..8c0b9957e 100644 --- a/lightly/openapi_generated/swagger_client/models/datasource_config_s3.py +++ b/lightly/openapi_generated/swagger_client/models/datasource_config_s3.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.datasource_config_base import DatasourceConfigBase from lightly.openapi_generated.swagger_client.models.s3_region import S3Region diff --git a/lightly/openapi_generated/swagger_client/models/datasource_config_s3_all_of.py b/lightly/openapi_generated/swagger_client/models/datasource_config_s3_all_of.py index 6ec2f4671..35ee2acca 100644 --- a/lightly/openapi_generated/swagger_client/models/datasource_config_s3_all_of.py +++ b/lightly/openapi_generated/swagger_client/models/datasource_config_s3_all_of.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.s3_region import S3Region class DatasourceConfigS3AllOf(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/datasource_config_s3_delegated_access.py b/lightly/openapi_generated/swagger_client/models/datasource_config_s3_delegated_access.py index 66b794d29..76b510a69 100644 --- a/lightly/openapi_generated/swagger_client/models/datasource_config_s3_delegated_access.py +++ b/lightly/openapi_generated/swagger_client/models/datasource_config_s3_delegated_access.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.datasource_config_base import DatasourceConfigBase from lightly.openapi_generated.swagger_client.models.s3_region import S3Region diff --git a/lightly/openapi_generated/swagger_client/models/datasource_config_s3_delegated_access_all_of.py b/lightly/openapi_generated/swagger_client/models/datasource_config_s3_delegated_access_all_of.py index bbc9e7b68..78c398c39 100644 --- a/lightly/openapi_generated/swagger_client/models/datasource_config_s3_delegated_access_all_of.py +++ b/lightly/openapi_generated/swagger_client/models/datasource_config_s3_delegated_access_all_of.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.s3_region import S3Region class DatasourceConfigS3DelegatedAccessAllOf(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/datasource_config_verify_data.py b/lightly/openapi_generated/swagger_client/models/datasource_config_verify_data.py index d8b60c4cd..89be6c36c 100644 --- a/lightly/openapi_generated/swagger_client/models/datasource_config_verify_data.py +++ b/lightly/openapi_generated/swagger_client/models/datasource_config_verify_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictBool - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictBool - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.datasource_config_verify_data_errors import DatasourceConfigVerifyDataErrors class DatasourceConfigVerifyData(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/datasource_config_verify_data_errors.py b/lightly/openapi_generated/swagger_client/models/datasource_config_verify_data_errors.py index f73a83191..15074b80c 100644 --- a/lightly/openapi_generated/swagger_client/models/datasource_config_verify_data_errors.py +++ b/lightly/openapi_generated/swagger_client/models/datasource_config_verify_data_errors.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. class DatasourceConfigVerifyDataErrors(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/datasource_processed_until_timestamp_request.py b/lightly/openapi_generated/swagger_client/models/datasource_processed_until_timestamp_request.py index 75c29264a..7b68b0e79 100644 --- a/lightly/openapi_generated/swagger_client/models/datasource_processed_until_timestamp_request.py +++ b/lightly/openapi_generated/swagger_client/models/datasource_processed_until_timestamp_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. class DatasourceProcessedUntilTimestampRequest(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/datasource_processed_until_timestamp_response.py b/lightly/openapi_generated/swagger_client/models/datasource_processed_until_timestamp_response.py index 6d43a2da1..07b4f2987 100644 --- a/lightly/openapi_generated/swagger_client/models/datasource_processed_until_timestamp_response.py +++ b/lightly/openapi_generated/swagger_client/models/datasource_processed_until_timestamp_response.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. class DatasourceProcessedUntilTimestampResponse(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/datasource_purpose.py b/lightly/openapi_generated/swagger_client/models/datasource_purpose.py index 7bebd0d2c..3b609a096 100644 --- a/lightly/openapi_generated/swagger_client/models/datasource_purpose.py +++ b/lightly/openapi_generated/swagger_client/models/datasource_purpose.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class DatasourcePurpose(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/datasource_raw_samples_data.py b/lightly/openapi_generated/swagger_client/models/datasource_raw_samples_data.py index 9d8ab0346..1d2530f3c 100644 --- a/lightly/openapi_generated/swagger_client/models/datasource_raw_samples_data.py +++ b/lightly/openapi_generated/swagger_client/models/datasource_raw_samples_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictBool, StrictStr, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.datasource_raw_samples_data_row import DatasourceRawSamplesDataRow class DatasourceRawSamplesData(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/datasource_raw_samples_data_row.py b/lightly/openapi_generated/swagger_client/models/datasource_raw_samples_data_row.py index c90412a37..aaae2fde3 100644 --- a/lightly/openapi_generated/swagger_client/models/datasource_raw_samples_data_row.py +++ b/lightly/openapi_generated/swagger_client/models/datasource_raw_samples_data_row.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. class DatasourceRawSamplesDataRow(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/datasource_raw_samples_metadata_data.py b/lightly/openapi_generated/swagger_client/models/datasource_raw_samples_metadata_data.py index a3ce1c914..fdb41a77b 100644 --- a/lightly/openapi_generated/swagger_client/models/datasource_raw_samples_metadata_data.py +++ b/lightly/openapi_generated/swagger_client/models/datasource_raw_samples_metadata_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictBool, StrictStr, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.datasource_raw_samples_metadata_data_row import DatasourceRawSamplesMetadataDataRow class DatasourceRawSamplesMetadataData(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/datasource_raw_samples_metadata_data_row.py b/lightly/openapi_generated/swagger_client/models/datasource_raw_samples_metadata_data_row.py index 94ebf18bd..2a45856ae 100644 --- a/lightly/openapi_generated/swagger_client/models/datasource_raw_samples_metadata_data_row.py +++ b/lightly/openapi_generated/swagger_client/models/datasource_raw_samples_metadata_data_row.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. class DatasourceRawSamplesMetadataDataRow(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/datasource_raw_samples_predictions_data.py b/lightly/openapi_generated/swagger_client/models/datasource_raw_samples_predictions_data.py index 577fd6b5e..7d5d18045 100644 --- a/lightly/openapi_generated/swagger_client/models/datasource_raw_samples_predictions_data.py +++ b/lightly/openapi_generated/swagger_client/models/datasource_raw_samples_predictions_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictBool, StrictStr, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.datasource_raw_samples_predictions_data_row import DatasourceRawSamplesPredictionsDataRow class DatasourceRawSamplesPredictionsData(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/datasource_raw_samples_predictions_data_row.py b/lightly/openapi_generated/swagger_client/models/datasource_raw_samples_predictions_data_row.py index 7c67f3ea1..4b0e007cf 100644 --- a/lightly/openapi_generated/swagger_client/models/datasource_raw_samples_predictions_data_row.py +++ b/lightly/openapi_generated/swagger_client/models/datasource_raw_samples_predictions_data_row.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. class DatasourceRawSamplesPredictionsDataRow(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/delegated_access_external_ids_inner.py b/lightly/openapi_generated/swagger_client/models/delegated_access_external_ids_inner.py index f560cd1f9..9b60433b1 100644 --- a/lightly/openapi_generated/swagger_client/models/delegated_access_external_ids_inner.py +++ b/lightly/openapi_generated/swagger_client/models/delegated_access_external_ids_inner.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. class DelegatedAccessExternalIdsInner(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/detection_frame_prediction.py b/lightly/openapi_generated/swagger_client/models/detection_frame_prediction.py index 27ff28a6e..e4c202a52 100644 --- a/lightly/openapi_generated/swagger_client/models/detection_frame_prediction.py +++ b/lightly/openapi_generated/swagger_client/models/detection_frame_prediction.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, StrictStr, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, StrictStr, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.object_detection_prediction import ObjectDetectionPrediction class DetectionFramePrediction(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/detection_task_information.py b/lightly/openapi_generated/swagger_client/models/detection_task_information.py index 9cd1769a6..d90feb1b8 100644 --- a/lightly/openapi_generated/swagger_client/models/detection_task_information.py +++ b/lightly/openapi_generated/swagger_client/models/detection_task_information.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.detection_frame_prediction import DetectionFramePrediction from lightly.openapi_generated.swagger_client.models.embedding_information import EmbeddingInformation diff --git a/lightly/openapi_generated/swagger_client/models/dimensionality_reduction_method.py b/lightly/openapi_generated/swagger_client/models/dimensionality_reduction_method.py index 95e79e177..64947045f 100644 --- a/lightly/openapi_generated/swagger_client/models/dimensionality_reduction_method.py +++ b/lightly/openapi_generated/swagger_client/models/dimensionality_reduction_method.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class DimensionalityReductionMethod(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/docker_authorization_request.py b/lightly/openapi_generated/swagger_client/models/docker_authorization_request.py index 45890e324..9c759c86a 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_authorization_request.py +++ b/lightly/openapi_generated/swagger_client/models/docker_authorization_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_task_description import DockerTaskDescription class DockerAuthorizationRequest(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/docker_authorization_response.py b/lightly/openapi_generated/swagger_client/models/docker_authorization_response.py index 66b32ec2c..7e021e78b 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_authorization_response.py +++ b/lightly/openapi_generated/swagger_client/models/docker_authorization_response.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. class DockerAuthorizationResponse(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/docker_license_information.py b/lightly/openapi_generated/swagger_client/models/docker_license_information.py index e053529e0..2197cb34a 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_license_information.py +++ b/lightly/openapi_generated/swagger_client/models/docker_license_information.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictBool, StrictStr, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictBool, StrictStr, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. class DockerLicenseInformation(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/docker_run_artifact_create_request.py b/lightly/openapi_generated/swagger_client/models/docker_run_artifact_create_request.py index 7613a165c..6b59cc991 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_run_artifact_create_request.py +++ b/lightly/openapi_generated/swagger_client/models/docker_run_artifact_create_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_run_artifact_storage_location import DockerRunArtifactStorageLocation from lightly.openapi_generated.swagger_client.models.docker_run_artifact_type import DockerRunArtifactType diff --git a/lightly/openapi_generated/swagger_client/models/docker_run_artifact_created_data.py b/lightly/openapi_generated/swagger_client/models/docker_run_artifact_created_data.py index 18e6c363a..b20a4f9df 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_run_artifact_created_data.py +++ b/lightly/openapi_generated/swagger_client/models/docker_run_artifact_created_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. class DockerRunArtifactCreatedData(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/docker_run_artifact_data.py b/lightly/openapi_generated/swagger_client/models/docker_run_artifact_data.py index b0265de39..3d0b8fc1b 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_run_artifact_data.py +++ b/lightly/openapi_generated/swagger_client/models/docker_run_artifact_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, conint, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, conint, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_run_artifact_storage_location import DockerRunArtifactStorageLocation from lightly.openapi_generated.swagger_client.models.docker_run_artifact_type import DockerRunArtifactType diff --git a/lightly/openapi_generated/swagger_client/models/docker_run_artifact_storage_location.py b/lightly/openapi_generated/swagger_client/models/docker_run_artifact_storage_location.py index 032d52679..02c2f7cb9 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_run_artifact_storage_location.py +++ b/lightly/openapi_generated/swagger_client/models/docker_run_artifact_storage_location.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class DockerRunArtifactStorageLocation(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/docker_run_artifact_type.py b/lightly/openapi_generated/swagger_client/models/docker_run_artifact_type.py index 0e8be6662..02d827c70 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_run_artifact_type.py +++ b/lightly/openapi_generated/swagger_client/models/docker_run_artifact_type.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class DockerRunArtifactType(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/docker_run_create_request.py b/lightly/openapi_generated/swagger_client/models/docker_run_create_request.py index 5e3c38673..7b9d59951 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_run_create_request.py +++ b/lightly/openapi_generated/swagger_client/models/docker_run_create_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.creator import Creator class DockerRunCreateRequest(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/docker_run_data.py b/lightly/openapi_generated/swagger_client/models/docker_run_data.py index 6e70e3eb0..d68802e66 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_run_data.py +++ b/lightly/openapi_generated/swagger_client/models/docker_run_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictBool, StrictStr, conint, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictBool, StrictStr, conint, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_run_artifact_data import DockerRunArtifactData from lightly.openapi_generated.swagger_client.models.docker_run_state import DockerRunState diff --git a/lightly/openapi_generated/swagger_client/models/docker_run_log_create_entry_data.py b/lightly/openapi_generated/swagger_client/models/docker_run_log_create_entry_data.py index dc8b87a4b..06e5d66bb 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_run_log_create_entry_data.py +++ b/lightly/openapi_generated/swagger_client/models/docker_run_log_create_entry_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_run_log_docker_load import DockerRunLogDockerLoad from lightly.openapi_generated.swagger_client.models.docker_run_log_level import DockerRunLogLevel from lightly.openapi_generated.swagger_client.models.docker_run_state import DockerRunState diff --git a/lightly/openapi_generated/swagger_client/models/docker_run_log_data.py b/lightly/openapi_generated/swagger_client/models/docker_run_log_data.py index 0ce131862..2a964a158 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_run_log_data.py +++ b/lightly/openapi_generated/swagger_client/models/docker_run_log_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_run_log_entry_data import DockerRunLogEntryData class DockerRunLogData(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/docker_run_log_docker_load.py b/lightly/openapi_generated/swagger_client/models/docker_run_log_docker_load.py index eeb0e7d23..958d96e59 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_run_log_docker_load.py +++ b/lightly/openapi_generated/swagger_client/models/docker_run_log_docker_load.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, confloat, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, confloat, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. class DockerRunLogDockerLoad(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/docker_run_log_entry_data.py b/lightly/openapi_generated/swagger_client/models/docker_run_log_entry_data.py index 679d97a9a..0f42a25bf 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_run_log_entry_data.py +++ b/lightly/openapi_generated/swagger_client/models/docker_run_log_entry_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_run_log_docker_load import DockerRunLogDockerLoad from lightly.openapi_generated.swagger_client.models.docker_run_log_level import DockerRunLogLevel from lightly.openapi_generated.swagger_client.models.docker_run_state import DockerRunState diff --git a/lightly/openapi_generated/swagger_client/models/docker_run_log_entry_data_base.py b/lightly/openapi_generated/swagger_client/models/docker_run_log_entry_data_base.py index e7297c9f6..0511251db 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_run_log_entry_data_base.py +++ b/lightly/openapi_generated/swagger_client/models/docker_run_log_entry_data_base.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_run_log_docker_load import DockerRunLogDockerLoad from lightly.openapi_generated.swagger_client.models.docker_run_log_level import DockerRunLogLevel from lightly.openapi_generated.swagger_client.models.docker_run_state import DockerRunState diff --git a/lightly/openapi_generated/swagger_client/models/docker_run_log_level.py b/lightly/openapi_generated/swagger_client/models/docker_run_log_level.py index bdedd3074..5ce445d15 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_run_log_level.py +++ b/lightly/openapi_generated/swagger_client/models/docker_run_log_level.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class DockerRunLogLevel(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/docker_run_scheduled_create_request.py b/lightly/openapi_generated/swagger_client/models/docker_run_scheduled_create_request.py index ec19626f4..4af5b6dc5 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_run_scheduled_create_request.py +++ b/lightly/openapi_generated/swagger_client/models/docker_run_scheduled_create_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.creator import Creator from lightly.openapi_generated.swagger_client.models.docker_run_scheduled_priority import DockerRunScheduledPriority diff --git a/lightly/openapi_generated/swagger_client/models/docker_run_scheduled_data.py b/lightly/openapi_generated/swagger_client/models/docker_run_scheduled_data.py index 98b3d145e..4a4e22869 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_run_scheduled_data.py +++ b/lightly/openapi_generated/swagger_client/models/docker_run_scheduled_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, conint, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, conint, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_run_scheduled_priority import DockerRunScheduledPriority from lightly.openapi_generated.swagger_client.models.docker_run_scheduled_state import DockerRunScheduledState diff --git a/lightly/openapi_generated/swagger_client/models/docker_run_scheduled_priority.py b/lightly/openapi_generated/swagger_client/models/docker_run_scheduled_priority.py index 28ee58607..8f59946a2 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_run_scheduled_priority.py +++ b/lightly/openapi_generated/swagger_client/models/docker_run_scheduled_priority.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class DockerRunScheduledPriority(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/docker_run_scheduled_state.py b/lightly/openapi_generated/swagger_client/models/docker_run_scheduled_state.py index c2650084b..cd7e2abbf 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_run_scheduled_state.py +++ b/lightly/openapi_generated/swagger_client/models/docker_run_scheduled_state.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class DockerRunScheduledState(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/docker_run_scheduled_update_request.py b/lightly/openapi_generated/swagger_client/models/docker_run_scheduled_update_request.py index dfcebdbd1..35d7f0595 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_run_scheduled_update_request.py +++ b/lightly/openapi_generated/swagger_client/models/docker_run_scheduled_update_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_run_scheduled_priority import DockerRunScheduledPriority from lightly.openapi_generated.swagger_client.models.docker_run_scheduled_state import DockerRunScheduledState diff --git a/lightly/openapi_generated/swagger_client/models/docker_run_state.py b/lightly/openapi_generated/swagger_client/models/docker_run_state.py index ac784ddbf..bcc781651 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_run_state.py +++ b/lightly/openapi_generated/swagger_client/models/docker_run_state.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class DockerRunState(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/docker_run_update_request.py b/lightly/openapi_generated/swagger_client/models/docker_run_update_request.py index 19ce43df0..d14acaa3b 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_run_update_request.py +++ b/lightly/openapi_generated/swagger_client/models/docker_run_update_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_run_state import DockerRunState class DockerRunUpdateRequest(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/docker_task_description.py b/lightly/openapi_generated/swagger_client/models/docker_task_description.py index 9f030bd31..b26443e62 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_task_description.py +++ b/lightly/openapi_generated/swagger_client/models/docker_task_description.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, confloat, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, confloat, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.sampling_config import SamplingConfig from lightly.openapi_generated.swagger_client.models.sampling_method import SamplingMethod diff --git a/lightly/openapi_generated/swagger_client/models/docker_user_stats.py b/lightly/openapi_generated/swagger_client/models/docker_user_stats.py index 573782172..08a17d821 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_user_stats.py +++ b/lightly/openapi_generated/swagger_client/models/docker_user_stats.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. class DockerUserStats(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_authorization_request.py b/lightly/openapi_generated/swagger_client/models/docker_worker_authorization_request.py index b87a0c105..96c506e55 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_authorization_request.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_authorization_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. class DockerWorkerAuthorizationRequest(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config.py index e55e971d2..5cf95f9cc 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_worker_type import DockerWorkerType from lightly.openapi_generated.swagger_client.models.selection_config import SelectionConfig diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_create_request.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_create_request.py index b3b8c540a..686592d67 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_create_request.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_create_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.creator import Creator from lightly.openapi_generated.swagger_client.models.docker_worker_config import DockerWorkerConfig diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_omni_v2_create_request.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_omni_v2_create_request.py index 95d65764a..01587c208 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_omni_v2_create_request.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_omni_v2_create_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_worker_config_omni_vx_create_request_base import DockerWorkerConfigOmniVXCreateRequestBase from lightly.openapi_generated.swagger_client.models.docker_worker_config_v2 import DockerWorkerConfigV2 diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_omni_v2_create_request_all_of.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_omni_v2_create_request_all_of.py index f8a31f1c9..c05b6667e 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_omni_v2_create_request_all_of.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_omni_v2_create_request_all_of.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_worker_config_v2 import DockerWorkerConfigV2 class DockerWorkerConfigOmniV2CreateRequestAllOf(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_omni_v3_create_request.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_omni_v3_create_request.py index 91dc10452..34893d1a1 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_omni_v3_create_request.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_omni_v3_create_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_worker_config_omni_vx_create_request_base import DockerWorkerConfigOmniVXCreateRequestBase from lightly.openapi_generated.swagger_client.models.docker_worker_config_v3 import DockerWorkerConfigV3 diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_omni_v3_create_request_all_of.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_omni_v3_create_request_all_of.py index 35c1d63c0..fa26f4920 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_omni_v3_create_request_all_of.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_omni_v3_create_request_all_of.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_worker_config_v3 import DockerWorkerConfigV3 class DockerWorkerConfigOmniV3CreateRequestAllOf(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_omni_v4_create_request.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_omni_v4_create_request.py index 2a373e9f2..90bf04ed3 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_omni_v4_create_request.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_omni_v4_create_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_worker_config_omni_vx_create_request_base import DockerWorkerConfigOmniVXCreateRequestBase from lightly.openapi_generated.swagger_client.models.docker_worker_config_v4 import DockerWorkerConfigV4 diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_omni_v4_create_request_all_of.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_omni_v4_create_request_all_of.py index d562c4fb4..0051246e1 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_omni_v4_create_request_all_of.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_omni_v4_create_request_all_of.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_worker_config_v4 import DockerWorkerConfigV4 class DockerWorkerConfigOmniV4CreateRequestAllOf(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_omni_vx_create_request.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_omni_vx_create_request.py index edf23ac03..7bb8bd9ba 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_omni_vx_create_request.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_omni_vx_create_request.py @@ -23,15 +23,12 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, ValidationError, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, ValidationError, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_worker_config_omni_v2_create_request import DockerWorkerConfigOmniV2CreateRequest from lightly.openapi_generated.swagger_client.models.docker_worker_config_omni_v3_create_request import DockerWorkerConfigOmniV3CreateRequest from lightly.openapi_generated.swagger_client.models.docker_worker_config_omni_v4_create_request import DockerWorkerConfigOmniV4CreateRequest -from typing import Any, List try: # Pydantic >=v1.10.17 from pydantic.v1 import StrictStr, Field diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_omni_vx_create_request_base.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_omni_vx_create_request_base.py index 1c4e243f2..2c2cd5b7a 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_omni_vx_create_request_base.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_omni_vx_create_request_base.py @@ -24,11 +24,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.creator import Creator class DockerWorkerConfigOmniVXCreateRequestBase(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v0_data.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v0_data.py index e23eac654..6b3a00f41 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v0_data.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v0_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_worker_config import DockerWorkerConfig from lightly.openapi_generated.swagger_client.models.docker_worker_config_vx_data_base import DockerWorkerConfigVXDataBase diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v0_data_all_of.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v0_data_all_of.py index 3f53688fd..5352deb9a 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v0_data_all_of.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v0_data_all_of.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_worker_config import DockerWorkerConfig class DockerWorkerConfigV0DataAllOf(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2.py index 73c6059f4..01f97da5f 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_worker_config_v2_docker import DockerWorkerConfigV2Docker from lightly.openapi_generated.swagger_client.models.docker_worker_config_v2_lightly import DockerWorkerConfigV2Lightly from lightly.openapi_generated.swagger_client.models.docker_worker_type import DockerWorkerType diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_create_request.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_create_request.py index 3b08dddf7..44ec22deb 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_create_request.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_create_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.creator import Creator from lightly.openapi_generated.swagger_client.models.docker_worker_config_v2 import DockerWorkerConfigV2 diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_data.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_data.py index e2bc57798..274e7f51e 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_data.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_worker_config_v2 import DockerWorkerConfigV2 from lightly.openapi_generated.swagger_client.models.docker_worker_config_vx_data_base import DockerWorkerConfigVXDataBase diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_data_all_of.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_data_all_of.py index 7eb255587..4bed11196 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_data_all_of.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_data_all_of.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_worker_config_v2 import DockerWorkerConfigV2 class DockerWorkerConfigV2DataAllOf(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_docker.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_docker.py index 88c192c2b..659ec1357 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_docker.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_docker.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictBool, StrictStr, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictBool, StrictStr, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_worker_config_v2_docker_datasource import DockerWorkerConfigV2DockerDatasource from lightly.openapi_generated.swagger_client.models.docker_worker_config_v2_docker_object_level import DockerWorkerConfigV2DockerObjectLevel from lightly.openapi_generated.swagger_client.models.docker_worker_config_v2_docker_stopping_condition import DockerWorkerConfigV2DockerStoppingCondition diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_docker_datasource.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_docker_datasource.py index a716dcc46..df0d0d422 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_docker_datasource.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_docker_datasource.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictBool - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictBool - pass # Add pass to avoid empty try/except if no imports are generated for this file. class DockerWorkerConfigV2DockerDatasource(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_docker_object_level.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_docker_object_level.py index 3858b428a..829e6647a 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_docker_object_level.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_docker_object_level.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictFloat, StrictInt, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictFloat, StrictInt, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. class DockerWorkerConfigV2DockerObjectLevel(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_docker_stopping_condition.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_docker_stopping_condition.py index d45bb0c3f..8efd91aa1 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_docker_stopping_condition.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_docker_stopping_condition.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictFloat, StrictInt - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictFloat, StrictInt - pass # Add pass to avoid empty try/except if no imports are generated for this file. class DockerWorkerConfigV2DockerStoppingCondition(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_lightly.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_lightly.py index 65c8e47cc..05d9a0228 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_lightly.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_lightly.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_worker_config_v2_lightly_collate import DockerWorkerConfigV2LightlyCollate from lightly.openapi_generated.swagger_client.models.docker_worker_config_v2_lightly_model import DockerWorkerConfigV2LightlyModel from lightly.openapi_generated.swagger_client.models.docker_worker_config_v2_lightly_trainer import DockerWorkerConfigV2LightlyTrainer diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_lightly_collate.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_lightly_collate.py index 3e8545b61..7695e5194 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_lightly_collate.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_lightly_collate.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, confloat, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, confloat, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. class DockerWorkerConfigV2LightlyCollate(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_lightly_model.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_lightly_model.py index 95c7ae3da..7335a8417 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_lightly_model.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_lightly_model.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.lightly_model_v2 import LightlyModelV2 class DockerWorkerConfigV2LightlyModel(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_lightly_trainer.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_lightly_trainer.py index 873c954b6..a9849c0b6 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_lightly_trainer.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_lightly_trainer.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.lightly_trainer_precision_v2 import LightlyTrainerPrecisionV2 class DockerWorkerConfigV2LightlyTrainer(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3.py index 40e161f39..c90659aea 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_worker_config_v3_docker import DockerWorkerConfigV3Docker from lightly.openapi_generated.swagger_client.models.docker_worker_config_v3_lightly import DockerWorkerConfigV3Lightly from lightly.openapi_generated.swagger_client.models.docker_worker_type import DockerWorkerType diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_create_request.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_create_request.py index 851913f15..c803b7aae 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_create_request.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_create_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.creator import Creator from lightly.openapi_generated.swagger_client.models.docker_worker_config_v3 import DockerWorkerConfigV3 diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_data.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_data.py index 96e6bfedd..a5ac5c7b5 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_data.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_worker_config_v3 import DockerWorkerConfigV3 from lightly.openapi_generated.swagger_client.models.docker_worker_config_vx_data_base import DockerWorkerConfigVXDataBase diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_data_all_of.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_data_all_of.py index e54c03012..b1a7b1e86 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_data_all_of.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_data_all_of.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_worker_config_v3 import DockerWorkerConfigV3 class DockerWorkerConfigV3DataAllOf(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_datasource_input_expiration.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_datasource_input_expiration.py index ddc7d92f2..9203f0fb0 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_datasource_input_expiration.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_datasource_input_expiration.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, confloat, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, confloat, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.expiry_handling_strategy_v3 import ExpiryHandlingStrategyV3 class DockerWorkerConfigV3DatasourceInputExpiration(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_docker.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_docker.py index c820bb494..826062c5b 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_docker.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_docker.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictBool, StrictStr, conint, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictBool, StrictStr, conint, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_worker_config_v3_docker_corruptness_check import DockerWorkerConfigV3DockerCorruptnessCheck from lightly.openapi_generated.swagger_client.models.docker_worker_config_v3_docker_datasource import DockerWorkerConfigV3DockerDatasource from lightly.openapi_generated.swagger_client.models.docker_worker_config_v3_docker_training import DockerWorkerConfigV3DockerTraining diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_docker_corruptness_check.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_docker_corruptness_check.py index c909bf09f..6018a406e 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_docker_corruptness_check.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_docker_corruptness_check.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, confloat, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, confloat, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. class DockerWorkerConfigV3DockerCorruptnessCheck(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_docker_datasource.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_docker_datasource.py index 692ad0246..3145546e0 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_docker_datasource.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_docker_datasource.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictBool - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictBool - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_worker_config_v3_datasource_input_expiration import DockerWorkerConfigV3DatasourceInputExpiration class DockerWorkerConfigV3DockerDatasource(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_docker_training.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_docker_training.py index 943e5e4b8..976d0ec10 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_docker_training.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_docker_training.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. class DockerWorkerConfigV3DockerTraining(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly.py index 55d4794e9..69a3114ec 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictInt - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictInt - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_worker_config_v3_lightly_checkpoint_callback import DockerWorkerConfigV3LightlyCheckpointCallback from lightly.openapi_generated.swagger_client.models.docker_worker_config_v3_lightly_collate import DockerWorkerConfigV3LightlyCollate from lightly.openapi_generated.swagger_client.models.docker_worker_config_v3_lightly_criterion import DockerWorkerConfigV3LightlyCriterion diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly_checkpoint_callback.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly_checkpoint_callback.py index 6cd421c20..4caae9037 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly_checkpoint_callback.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly_checkpoint_callback.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictBool - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictBool - pass # Add pass to avoid empty try/except if no imports are generated for this file. class DockerWorkerConfigV3LightlyCheckpointCallback(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly_collate.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly_collate.py index 8230a8881..8d1fbbd0b 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly_collate.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly_collate.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictFloat, StrictInt, confloat, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictFloat, StrictInt, confloat, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. class DockerWorkerConfigV3LightlyCollate(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly_criterion.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly_criterion.py index 6a2735ccd..89d796aea 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly_criterion.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly_criterion.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, confloat, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, confloat, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. class DockerWorkerConfigV3LightlyCriterion(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly_loader.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly_loader.py index ff0604b61..c57724f20 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly_loader.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly_loader.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictBool, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictBool, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. class DockerWorkerConfigV3LightlyLoader(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly_model.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly_model.py index 9973f9caf..e0b37cc82 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly_model.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly_model.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.lightly_model_v3 import LightlyModelV3 class DockerWorkerConfigV3LightlyModel(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly_optimizer.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly_optimizer.py index 1d8210591..14be501c7 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly_optimizer.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly_optimizer.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, confloat, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, confloat, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. class DockerWorkerConfigV3LightlyOptimizer(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly_trainer.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly_trainer.py index d5959c9ee..f25ff6ade 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly_trainer.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly_trainer.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.lightly_trainer_precision_v3 import LightlyTrainerPrecisionV3 class DockerWorkerConfigV3LightlyTrainer(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v4.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v4.py index 780c90f81..9dbba104d 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v4.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v4.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_worker_config_v3_lightly import DockerWorkerConfigV3Lightly from lightly.openapi_generated.swagger_client.models.docker_worker_config_v4_docker import DockerWorkerConfigV4Docker from lightly.openapi_generated.swagger_client.models.docker_worker_type import DockerWorkerType diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v4_data.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v4_data.py index 73dade7c5..0d61b2d20 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v4_data.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v4_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_worker_config_v4 import DockerWorkerConfigV4 from lightly.openapi_generated.swagger_client.models.docker_worker_config_vx_data_base import DockerWorkerConfigVXDataBase diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v4_data_all_of.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v4_data_all_of.py index 0e6a660a9..c26c46e15 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v4_data_all_of.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v4_data_all_of.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_worker_config_v4 import DockerWorkerConfigV4 class DockerWorkerConfigV4DataAllOf(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v4_docker.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v4_docker.py index 0c659e465..30164cfd6 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_v4_docker.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_v4_docker.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictBool, StrictStr, conint, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictBool, StrictStr, conint, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_worker_config_v3_docker_corruptness_check import DockerWorkerConfigV3DockerCorruptnessCheck from lightly.openapi_generated.swagger_client.models.docker_worker_config_v3_docker_datasource import DockerWorkerConfigV3DockerDatasource from lightly.openapi_generated.swagger_client.models.docker_worker_config_v3_docker_training import DockerWorkerConfigV3DockerTraining diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_vx_data.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_vx_data.py index 79d93136f..a06ac1c44 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_vx_data.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_vx_data.py @@ -23,16 +23,13 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, ValidationError, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, ValidationError, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_worker_config_v0_data import DockerWorkerConfigV0Data from lightly.openapi_generated.swagger_client.models.docker_worker_config_v2_data import DockerWorkerConfigV2Data from lightly.openapi_generated.swagger_client.models.docker_worker_config_v3_data import DockerWorkerConfigV3Data from lightly.openapi_generated.swagger_client.models.docker_worker_config_v4_data import DockerWorkerConfigV4Data -from typing import Any, List try: # Pydantic >=v1.10.17 from pydantic.v1 import StrictStr, Field diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_config_vx_data_base.py b/lightly/openapi_generated/swagger_client/models/docker_worker_config_vx_data_base.py index 8d46298bc..1ce2bc832 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_config_vx_data_base.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_config_vx_data_base.py @@ -24,11 +24,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, conint, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, conint, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. class DockerWorkerConfigVXDataBase(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_registry_entry_data.py b/lightly/openapi_generated/swagger_client/models/docker_worker_registry_entry_data.py index 4e6dcc0aa..1529185e7 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_registry_entry_data.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_registry_entry_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictBool, StrictStr, conint, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictBool, StrictStr, conint, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_worker_state import DockerWorkerState from lightly.openapi_generated.swagger_client.models.docker_worker_type import DockerWorkerType diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_state.py b/lightly/openapi_generated/swagger_client/models/docker_worker_state.py index 0f4516c46..9e00e2e21 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_state.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_state.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class DockerWorkerState(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/docker_worker_type.py b/lightly/openapi_generated/swagger_client/models/docker_worker_type.py index 737e318ea..ea6b6464a 100644 --- a/lightly/openapi_generated/swagger_client/models/docker_worker_type.py +++ b/lightly/openapi_generated/swagger_client/models/docker_worker_type.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class DockerWorkerType(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/embedding2d_create_request.py b/lightly/openapi_generated/swagger_client/models/embedding2d_create_request.py index ac8cc7ec2..c29c5fb14 100644 --- a/lightly/openapi_generated/swagger_client/models/embedding2d_create_request.py +++ b/lightly/openapi_generated/swagger_client/models/embedding2d_create_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictFloat, StrictInt, StrictStr, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.dimensionality_reduction_method import DimensionalityReductionMethod class Embedding2dCreateRequest(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/embedding2d_data.py b/lightly/openapi_generated/swagger_client/models/embedding2d_data.py index a6b22136f..0ae7b12e7 100644 --- a/lightly/openapi_generated/swagger_client/models/embedding2d_data.py +++ b/lightly/openapi_generated/swagger_client/models/embedding2d_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictFloat, StrictInt, StrictStr, conint, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr, conint, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.dimensionality_reduction_method import DimensionalityReductionMethod class Embedding2dData(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/embedding_data.py b/lightly/openapi_generated/swagger_client/models/embedding_data.py index 9bec0a5c2..bb458e514 100644 --- a/lightly/openapi_generated/swagger_client/models/embedding_data.py +++ b/lightly/openapi_generated/swagger_client/models/embedding_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. class EmbeddingData(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/embedding_data2_d.py b/lightly/openapi_generated/swagger_client/models/embedding_data2_d.py index e10d56760..aa76a907b 100644 --- a/lightly/openapi_generated/swagger_client/models/embedding_data2_d.py +++ b/lightly/openapi_generated/swagger_client/models/embedding_data2_d.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictFloat, StrictInt, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictFloat, StrictInt, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.scatter_plot_example_image import ScatterPlotExampleImage class EmbeddingData2D(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/embedding_information.py b/lightly/openapi_generated/swagger_client/models/embedding_information.py index 5ba3d1f34..fc9ed1dfa 100644 --- a/lightly/openapi_generated/swagger_client/models/embedding_information.py +++ b/lightly/openapi_generated/swagger_client/models/embedding_information.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.numeric_distribution_per_set import NumericDistributionPerSet from lightly.openapi_generated.swagger_client.models.scatter_plot_data import ScatterPlotData diff --git a/lightly/openapi_generated/swagger_client/models/expiry_handling_strategy_v3.py b/lightly/openapi_generated/swagger_client/models/expiry_handling_strategy_v3.py index b42d1a481..6fcb9315f 100644 --- a/lightly/openapi_generated/swagger_client/models/expiry_handling_strategy_v3.py +++ b/lightly/openapi_generated/swagger_client/models/expiry_handling_strategy_v3.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class ExpiryHandlingStrategyV3(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/file_name_format.py b/lightly/openapi_generated/swagger_client/models/file_name_format.py index 13c2e7de7..801a325ca 100644 --- a/lightly/openapi_generated/swagger_client/models/file_name_format.py +++ b/lightly/openapi_generated/swagger_client/models/file_name_format.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class FileNameFormat(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/file_output_format.py b/lightly/openapi_generated/swagger_client/models/file_output_format.py index 4e172d3c3..7d1706f6d 100644 --- a/lightly/openapi_generated/swagger_client/models/file_output_format.py +++ b/lightly/openapi_generated/swagger_client/models/file_output_format.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class FileOutputFormat(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/filename_and_read_url.py b/lightly/openapi_generated/swagger_client/models/filename_and_read_url.py index aef61b503..48ad9a9c3 100644 --- a/lightly/openapi_generated/swagger_client/models/filename_and_read_url.py +++ b/lightly/openapi_generated/swagger_client/models/filename_and_read_url.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. class FilenameAndReadUrl(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/general_information.py b/lightly/openapi_generated/swagger_client/models/general_information.py index cc36d66b5..a663e1432 100644 --- a/lightly/openapi_generated/swagger_client/models/general_information.py +++ b/lightly/openapi_generated/swagger_client/models/general_information.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.annotation_savings import AnnotationSavings from lightly.openapi_generated.swagger_client.models.dataset_information import DatasetInformation from lightly.openapi_generated.swagger_client.models.run_information import RunInformation diff --git a/lightly/openapi_generated/swagger_client/models/image_type.py b/lightly/openapi_generated/swagger_client/models/image_type.py index a9375c9a6..7d68fe9e5 100644 --- a/lightly/openapi_generated/swagger_client/models/image_type.py +++ b/lightly/openapi_generated/swagger_client/models/image_type.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class ImageType(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/initial_tag_create_request.py b/lightly/openapi_generated/swagger_client/models/initial_tag_create_request.py index 75b015013..9cebe569e 100644 --- a/lightly/openapi_generated/swagger_client/models/initial_tag_create_request.py +++ b/lightly/openapi_generated/swagger_client/models/initial_tag_create_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.image_type import ImageType from lightly.openapi_generated.swagger_client.models.tag_creator import TagCreator diff --git a/lightly/openapi_generated/swagger_client/models/internal_debug_latency.py b/lightly/openapi_generated/swagger_client/models/internal_debug_latency.py index 4404c9918..10cc2231b 100644 --- a/lightly/openapi_generated/swagger_client/models/internal_debug_latency.py +++ b/lightly/openapi_generated/swagger_client/models/internal_debug_latency.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictFloat, StrictInt - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictFloat, StrictInt - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.internal_debug_latency_mongodb import InternalDebugLatencyMongodb class InternalDebugLatency(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/internal_debug_latency_mongodb.py b/lightly/openapi_generated/swagger_client/models/internal_debug_latency_mongodb.py index 76a8a3200..13c4e3bbe 100644 --- a/lightly/openapi_generated/swagger_client/models/internal_debug_latency_mongodb.py +++ b/lightly/openapi_generated/swagger_client/models/internal_debug_latency_mongodb.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, StrictFloat, StrictInt - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, StrictFloat, StrictInt - pass # Add pass to avoid empty try/except if no imports are generated for this file. class InternalDebugLatencyMongodb(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/job_result_type.py b/lightly/openapi_generated/swagger_client/models/job_result_type.py index 942eade21..94685e4f3 100644 --- a/lightly/openapi_generated/swagger_client/models/job_result_type.py +++ b/lightly/openapi_generated/swagger_client/models/job_result_type.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class JobResultType(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/job_state.py b/lightly/openapi_generated/swagger_client/models/job_state.py index 11f30199e..98fe3198d 100644 --- a/lightly/openapi_generated/swagger_client/models/job_state.py +++ b/lightly/openapi_generated/swagger_client/models/job_state.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class JobState(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/job_status_data.py b/lightly/openapi_generated/swagger_client/models/job_status_data.py index 08d34d998..4eec562b3 100644 --- a/lightly/openapi_generated/swagger_client/models/job_status_data.py +++ b/lightly/openapi_generated/swagger_client/models/job_status_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictInt, StrictStr, conint, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictInt, StrictStr, conint, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.job_state import JobState from lightly.openapi_generated.swagger_client.models.job_status_data_result import JobStatusDataResult from lightly.openapi_generated.swagger_client.models.job_status_meta import JobStatusMeta diff --git a/lightly/openapi_generated/swagger_client/models/job_status_data_result.py b/lightly/openapi_generated/swagger_client/models/job_status_data_result.py index 650b0dab5..1582e840f 100644 --- a/lightly/openapi_generated/swagger_client/models/job_status_data_result.py +++ b/lightly/openapi_generated/swagger_client/models/job_status_data_result.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.job_result_type import JobResultType class JobStatusDataResult(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/job_status_meta.py b/lightly/openapi_generated/swagger_client/models/job_status_meta.py index fa612dbcf..82493b4d9 100644 --- a/lightly/openapi_generated/swagger_client/models/job_status_meta.py +++ b/lightly/openapi_generated/swagger_client/models/job_status_meta.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictBool, StrictInt - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictBool, StrictInt - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.job_status_upload_method import JobStatusUploadMethod class JobStatusMeta(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/job_status_upload_method.py b/lightly/openapi_generated/swagger_client/models/job_status_upload_method.py index 5cfadd8a9..64a42eb50 100644 --- a/lightly/openapi_generated/swagger_client/models/job_status_upload_method.py +++ b/lightly/openapi_generated/swagger_client/models/job_status_upload_method.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class JobStatusUploadMethod(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/jobs_data.py b/lightly/openapi_generated/swagger_client/models/jobs_data.py index 2bd05b8e2..51d224e84 100644 --- a/lightly/openapi_generated/swagger_client/models/jobs_data.py +++ b/lightly/openapi_generated/swagger_client/models/jobs_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, conint, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, conint, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.job_result_type import JobResultType from lightly.openapi_generated.swagger_client.models.job_state import JobState diff --git a/lightly/openapi_generated/swagger_client/models/label_box_data_row.py b/lightly/openapi_generated/swagger_client/models/label_box_data_row.py index 56b0c95cc..345afa64a 100644 --- a/lightly/openapi_generated/swagger_client/models/label_box_data_row.py +++ b/lightly/openapi_generated/swagger_client/models/label_box_data_row.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. class LabelBoxDataRow(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/label_box_v4_data_row.py b/lightly/openapi_generated/swagger_client/models/label_box_v4_data_row.py index 952e23b10..8cf33a399 100644 --- a/lightly/openapi_generated/swagger_client/models/label_box_v4_data_row.py +++ b/lightly/openapi_generated/swagger_client/models/label_box_v4_data_row.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. class LabelBoxV4DataRow(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/label_studio_task.py b/lightly/openapi_generated/swagger_client/models/label_studio_task.py index a5dee7cb2..aa60831ca 100644 --- a/lightly/openapi_generated/swagger_client/models/label_studio_task.py +++ b/lightly/openapi_generated/swagger_client/models/label_studio_task.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictInt - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictInt - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.label_studio_task_data import LabelStudioTaskData class LabelStudioTask(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/label_studio_task_data.py b/lightly/openapi_generated/swagger_client/models/label_studio_task_data.py index be231ca47..0a00c5c11 100644 --- a/lightly/openapi_generated/swagger_client/models/label_studio_task_data.py +++ b/lightly/openapi_generated/swagger_client/models/label_studio_task_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.sample_data import SampleData class LabelStudioTaskData(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/lightly_docker_selection_method.py b/lightly/openapi_generated/swagger_client/models/lightly_docker_selection_method.py index ba976a1ea..19d319550 100644 --- a/lightly/openapi_generated/swagger_client/models/lightly_docker_selection_method.py +++ b/lightly/openapi_generated/swagger_client/models/lightly_docker_selection_method.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class LightlyDockerSelectionMethod(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/lightly_model_v2.py b/lightly/openapi_generated/swagger_client/models/lightly_model_v2.py index c7f53fe16..f713c9aea 100644 --- a/lightly/openapi_generated/swagger_client/models/lightly_model_v2.py +++ b/lightly/openapi_generated/swagger_client/models/lightly_model_v2.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class LightlyModelV2(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/lightly_model_v3.py b/lightly/openapi_generated/swagger_client/models/lightly_model_v3.py index 6d2c02e28..d557f1b8b 100644 --- a/lightly/openapi_generated/swagger_client/models/lightly_model_v3.py +++ b/lightly/openapi_generated/swagger_client/models/lightly_model_v3.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class LightlyModelV3(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/lightly_trainer_precision_v2.py b/lightly/openapi_generated/swagger_client/models/lightly_trainer_precision_v2.py index dc51dd931..01f965caa 100644 --- a/lightly/openapi_generated/swagger_client/models/lightly_trainer_precision_v2.py +++ b/lightly/openapi_generated/swagger_client/models/lightly_trainer_precision_v2.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class LightlyTrainerPrecisionV2(int, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/lightly_trainer_precision_v3.py b/lightly/openapi_generated/swagger_client/models/lightly_trainer_precision_v3.py index 3a2b58553..65f8a652d 100644 --- a/lightly/openapi_generated/swagger_client/models/lightly_trainer_precision_v3.py +++ b/lightly/openapi_generated/swagger_client/models/lightly_trainer_precision_v3.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class LightlyTrainerPrecisionV3(int, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/metadata_information.py b/lightly/openapi_generated/swagger_client/models/metadata_information.py index 356cc7b60..a61798df9 100644 --- a/lightly/openapi_generated/swagger_client/models/metadata_information.py +++ b/lightly/openapi_generated/swagger_client/models/metadata_information.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.categorical_distribution_per_set import CategoricalDistributionPerSet from lightly.openapi_generated.swagger_client.models.numeric_distribution_per_set import NumericDistributionPerSet diff --git a/lightly/openapi_generated/swagger_client/models/numeric_distribution.py b/lightly/openapi_generated/swagger_client/models/numeric_distribution.py index 415b1031e..a9b127246 100644 --- a/lightly/openapi_generated/swagger_client/models/numeric_distribution.py +++ b/lightly/openapi_generated/swagger_client/models/numeric_distribution.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictFloat, StrictInt, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictFloat, StrictInt, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.numeric_distribution_metrics import NumericDistributionMetrics class NumericDistribution(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/numeric_distribution_metrics.py b/lightly/openapi_generated/swagger_client/models/numeric_distribution_metrics.py index c57bd07fe..ba5672082 100644 --- a/lightly/openapi_generated/swagger_client/models/numeric_distribution_metrics.py +++ b/lightly/openapi_generated/swagger_client/models/numeric_distribution_metrics.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictFloat, StrictInt, confloat, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictFloat, StrictInt, confloat, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. class NumericDistributionMetrics(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/numeric_distribution_per_set.py b/lightly/openapi_generated/swagger_client/models/numeric_distribution_per_set.py index c8fcec1ff..1df986cb0 100644 --- a/lightly/openapi_generated/swagger_client/models/numeric_distribution_per_set.py +++ b/lightly/openapi_generated/swagger_client/models/numeric_distribution_per_set.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictFloat, StrictInt, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictFloat, StrictInt, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.numeric_distribution import NumericDistribution class NumericDistributionPerSet(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/object_detection_prediction.py b/lightly/openapi_generated/swagger_client/models/object_detection_prediction.py index 0fd1288e4..c61e436be 100644 --- a/lightly/openapi_generated/swagger_client/models/object_detection_prediction.py +++ b/lightly/openapi_generated/swagger_client/models/object_detection_prediction.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictFloat, StrictInt, confloat, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictFloat, StrictInt, confloat, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. class ObjectDetectionPrediction(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/prediction_singleton.py b/lightly/openapi_generated/swagger_client/models/prediction_singleton.py index b8b3dcc98..bad4897bd 100644 --- a/lightly/openapi_generated/swagger_client/models/prediction_singleton.py +++ b/lightly/openapi_generated/swagger_client/models/prediction_singleton.py @@ -23,17 +23,14 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, ValidationError, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, ValidationError, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.prediction_singleton_classification import PredictionSingletonClassification from lightly.openapi_generated.swagger_client.models.prediction_singleton_instance_segmentation import PredictionSingletonInstanceSegmentation from lightly.openapi_generated.swagger_client.models.prediction_singleton_keypoint_detection import PredictionSingletonKeypointDetection from lightly.openapi_generated.swagger_client.models.prediction_singleton_object_detection import PredictionSingletonObjectDetection from lightly.openapi_generated.swagger_client.models.prediction_singleton_semantic_segmentation import PredictionSingletonSemanticSegmentation -from typing import Any, List try: # Pydantic >=v1.10.17 from pydantic.v1 import StrictStr, Field diff --git a/lightly/openapi_generated/swagger_client/models/prediction_singleton_base.py b/lightly/openapi_generated/swagger_client/models/prediction_singleton_base.py index 32cbf7891..dd0c4b2f4 100644 --- a/lightly/openapi_generated/swagger_client/models/prediction_singleton_base.py +++ b/lightly/openapi_generated/swagger_client/models/prediction_singleton_base.py @@ -24,11 +24,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, confloat, conint, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, confloat, conint, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. class PredictionSingletonBase(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/prediction_singleton_classification.py b/lightly/openapi_generated/swagger_client/models/prediction_singleton_classification.py index eccda2cdd..ee056332f 100644 --- a/lightly/openapi_generated/swagger_client/models/prediction_singleton_classification.py +++ b/lightly/openapi_generated/swagger_client/models/prediction_singleton_classification.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, confloat, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, confloat, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.prediction_singleton_base import PredictionSingletonBase class PredictionSingletonClassification(PredictionSingletonBase): diff --git a/lightly/openapi_generated/swagger_client/models/prediction_singleton_classification_all_of.py b/lightly/openapi_generated/swagger_client/models/prediction_singleton_classification_all_of.py index 60a8952ec..2b62eaf2c 100644 --- a/lightly/openapi_generated/swagger_client/models/prediction_singleton_classification_all_of.py +++ b/lightly/openapi_generated/swagger_client/models/prediction_singleton_classification_all_of.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, confloat, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, confloat, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. class PredictionSingletonClassificationAllOf(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/prediction_singleton_instance_segmentation.py b/lightly/openapi_generated/swagger_client/models/prediction_singleton_instance_segmentation.py index e116ef5eb..334d031f5 100644 --- a/lightly/openapi_generated/swagger_client/models/prediction_singleton_instance_segmentation.py +++ b/lightly/openapi_generated/swagger_client/models/prediction_singleton_instance_segmentation.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, confloat, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, confloat, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.prediction_singleton_base import PredictionSingletonBase class PredictionSingletonInstanceSegmentation(PredictionSingletonBase): diff --git a/lightly/openapi_generated/swagger_client/models/prediction_singleton_instance_segmentation_all_of.py b/lightly/openapi_generated/swagger_client/models/prediction_singleton_instance_segmentation_all_of.py index 6f20350da..8f04eab56 100644 --- a/lightly/openapi_generated/swagger_client/models/prediction_singleton_instance_segmentation_all_of.py +++ b/lightly/openapi_generated/swagger_client/models/prediction_singleton_instance_segmentation_all_of.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, confloat, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, confloat, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. class PredictionSingletonInstanceSegmentationAllOf(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/prediction_singleton_keypoint_detection.py b/lightly/openapi_generated/swagger_client/models/prediction_singleton_keypoint_detection.py index ca1dcc1e6..5ec3f477e 100644 --- a/lightly/openapi_generated/swagger_client/models/prediction_singleton_keypoint_detection.py +++ b/lightly/openapi_generated/swagger_client/models/prediction_singleton_keypoint_detection.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, confloat, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, confloat, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.prediction_singleton_base import PredictionSingletonBase class PredictionSingletonKeypointDetection(PredictionSingletonBase): diff --git a/lightly/openapi_generated/swagger_client/models/prediction_singleton_keypoint_detection_all_of.py b/lightly/openapi_generated/swagger_client/models/prediction_singleton_keypoint_detection_all_of.py index af8933a14..46573f253 100644 --- a/lightly/openapi_generated/swagger_client/models/prediction_singleton_keypoint_detection_all_of.py +++ b/lightly/openapi_generated/swagger_client/models/prediction_singleton_keypoint_detection_all_of.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, confloat, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, confloat, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. class PredictionSingletonKeypointDetectionAllOf(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/prediction_singleton_object_detection.py b/lightly/openapi_generated/swagger_client/models/prediction_singleton_object_detection.py index 26e8c6009..98f93f3e8 100644 --- a/lightly/openapi_generated/swagger_client/models/prediction_singleton_object_detection.py +++ b/lightly/openapi_generated/swagger_client/models/prediction_singleton_object_detection.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, confloat, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, confloat, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.prediction_singleton_base import PredictionSingletonBase class PredictionSingletonObjectDetection(PredictionSingletonBase): diff --git a/lightly/openapi_generated/swagger_client/models/prediction_singleton_object_detection_all_of.py b/lightly/openapi_generated/swagger_client/models/prediction_singleton_object_detection_all_of.py index a4a8fc7eb..b4790d1a6 100644 --- a/lightly/openapi_generated/swagger_client/models/prediction_singleton_object_detection_all_of.py +++ b/lightly/openapi_generated/swagger_client/models/prediction_singleton_object_detection_all_of.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, confloat, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, confloat, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. class PredictionSingletonObjectDetectionAllOf(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/prediction_singleton_semantic_segmentation.py b/lightly/openapi_generated/swagger_client/models/prediction_singleton_semantic_segmentation.py index 135bf4f4b..001baa8e7 100644 --- a/lightly/openapi_generated/swagger_client/models/prediction_singleton_semantic_segmentation.py +++ b/lightly/openapi_generated/swagger_client/models/prediction_singleton_semantic_segmentation.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, confloat, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, confloat, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.prediction_singleton_base import PredictionSingletonBase class PredictionSingletonSemanticSegmentation(PredictionSingletonBase): diff --git a/lightly/openapi_generated/swagger_client/models/prediction_singleton_semantic_segmentation_all_of.py b/lightly/openapi_generated/swagger_client/models/prediction_singleton_semantic_segmentation_all_of.py index 2d0992b06..7d80c522c 100644 --- a/lightly/openapi_generated/swagger_client/models/prediction_singleton_semantic_segmentation_all_of.py +++ b/lightly/openapi_generated/swagger_client/models/prediction_singleton_semantic_segmentation_all_of.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, confloat, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, confloat, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. class PredictionSingletonSemanticSegmentationAllOf(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/prediction_task_information.py b/lightly/openapi_generated/swagger_client/models/prediction_task_information.py index 1d3b2fcd9..611f2bc7a 100644 --- a/lightly/openapi_generated/swagger_client/models/prediction_task_information.py +++ b/lightly/openapi_generated/swagger_client/models/prediction_task_information.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.categorical_distribution_per_set import CategoricalDistributionPerSet from lightly.openapi_generated.swagger_client.models.detection_task_information import DetectionTaskInformation from lightly.openapi_generated.swagger_client.models.numeric_distribution_per_set import NumericDistributionPerSet diff --git a/lightly/openapi_generated/swagger_client/models/prediction_task_schema.py b/lightly/openapi_generated/swagger_client/models/prediction_task_schema.py index a13246f3b..3ff82a18b 100644 --- a/lightly/openapi_generated/swagger_client/models/prediction_task_schema.py +++ b/lightly/openapi_generated/swagger_client/models/prediction_task_schema.py @@ -23,14 +23,11 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, ValidationError, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, ValidationError, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.prediction_task_schema_keypoint import PredictionTaskSchemaKeypoint from lightly.openapi_generated.swagger_client.models.prediction_task_schema_simple import PredictionTaskSchemaSimple -from typing import Any, List try: # Pydantic >=v1.10.17 from pydantic.v1 import StrictStr, Field diff --git a/lightly/openapi_generated/swagger_client/models/prediction_task_schema_base.py b/lightly/openapi_generated/swagger_client/models/prediction_task_schema_base.py index a6b307e7a..f8db82f9e 100644 --- a/lightly/openapi_generated/swagger_client/models/prediction_task_schema_base.py +++ b/lightly/openapi_generated/swagger_client/models/prediction_task_schema_base.py @@ -24,11 +24,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. class PredictionTaskSchemaBase(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/prediction_task_schema_category.py b/lightly/openapi_generated/swagger_client/models/prediction_task_schema_category.py index c5c7e1d8d..0d37c6376 100644 --- a/lightly/openapi_generated/swagger_client/models/prediction_task_schema_category.py +++ b/lightly/openapi_generated/swagger_client/models/prediction_task_schema_category.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, conint, constr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, conint, constr - pass # Add pass to avoid empty try/except if no imports are generated for this file. class PredictionTaskSchemaCategory(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/prediction_task_schema_category_keypoints.py b/lightly/openapi_generated/swagger_client/models/prediction_task_schema_category_keypoints.py index af7e72509..25b923aec 100644 --- a/lightly/openapi_generated/swagger_client/models/prediction_task_schema_category_keypoints.py +++ b/lightly/openapi_generated/swagger_client/models/prediction_task_schema_category_keypoints.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, conint, conlist, constr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, conint, conlist, constr - pass # Add pass to avoid empty try/except if no imports are generated for this file. class PredictionTaskSchemaCategoryKeypoints(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/prediction_task_schema_category_keypoints_all_of.py b/lightly/openapi_generated/swagger_client/models/prediction_task_schema_category_keypoints_all_of.py index 7017590db..e24a7eaf2 100644 --- a/lightly/openapi_generated/swagger_client/models/prediction_task_schema_category_keypoints_all_of.py +++ b/lightly/openapi_generated/swagger_client/models/prediction_task_schema_category_keypoints_all_of.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, conint, conlist, constr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, conint, conlist, constr - pass # Add pass to avoid empty try/except if no imports are generated for this file. class PredictionTaskSchemaCategoryKeypointsAllOf(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/prediction_task_schema_keypoint.py b/lightly/openapi_generated/swagger_client/models/prediction_task_schema_keypoint.py index c946df83d..8bb976160 100644 --- a/lightly/openapi_generated/swagger_client/models/prediction_task_schema_keypoint.py +++ b/lightly/openapi_generated/swagger_client/models/prediction_task_schema_keypoint.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.prediction_task_schema_base import PredictionTaskSchemaBase from lightly.openapi_generated.swagger_client.models.prediction_task_schema_category_keypoints import PredictionTaskSchemaCategoryKeypoints diff --git a/lightly/openapi_generated/swagger_client/models/prediction_task_schema_keypoint_all_of.py b/lightly/openapi_generated/swagger_client/models/prediction_task_schema_keypoint_all_of.py index 8908c45a6..b40fac2d2 100644 --- a/lightly/openapi_generated/swagger_client/models/prediction_task_schema_keypoint_all_of.py +++ b/lightly/openapi_generated/swagger_client/models/prediction_task_schema_keypoint_all_of.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.prediction_task_schema_category_keypoints import PredictionTaskSchemaCategoryKeypoints class PredictionTaskSchemaKeypointAllOf(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/prediction_task_schema_simple.py b/lightly/openapi_generated/swagger_client/models/prediction_task_schema_simple.py index 14c96468b..0af25ee68 100644 --- a/lightly/openapi_generated/swagger_client/models/prediction_task_schema_simple.py +++ b/lightly/openapi_generated/swagger_client/models/prediction_task_schema_simple.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.prediction_task_schema_base import PredictionTaskSchemaBase from lightly.openapi_generated.swagger_client.models.prediction_task_schema_category import PredictionTaskSchemaCategory diff --git a/lightly/openapi_generated/swagger_client/models/prediction_task_schema_simple_all_of.py b/lightly/openapi_generated/swagger_client/models/prediction_task_schema_simple_all_of.py index 79d79b36e..3831e7e62 100644 --- a/lightly/openapi_generated/swagger_client/models/prediction_task_schema_simple_all_of.py +++ b/lightly/openapi_generated/swagger_client/models/prediction_task_schema_simple_all_of.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.prediction_task_schema_category import PredictionTaskSchemaCategory class PredictionTaskSchemaSimpleAllOf(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/prediction_task_schemas.py b/lightly/openapi_generated/swagger_client/models/prediction_task_schemas.py index bfa447420..2a213b206 100644 --- a/lightly/openapi_generated/swagger_client/models/prediction_task_schemas.py +++ b/lightly/openapi_generated/swagger_client/models/prediction_task_schemas.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.prediction_task_schema import PredictionTaskSchema class PredictionTaskSchemas(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/profile_basic_data.py b/lightly/openapi_generated/swagger_client/models/profile_basic_data.py index e85073619..3190d9c9c 100644 --- a/lightly/openapi_generated/swagger_client/models/profile_basic_data.py +++ b/lightly/openapi_generated/swagger_client/models/profile_basic_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.team_basic_data import TeamBasicData class ProfileBasicData(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/profile_me_data.py b/lightly/openapi_generated/swagger_client/models/profile_me_data.py index af0aca86d..8c1ccff92 100644 --- a/lightly/openapi_generated/swagger_client/models/profile_me_data.py +++ b/lightly/openapi_generated/swagger_client/models/profile_me_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictFloat, StrictInt, StrictStr, conint, conlist, constr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr, conint, conlist, constr - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.profile_me_data_settings import ProfileMeDataSettings from lightly.openapi_generated.swagger_client.models.team_basic_data import TeamBasicData from lightly.openapi_generated.swagger_client.models.user_type import UserType diff --git a/lightly/openapi_generated/swagger_client/models/profile_me_data_settings.py b/lightly/openapi_generated/swagger_client/models/profile_me_data_settings.py index e4e8bb630..9118c831f 100644 --- a/lightly/openapi_generated/swagger_client/models/profile_me_data_settings.py +++ b/lightly/openapi_generated/swagger_client/models/profile_me_data_settings.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. class ProfileMeDataSettings(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/questionnaire_data.py b/lightly/openapi_generated/swagger_client/models/questionnaire_data.py index 8da69e5b5..011b85e32 100644 --- a/lightly/openapi_generated/swagger_client/models/questionnaire_data.py +++ b/lightly/openapi_generated/swagger_client/models/questionnaire_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, constr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, constr - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.sector import Sector class QuestionnaireData(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/report_v2.py b/lightly/openapi_generated/swagger_client/models/report_v2.py index 47ec4e77a..fb85a6d24 100644 --- a/lightly/openapi_generated/swagger_client/models/report_v2.py +++ b/lightly/openapi_generated/swagger_client/models/report_v2.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.dataset_analysis import DatasetAnalysis from lightly.openapi_generated.swagger_client.models.general_information import GeneralInformation from lightly.openapi_generated.swagger_client.models.prediction_task_information import PredictionTaskInformation diff --git a/lightly/openapi_generated/swagger_client/models/run_information.py b/lightly/openapi_generated/swagger_client/models/run_information.py index e75620d03..d2688c634 100644 --- a/lightly/openapi_generated/swagger_client/models/run_information.py +++ b/lightly/openapi_generated/swagger_client/models/run_information.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictFloat, StrictInt, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. class RunInformation(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/s3_region.py b/lightly/openapi_generated/swagger_client/models/s3_region.py index 8e2032aed..bc056b475 100644 --- a/lightly/openapi_generated/swagger_client/models/s3_region.py +++ b/lightly/openapi_generated/swagger_client/models/s3_region.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class S3Region(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/sama_task.py b/lightly/openapi_generated/swagger_client/models/sama_task.py index 14cc67408..edcceb784 100644 --- a/lightly/openapi_generated/swagger_client/models/sama_task.py +++ b/lightly/openapi_generated/swagger_client/models/sama_task.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictInt - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictInt - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.sama_task_data import SamaTaskData class SamaTask(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/sama_task_data.py b/lightly/openapi_generated/swagger_client/models/sama_task_data.py index c22b8b21e..607bea042 100644 --- a/lightly/openapi_generated/swagger_client/models/sama_task_data.py +++ b/lightly/openapi_generated/swagger_client/models/sama_task_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictInt, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictInt, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. class SamaTaskData(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/sample_create_request.py b/lightly/openapi_generated/swagger_client/models/sample_create_request.py index 6ca75b592..ea71c006b 100644 --- a/lightly/openapi_generated/swagger_client/models/sample_create_request.py +++ b/lightly/openapi_generated/swagger_client/models/sample_create_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.crop_data import CropData from lightly.openapi_generated.swagger_client.models.sample_meta_data import SampleMetaData from lightly.openapi_generated.swagger_client.models.video_frame_data import VideoFrameData diff --git a/lightly/openapi_generated/swagger_client/models/sample_data.py b/lightly/openapi_generated/swagger_client/models/sample_data.py index 51e4e886a..eb6b39992 100644 --- a/lightly/openapi_generated/swagger_client/models/sample_data.py +++ b/lightly/openapi_generated/swagger_client/models/sample_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictInt, StrictStr, conint, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictInt, StrictStr, conint, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.crop_data import CropData from lightly.openapi_generated.swagger_client.models.sample_meta_data import SampleMetaData from lightly.openapi_generated.swagger_client.models.sample_type import SampleType diff --git a/lightly/openapi_generated/swagger_client/models/sample_data_modes.py b/lightly/openapi_generated/swagger_client/models/sample_data_modes.py index 86256a98a..2eec311b0 100644 --- a/lightly/openapi_generated/swagger_client/models/sample_data_modes.py +++ b/lightly/openapi_generated/swagger_client/models/sample_data_modes.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictInt, StrictStr, conint, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictInt, StrictStr, conint, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.crop_data import CropData from lightly.openapi_generated.swagger_client.models.sample_meta_data import SampleMetaData from lightly.openapi_generated.swagger_client.models.sample_type import SampleType diff --git a/lightly/openapi_generated/swagger_client/models/sample_meta_data.py b/lightly/openapi_generated/swagger_client/models/sample_meta_data.py index 1e9f65dfa..4d2829cf6 100644 --- a/lightly/openapi_generated/swagger_client/models/sample_meta_data.py +++ b/lightly/openapi_generated/swagger_client/models/sample_meta_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, confloat, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, confloat, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. class SampleMetaData(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/sample_partial_mode.py b/lightly/openapi_generated/swagger_client/models/sample_partial_mode.py index fefe8cd0f..65574d616 100644 --- a/lightly/openapi_generated/swagger_client/models/sample_partial_mode.py +++ b/lightly/openapi_generated/swagger_client/models/sample_partial_mode.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class SamplePartialMode(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/sample_sort_by.py b/lightly/openapi_generated/swagger_client/models/sample_sort_by.py index e2fb31dbf..4ead865e5 100644 --- a/lightly/openapi_generated/swagger_client/models/sample_sort_by.py +++ b/lightly/openapi_generated/swagger_client/models/sample_sort_by.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class SampleSortBy(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/sample_type.py b/lightly/openapi_generated/swagger_client/models/sample_type.py index 30825f7f5..8b31e0739 100644 --- a/lightly/openapi_generated/swagger_client/models/sample_type.py +++ b/lightly/openapi_generated/swagger_client/models/sample_type.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class SampleType(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/sample_update_request.py b/lightly/openapi_generated/swagger_client/models/sample_update_request.py index b558d58f3..fa9fff711 100644 --- a/lightly/openapi_generated/swagger_client/models/sample_update_request.py +++ b/lightly/openapi_generated/swagger_client/models/sample_update_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.sample_meta_data import SampleMetaData class SampleUpdateRequest(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/sample_write_urls.py b/lightly/openapi_generated/swagger_client/models/sample_write_urls.py index b32cdf733..1c91730da 100644 --- a/lightly/openapi_generated/swagger_client/models/sample_write_urls.py +++ b/lightly/openapi_generated/swagger_client/models/sample_write_urls.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. class SampleWriteUrls(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/sampling_config.py b/lightly/openapi_generated/swagger_client/models/sampling_config.py index 628126c52..127b2b94a 100644 --- a/lightly/openapi_generated/swagger_client/models/sampling_config.py +++ b/lightly/openapi_generated/swagger_client/models/sampling_config.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.sampling_config_stopping_condition import SamplingConfigStoppingCondition class SamplingConfig(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/sampling_config_stopping_condition.py b/lightly/openapi_generated/swagger_client/models/sampling_config_stopping_condition.py index c9671d2d3..f4914b3ed 100644 --- a/lightly/openapi_generated/swagger_client/models/sampling_config_stopping_condition.py +++ b/lightly/openapi_generated/swagger_client/models/sampling_config_stopping_condition.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictFloat, StrictInt - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictFloat, StrictInt - pass # Add pass to avoid empty try/except if no imports are generated for this file. class SamplingConfigStoppingCondition(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/sampling_create_request.py b/lightly/openapi_generated/swagger_client/models/sampling_create_request.py index 14b41fc3d..0522ea6c7 100644 --- a/lightly/openapi_generated/swagger_client/models/sampling_create_request.py +++ b/lightly/openapi_generated/swagger_client/models/sampling_create_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictFloat, StrictInt, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictFloat, StrictInt, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.sampling_config import SamplingConfig from lightly.openapi_generated.swagger_client.models.sampling_method import SamplingMethod diff --git a/lightly/openapi_generated/swagger_client/models/sampling_method.py b/lightly/openapi_generated/swagger_client/models/sampling_method.py index 7f8e1b15c..9bdef6708 100644 --- a/lightly/openapi_generated/swagger_client/models/sampling_method.py +++ b/lightly/openapi_generated/swagger_client/models/sampling_method.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class SamplingMethod(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/scatter_plot_data.py b/lightly/openapi_generated/swagger_client/models/scatter_plot_data.py index ea1ec2ade..ced644d4d 100644 --- a/lightly/openapi_generated/swagger_client/models/scatter_plot_data.py +++ b/lightly/openapi_generated/swagger_client/models/scatter_plot_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.embedding_data2_d import EmbeddingData2D class ScatterPlotData(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/scatter_plot_example_image.py b/lightly/openapi_generated/swagger_client/models/scatter_plot_example_image.py index ba40f0dd6..cc9f68ab3 100644 --- a/lightly/openapi_generated/swagger_client/models/scatter_plot_example_image.py +++ b/lightly/openapi_generated/swagger_client/models/scatter_plot_example_image.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictFloat, StrictInt, StrictStr, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. class ScatterPlotExampleImage(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/sector.py b/lightly/openapi_generated/swagger_client/models/sector.py index d2f09f9ad..b9e0cfa80 100644 --- a/lightly/openapi_generated/swagger_client/models/sector.py +++ b/lightly/openapi_generated/swagger_client/models/sector.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class Sector(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/selected_and_removed_image_pair.py b/lightly/openapi_generated/swagger_client/models/selected_and_removed_image_pair.py index b352482df..ed0dcfec2 100644 --- a/lightly/openapi_generated/swagger_client/models/selected_and_removed_image_pair.py +++ b/lightly/openapi_generated/swagger_client/models/selected_and_removed_image_pair.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictFloat, StrictInt, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. class SelectedAndRemovedImagePair(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/selection_config.py b/lightly/openapi_generated/swagger_client/models/selection_config.py index ee9e75db5..8aee97fd8 100644 --- a/lightly/openapi_generated/swagger_client/models/selection_config.py +++ b/lightly/openapi_generated/swagger_client/models/selection_config.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, confloat, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, confloat, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.selection_config_entry import SelectionConfigEntry class SelectionConfig(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/selection_config_all_of.py b/lightly/openapi_generated/swagger_client/models/selection_config_all_of.py index b1163eb18..6cef84b4d 100644 --- a/lightly/openapi_generated/swagger_client/models/selection_config_all_of.py +++ b/lightly/openapi_generated/swagger_client/models/selection_config_all_of.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.selection_config_entry import SelectionConfigEntry class SelectionConfigAllOf(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/selection_config_base.py b/lightly/openapi_generated/swagger_client/models/selection_config_base.py index b85f601cf..109cfdf9f 100644 --- a/lightly/openapi_generated/swagger_client/models/selection_config_base.py +++ b/lightly/openapi_generated/swagger_client/models/selection_config_base.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, confloat, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, confloat, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. class SelectionConfigBase(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/selection_config_entry.py b/lightly/openapi_generated/swagger_client/models/selection_config_entry.py index 36411a2e3..66a13338f 100644 --- a/lightly/openapi_generated/swagger_client/models/selection_config_entry.py +++ b/lightly/openapi_generated/swagger_client/models/selection_config_entry.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.selection_config_entry_input import SelectionConfigEntryInput from lightly.openapi_generated.swagger_client.models.selection_config_entry_strategy import SelectionConfigEntryStrategy diff --git a/lightly/openapi_generated/swagger_client/models/selection_config_entry_input.py b/lightly/openapi_generated/swagger_client/models/selection_config_entry_input.py index cf99e2dd5..f06dd960f 100644 --- a/lightly/openapi_generated/swagger_client/models/selection_config_entry_input.py +++ b/lightly/openapi_generated/swagger_client/models/selection_config_entry_input.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictInt, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictInt, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.selection_input_predictions_name import SelectionInputPredictionsName from lightly.openapi_generated.swagger_client.models.selection_input_type import SelectionInputType diff --git a/lightly/openapi_generated/swagger_client/models/selection_config_entry_strategy.py b/lightly/openapi_generated/swagger_client/models/selection_config_entry_strategy.py index 333dfc514..798c4542d 100644 --- a/lightly/openapi_generated/swagger_client/models/selection_config_entry_strategy.py +++ b/lightly/openapi_generated/swagger_client/models/selection_config_entry_strategy.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictFloat, StrictInt - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictFloat, StrictInt - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.selection_strategy_threshold_operation import SelectionStrategyThresholdOperation from lightly.openapi_generated.swagger_client.models.selection_strategy_type import SelectionStrategyType diff --git a/lightly/openapi_generated/swagger_client/models/selection_config_v3.py b/lightly/openapi_generated/swagger_client/models/selection_config_v3.py index 22afe37af..66c2831f8 100644 --- a/lightly/openapi_generated/swagger_client/models/selection_config_v3.py +++ b/lightly/openapi_generated/swagger_client/models/selection_config_v3.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, confloat, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, confloat, conint, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.selection_config_v3_entry import SelectionConfigV3Entry class SelectionConfigV3(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/selection_config_v3_all_of.py b/lightly/openapi_generated/swagger_client/models/selection_config_v3_all_of.py index aa86615c1..8d6e39fd0 100644 --- a/lightly/openapi_generated/swagger_client/models/selection_config_v3_all_of.py +++ b/lightly/openapi_generated/swagger_client/models/selection_config_v3_all_of.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.selection_config_v3_entry import SelectionConfigV3Entry class SelectionConfigV3AllOf(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/selection_config_v3_entry.py b/lightly/openapi_generated/swagger_client/models/selection_config_v3_entry.py index 3da94669d..8812b9d91 100644 --- a/lightly/openapi_generated/swagger_client/models/selection_config_v3_entry.py +++ b/lightly/openapi_generated/swagger_client/models/selection_config_v3_entry.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.selection_config_v3_entry_input import SelectionConfigV3EntryInput from lightly.openapi_generated.swagger_client.models.selection_config_v3_entry_strategy import SelectionConfigV3EntryStrategy diff --git a/lightly/openapi_generated/swagger_client/models/selection_config_v3_entry_input.py b/lightly/openapi_generated/swagger_client/models/selection_config_v3_entry_input.py index aad439725..0a27efd9a 100644 --- a/lightly/openapi_generated/swagger_client/models/selection_config_v3_entry_input.py +++ b/lightly/openapi_generated/swagger_client/models/selection_config_v3_entry_input.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictInt, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictInt, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.selection_input_predictions_name import SelectionInputPredictionsName from lightly.openapi_generated.swagger_client.models.selection_input_type import SelectionInputType diff --git a/lightly/openapi_generated/swagger_client/models/selection_config_v3_entry_strategy.py b/lightly/openapi_generated/swagger_client/models/selection_config_v3_entry_strategy.py index ef3b8ad8d..42f94019f 100644 --- a/lightly/openapi_generated/swagger_client/models/selection_config_v3_entry_strategy.py +++ b/lightly/openapi_generated/swagger_client/models/selection_config_v3_entry_strategy.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictFloat, StrictInt, confloat, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictFloat, StrictInt, confloat, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.selection_config_v3_entry_strategy_all_of_target_range import SelectionConfigV3EntryStrategyAllOfTargetRange from lightly.openapi_generated.swagger_client.models.selection_strategy_threshold_operation import SelectionStrategyThresholdOperation from lightly.openapi_generated.swagger_client.models.selection_strategy_type_v3 import SelectionStrategyTypeV3 diff --git a/lightly/openapi_generated/swagger_client/models/selection_config_v3_entry_strategy_all_of.py b/lightly/openapi_generated/swagger_client/models/selection_config_v3_entry_strategy_all_of.py index 7be5eccd4..47a936061 100644 --- a/lightly/openapi_generated/swagger_client/models/selection_config_v3_entry_strategy_all_of.py +++ b/lightly/openapi_generated/swagger_client/models/selection_config_v3_entry_strategy_all_of.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, confloat, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, confloat, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.selection_config_v3_entry_strategy_all_of_target_range import SelectionConfigV3EntryStrategyAllOfTargetRange from lightly.openapi_generated.swagger_client.models.selection_strategy_type_v3 import SelectionStrategyTypeV3 diff --git a/lightly/openapi_generated/swagger_client/models/selection_config_v3_entry_strategy_all_of_target_range.py b/lightly/openapi_generated/swagger_client/models/selection_config_v3_entry_strategy_all_of_target_range.py index 5e1e3dacd..f244466f2 100644 --- a/lightly/openapi_generated/swagger_client/models/selection_config_v3_entry_strategy_all_of_target_range.py +++ b/lightly/openapi_generated/swagger_client/models/selection_config_v3_entry_strategy_all_of_target_range.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, confloat, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, confloat, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. class SelectionConfigV3EntryStrategyAllOfTargetRange(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/selection_config_v4.py b/lightly/openapi_generated/swagger_client/models/selection_config_v4.py index 7b101e478..ba02c67a7 100644 --- a/lightly/openapi_generated/swagger_client/models/selection_config_v4.py +++ b/lightly/openapi_generated/swagger_client/models/selection_config_v4.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, confloat, conint, conlist, constr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, confloat, conint, conlist, constr - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.selection_config_v4_entry import SelectionConfigV4Entry class SelectionConfigV4(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/selection_config_v4_all_of.py b/lightly/openapi_generated/swagger_client/models/selection_config_v4_all_of.py index c2c498ec6..889a0fcf6 100644 --- a/lightly/openapi_generated/swagger_client/models/selection_config_v4_all_of.py +++ b/lightly/openapi_generated/swagger_client/models/selection_config_v4_all_of.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, conlist, constr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, conlist, constr - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.selection_config_v4_entry import SelectionConfigV4Entry class SelectionConfigV4AllOf(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/selection_config_v4_entry.py b/lightly/openapi_generated/swagger_client/models/selection_config_v4_entry.py index 718d5c395..498433edb 100644 --- a/lightly/openapi_generated/swagger_client/models/selection_config_v4_entry.py +++ b/lightly/openapi_generated/swagger_client/models/selection_config_v4_entry.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.selection_config_v4_entry_input import SelectionConfigV4EntryInput from lightly.openapi_generated.swagger_client.models.selection_config_v4_entry_strategy import SelectionConfigV4EntryStrategy diff --git a/lightly/openapi_generated/swagger_client/models/selection_config_v4_entry_input.py b/lightly/openapi_generated/swagger_client/models/selection_config_v4_entry_input.py index da48ff17d..33c4596c7 100644 --- a/lightly/openapi_generated/swagger_client/models/selection_config_v4_entry_input.py +++ b/lightly/openapi_generated/swagger_client/models/selection_config_v4_entry_input.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictInt, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictInt, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.selection_input_predictions_name import SelectionInputPredictionsName from lightly.openapi_generated.swagger_client.models.selection_input_type import SelectionInputType diff --git a/lightly/openapi_generated/swagger_client/models/selection_config_v4_entry_strategy.py b/lightly/openapi_generated/swagger_client/models/selection_config_v4_entry_strategy.py index 4f415712f..4ad430c21 100644 --- a/lightly/openapi_generated/swagger_client/models/selection_config_v4_entry_strategy.py +++ b/lightly/openapi_generated/swagger_client/models/selection_config_v4_entry_strategy.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictFloat, StrictInt, StrictStr, confloat, conint, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr, confloat, conint, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.selection_config_v3_entry_strategy_all_of_target_range import SelectionConfigV3EntryStrategyAllOfTargetRange from lightly.openapi_generated.swagger_client.models.selection_strategy_threshold_operation import SelectionStrategyThresholdOperation from lightly.openapi_generated.swagger_client.models.selection_strategy_type_v3 import SelectionStrategyTypeV3 diff --git a/lightly/openapi_generated/swagger_client/models/selection_config_v4_entry_strategy_all_of.py b/lightly/openapi_generated/swagger_client/models/selection_config_v4_entry_strategy_all_of.py index c8c0bf718..c0f7dc663 100644 --- a/lightly/openapi_generated/swagger_client/models/selection_config_v4_entry_strategy_all_of.py +++ b/lightly/openapi_generated/swagger_client/models/selection_config_v4_entry_strategy_all_of.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.selection_strategy_type_v3 import SelectionStrategyTypeV3 class SelectionConfigV4EntryStrategyAllOf(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/selection_input_predictions_name.py b/lightly/openapi_generated/swagger_client/models/selection_input_predictions_name.py index b5be5bcad..b7864f0b3 100644 --- a/lightly/openapi_generated/swagger_client/models/selection_input_predictions_name.py +++ b/lightly/openapi_generated/swagger_client/models/selection_input_predictions_name.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class SelectionInputPredictionsName(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/selection_input_type.py b/lightly/openapi_generated/swagger_client/models/selection_input_type.py index 322797c32..cbbfa6841 100644 --- a/lightly/openapi_generated/swagger_client/models/selection_input_type.py +++ b/lightly/openapi_generated/swagger_client/models/selection_input_type.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class SelectionInputType(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/selection_strategy_threshold_operation.py b/lightly/openapi_generated/swagger_client/models/selection_strategy_threshold_operation.py index a07260917..e416e2f5f 100644 --- a/lightly/openapi_generated/swagger_client/models/selection_strategy_threshold_operation.py +++ b/lightly/openapi_generated/swagger_client/models/selection_strategy_threshold_operation.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class SelectionStrategyThresholdOperation(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/selection_strategy_type.py b/lightly/openapi_generated/swagger_client/models/selection_strategy_type.py index b4c38ce53..686f2054b 100644 --- a/lightly/openapi_generated/swagger_client/models/selection_strategy_type.py +++ b/lightly/openapi_generated/swagger_client/models/selection_strategy_type.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class SelectionStrategyType(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/selection_strategy_type_v3.py b/lightly/openapi_generated/swagger_client/models/selection_strategy_type_v3.py index 1454b6af1..4d1984560 100644 --- a/lightly/openapi_generated/swagger_client/models/selection_strategy_type_v3.py +++ b/lightly/openapi_generated/swagger_client/models/selection_strategy_type_v3.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class SelectionStrategyTypeV3(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/service_account_basic_data.py b/lightly/openapi_generated/swagger_client/models/service_account_basic_data.py index 0837133f3..0dc73cefd 100644 --- a/lightly/openapi_generated/swagger_client/models/service_account_basic_data.py +++ b/lightly/openapi_generated/swagger_client/models/service_account_basic_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, conint, constr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, conint, constr - pass # Add pass to avoid empty try/except if no imports are generated for this file. class ServiceAccountBasicData(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/set_embeddings_is_processed_flag_by_id_body_request.py b/lightly/openapi_generated/swagger_client/models/set_embeddings_is_processed_flag_by_id_body_request.py index 3d94ee669..980261380 100644 --- a/lightly/openapi_generated/swagger_client/models/set_embeddings_is_processed_flag_by_id_body_request.py +++ b/lightly/openapi_generated/swagger_client/models/set_embeddings_is_processed_flag_by_id_body_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictFloat, StrictInt - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictFloat, StrictInt - pass # Add pass to avoid empty try/except if no imports are generated for this file. class SetEmbeddingsIsProcessedFlagByIdBodyRequest(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/shared_access_config_create_request.py b/lightly/openapi_generated/swagger_client/models/shared_access_config_create_request.py index 4730bbf79..8f7d76bca 100644 --- a/lightly/openapi_generated/swagger_client/models/shared_access_config_create_request.py +++ b/lightly/openapi_generated/swagger_client/models/shared_access_config_create_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, conlist - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.creator import Creator from lightly.openapi_generated.swagger_client.models.shared_access_type import SharedAccessType diff --git a/lightly/openapi_generated/swagger_client/models/shared_access_config_data.py b/lightly/openapi_generated/swagger_client/models/shared_access_config_data.py index 476251696..f12d45ff8 100644 --- a/lightly/openapi_generated/swagger_client/models/shared_access_config_data.py +++ b/lightly/openapi_generated/swagger_client/models/shared_access_config_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, conint, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, conint, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.shared_access_type import SharedAccessType class SharedAccessConfigData(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/shared_access_type.py b/lightly/openapi_generated/swagger_client/models/shared_access_type.py index 22dc14b1a..42416f2c2 100644 --- a/lightly/openapi_generated/swagger_client/models/shared_access_type.py +++ b/lightly/openapi_generated/swagger_client/models/shared_access_type.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class SharedAccessType(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/tag_active_learning_scores_data.py b/lightly/openapi_generated/swagger_client/models/tag_active_learning_scores_data.py index eae651741..29084e9ce 100644 --- a/lightly/openapi_generated/swagger_client/models/tag_active_learning_scores_data.py +++ b/lightly/openapi_generated/swagger_client/models/tag_active_learning_scores_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, conint, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, conint, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. class TagActiveLearningScoresData(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/tag_arithmetics_operation.py b/lightly/openapi_generated/swagger_client/models/tag_arithmetics_operation.py index b0eb51a80..491303003 100644 --- a/lightly/openapi_generated/swagger_client/models/tag_arithmetics_operation.py +++ b/lightly/openapi_generated/swagger_client/models/tag_arithmetics_operation.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class TagArithmeticsOperation(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/tag_arithmetics_request.py b/lightly/openapi_generated/swagger_client/models/tag_arithmetics_request.py index 35e870295..445ab0940 100644 --- a/lightly/openapi_generated/swagger_client/models/tag_arithmetics_request.py +++ b/lightly/openapi_generated/swagger_client/models/tag_arithmetics_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.tag_arithmetics_operation import TagArithmeticsOperation from lightly.openapi_generated.swagger_client.models.tag_creator import TagCreator diff --git a/lightly/openapi_generated/swagger_client/models/tag_arithmetics_response.py b/lightly/openapi_generated/swagger_client/models/tag_arithmetics_response.py index bb36c53b6..034fe0794 100644 --- a/lightly/openapi_generated/swagger_client/models/tag_arithmetics_response.py +++ b/lightly/openapi_generated/swagger_client/models/tag_arithmetics_response.py @@ -23,14 +23,11 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, ValidationError, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, ValidationError, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.create_entity_response import CreateEntityResponse from lightly.openapi_generated.swagger_client.models.tag_bit_mask_response import TagBitMaskResponse -from typing import Any, List try: # Pydantic >=v1.10.17 from pydantic.v1 import StrictStr, Field diff --git a/lightly/openapi_generated/swagger_client/models/tag_bit_mask_response.py b/lightly/openapi_generated/swagger_client/models/tag_bit_mask_response.py index e7757d758..50907e101 100644 --- a/lightly/openapi_generated/swagger_client/models/tag_bit_mask_response.py +++ b/lightly/openapi_generated/swagger_client/models/tag_bit_mask_response.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. class TagBitMaskResponse(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/tag_change_data.py b/lightly/openapi_generated/swagger_client/models/tag_change_data.py index b2cf51647..ec628a1f4 100644 --- a/lightly/openapi_generated/swagger_client/models/tag_change_data.py +++ b/lightly/openapi_generated/swagger_client/models/tag_change_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.tag_change_data_arithmetics import TagChangeDataArithmetics from lightly.openapi_generated.swagger_client.models.tag_change_data_initial import TagChangeDataInitial from lightly.openapi_generated.swagger_client.models.tag_change_data_metadata import TagChangeDataMetadata diff --git a/lightly/openapi_generated/swagger_client/models/tag_change_data_arithmetics.py b/lightly/openapi_generated/swagger_client/models/tag_change_data_arithmetics.py index 976eb93df..39ca247c2 100644 --- a/lightly/openapi_generated/swagger_client/models/tag_change_data_arithmetics.py +++ b/lightly/openapi_generated/swagger_client/models/tag_change_data_arithmetics.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. class TagChangeDataArithmetics(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/tag_change_data_initial.py b/lightly/openapi_generated/swagger_client/models/tag_change_data_initial.py index c8a0d803f..338082c94 100644 --- a/lightly/openapi_generated/swagger_client/models/tag_change_data_initial.py +++ b/lightly/openapi_generated/swagger_client/models/tag_change_data_initial.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. class TagChangeDataInitial(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/tag_change_data_metadata.py b/lightly/openapi_generated/swagger_client/models/tag_change_data_metadata.py index 11d90bd92..3c0311078 100644 --- a/lightly/openapi_generated/swagger_client/models/tag_change_data_metadata.py +++ b/lightly/openapi_generated/swagger_client/models/tag_change_data_metadata.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, confloat, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, confloat, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.tag_change_data_operation_method import TagChangeDataOperationMethod class TagChangeDataMetadata(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/tag_change_data_operation_method.py b/lightly/openapi_generated/swagger_client/models/tag_change_data_operation_method.py index 70af22034..6a20dc2f0 100644 --- a/lightly/openapi_generated/swagger_client/models/tag_change_data_operation_method.py +++ b/lightly/openapi_generated/swagger_client/models/tag_change_data_operation_method.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class TagChangeDataOperationMethod(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/tag_change_data_rename.py b/lightly/openapi_generated/swagger_client/models/tag_change_data_rename.py index b13c6a783..2d1dff2df 100644 --- a/lightly/openapi_generated/swagger_client/models/tag_change_data_rename.py +++ b/lightly/openapi_generated/swagger_client/models/tag_change_data_rename.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. class TagChangeDataRename(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/tag_change_data_sampler.py b/lightly/openapi_generated/swagger_client/models/tag_change_data_sampler.py index 9ab6acfe8..e6ec152cf 100644 --- a/lightly/openapi_generated/swagger_client/models/tag_change_data_sampler.py +++ b/lightly/openapi_generated/swagger_client/models/tag_change_data_sampler.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. class TagChangeDataSampler(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/tag_change_data_samples.py b/lightly/openapi_generated/swagger_client/models/tag_change_data_samples.py index 6505abbd6..d0518e322 100644 --- a/lightly/openapi_generated/swagger_client/models/tag_change_data_samples.py +++ b/lightly/openapi_generated/swagger_client/models/tag_change_data_samples.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, confloat, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, confloat, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.tag_change_data_operation_method import TagChangeDataOperationMethod class TagChangeDataSamples(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/tag_change_data_scatterplot.py b/lightly/openapi_generated/swagger_client/models/tag_change_data_scatterplot.py index df08eeaac..623cd269f 100644 --- a/lightly/openapi_generated/swagger_client/models/tag_change_data_scatterplot.py +++ b/lightly/openapi_generated/swagger_client/models/tag_change_data_scatterplot.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, confloat, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, confloat, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.tag_change_data_operation_method import TagChangeDataOperationMethod class TagChangeDataScatterplot(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/tag_change_data_upsize.py b/lightly/openapi_generated/swagger_client/models/tag_change_data_upsize.py index 18a3ecf7a..d9616f566 100644 --- a/lightly/openapi_generated/swagger_client/models/tag_change_data_upsize.py +++ b/lightly/openapi_generated/swagger_client/models/tag_change_data_upsize.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictFloat, StrictInt, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictFloat, StrictInt, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. class TagChangeDataUpsize(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/tag_change_entry.py b/lightly/openapi_generated/swagger_client/models/tag_change_entry.py index cdbe345ff..2e01d38d6 100644 --- a/lightly/openapi_generated/swagger_client/models/tag_change_entry.py +++ b/lightly/openapi_generated/swagger_client/models/tag_change_entry.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, conint - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.tag_change_data import TagChangeData from lightly.openapi_generated.swagger_client.models.tag_creator import TagCreator diff --git a/lightly/openapi_generated/swagger_client/models/tag_create_request.py b/lightly/openapi_generated/swagger_client/models/tag_create_request.py index c76929071..8b7fe27bb 100644 --- a/lightly/openapi_generated/swagger_client/models/tag_create_request.py +++ b/lightly/openapi_generated/swagger_client/models/tag_create_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictInt, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictInt, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.tag_change_data import TagChangeData from lightly.openapi_generated.swagger_client.models.tag_creator import TagCreator diff --git a/lightly/openapi_generated/swagger_client/models/tag_creator.py b/lightly/openapi_generated/swagger_client/models/tag_creator.py index 42f39c441..91d84d8f2 100644 --- a/lightly/openapi_generated/swagger_client/models/tag_creator.py +++ b/lightly/openapi_generated/swagger_client/models/tag_creator.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class TagCreator(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/tag_data.py b/lightly/openapi_generated/swagger_client/models/tag_data.py index 130385982..1410aeebc 100644 --- a/lightly/openapi_generated/swagger_client/models/tag_data.py +++ b/lightly/openapi_generated/swagger_client/models/tag_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictInt, conint, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictInt, conint, conlist, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.tag_change_entry import TagChangeEntry class TagData(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/tag_update_request.py b/lightly/openapi_generated/swagger_client/models/tag_update_request.py index b33072920..0b57fe6fc 100644 --- a/lightly/openapi_generated/swagger_client/models/tag_update_request.py +++ b/lightly/openapi_generated/swagger_client/models/tag_update_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.tag_change_data import TagChangeData from lightly.openapi_generated.swagger_client.models.tag_creator import TagCreator diff --git a/lightly/openapi_generated/swagger_client/models/tag_upsize_request.py b/lightly/openapi_generated/swagger_client/models/tag_upsize_request.py index b5963b73e..5206615f8 100644 --- a/lightly/openapi_generated/swagger_client/models/tag_upsize_request.py +++ b/lightly/openapi_generated/swagger_client/models/tag_upsize_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.tag_creator import TagCreator class TagUpsizeRequest(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/task_annotation_savings.py b/lightly/openapi_generated/swagger_client/models/task_annotation_savings.py index 7d3ae52a0..a4fd46b81 100644 --- a/lightly/openapi_generated/swagger_client/models/task_annotation_savings.py +++ b/lightly/openapi_generated/swagger_client/models/task_annotation_savings.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictFloat, StrictInt - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictFloat, StrictInt - pass # Add pass to avoid empty try/except if no imports are generated for this file. class TaskAnnotationSavings(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/task_type.py b/lightly/openapi_generated/swagger_client/models/task_type.py index a87375745..9a645473f 100644 --- a/lightly/openapi_generated/swagger_client/models/task_type.py +++ b/lightly/openapi_generated/swagger_client/models/task_type.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class TaskType(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/team_basic_data.py b/lightly/openapi_generated/swagger_client/models/team_basic_data.py index 35ba7b82c..af92a128e 100644 --- a/lightly/openapi_generated/swagger_client/models/team_basic_data.py +++ b/lightly/openapi_generated/swagger_client/models/team_basic_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.team_role import TeamRole class TeamBasicData(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/team_data.py b/lightly/openapi_generated/swagger_client/models/team_data.py index 792658a79..bb01602e5 100644 --- a/lightly/openapi_generated/swagger_client/models/team_data.py +++ b/lightly/openapi_generated/swagger_client/models/team_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr, conint, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr, conint, constr, validator - pass # Add pass to avoid empty try/except if no imports are generated for this file. class TeamData(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/team_role.py b/lightly/openapi_generated/swagger_client/models/team_role.py index 9216b1d80..47a073695 100644 --- a/lightly/openapi_generated/swagger_client/models/team_role.py +++ b/lightly/openapi_generated/swagger_client/models/team_role.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class TeamRole(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/trigger2d_embedding_job_request.py b/lightly/openapi_generated/swagger_client/models/trigger2d_embedding_job_request.py index 322a722b1..51e05f455 100644 --- a/lightly/openapi_generated/swagger_client/models/trigger2d_embedding_job_request.py +++ b/lightly/openapi_generated/swagger_client/models/trigger2d_embedding_job_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.dimensionality_reduction_method import DimensionalityReductionMethod class Trigger2dEmbeddingJobRequest(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/update_docker_worker_registry_entry_request.py b/lightly/openapi_generated/swagger_client/models/update_docker_worker_registry_entry_request.py index 241a9267e..1a9874abf 100644 --- a/lightly/openapi_generated/swagger_client/models/update_docker_worker_registry_entry_request.py +++ b/lightly/openapi_generated/swagger_client/models/update_docker_worker_registry_entry_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.docker_worker_state import DockerWorkerState class UpdateDockerWorkerRegistryEntryRequest(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/update_team_membership_request.py b/lightly/openapi_generated/swagger_client/models/update_team_membership_request.py index 52e81ed37..0e339e0bb 100644 --- a/lightly/openapi_generated/swagger_client/models/update_team_membership_request.py +++ b/lightly/openapi_generated/swagger_client/models/update_team_membership_request.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field - pass # Add pass to avoid empty try/except if no imports are generated for this file. from lightly.openapi_generated.swagger_client.models.team_role import TeamRole class UpdateTeamMembershipRequest(BaseModel): diff --git a/lightly/openapi_generated/swagger_client/models/user_type.py b/lightly/openapi_generated/swagger_client/models/user_type.py index b5202d0a5..ff333fa72 100644 --- a/lightly/openapi_generated/swagger_client/models/user_type.py +++ b/lightly/openapi_generated/swagger_client/models/user_type.py @@ -20,14 +20,7 @@ from aenum import no_arg # type: ignore -try: - # Pydantic >=v1.10.17 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. -except ImportError: - # Pydantic v1 - - pass # Add pass to avoid empty try/except if no imports are generated for this file. + class UserType(str, Enum): diff --git a/lightly/openapi_generated/swagger_client/models/video_frame_data.py b/lightly/openapi_generated/swagger_client/models/video_frame_data.py index af49050e9..69affb7f5 100644 --- a/lightly/openapi_generated/swagger_client/models/video_frame_data.py +++ b/lightly/openapi_generated/swagger_client/models/video_frame_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictFloat, StrictInt, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. class VideoFrameData(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/worker_information.py b/lightly/openapi_generated/swagger_client/models/worker_information.py index 9f8094fc8..062f25618 100644 --- a/lightly/openapi_generated/swagger_client/models/worker_information.py +++ b/lightly/openapi_generated/swagger_client/models/worker_information.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. class WorkerInformation(BaseModel): """ diff --git a/lightly/openapi_generated/swagger_client/models/write_csv_url_data.py b/lightly/openapi_generated/swagger_client/models/write_csv_url_data.py index 98b300303..92b39e09c 100644 --- a/lightly/openapi_generated/swagger_client/models/write_csv_url_data.py +++ b/lightly/openapi_generated/swagger_client/models/write_csv_url_data.py @@ -23,11 +23,9 @@ try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. except ImportError: # Pydantic v1 from pydantic import BaseModel, Field, StrictStr - pass # Add pass to avoid empty try/except if no imports are generated for this file. class WriteCSVUrlData(BaseModel): """