polyaxon-sdk 1.18.0rc7__py2.py3-none-any.whl → 2.1.6__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- polyaxon_sdk/__init__.py +26 -34
- polyaxon_sdk/api/__init__.py +2 -18
- polyaxon_sdk/api/agents_v1_api.py +2314 -1108
- polyaxon_sdk/api/artifacts_stores_v1_api.py +90 -97
- polyaxon_sdk/api/auth_v1_api.py +398 -359
- polyaxon_sdk/api/connections_v1_api.py +516 -488
- polyaxon_sdk/api/dashboards_v1_api.py +516 -488
- polyaxon_sdk/api/organizations_v1_api.py +3107 -2327
- polyaxon_sdk/api/policies_v1_api.py +1232 -0
- polyaxon_sdk/api/presets_v1_api.py +528 -498
- polyaxon_sdk/api/project_dashboards_v1_api.py +596 -590
- polyaxon_sdk/api/project_searches_v1_api.py +596 -590
- polyaxon_sdk/api/projects_v1_api.py +2248 -2167
- polyaxon_sdk/api/queues_v1_api.py +701 -670
- polyaxon_sdk/api/runs_v1_api.py +5136 -4477
- polyaxon_sdk/api/schemas_v1_api.py +64 -70
- polyaxon_sdk/api/searches_v1_api.py +516 -488
- polyaxon_sdk/api/service_accounts_v1_api.py +956 -920
- polyaxon_sdk/api/tags_v1_api.py +587 -552
- polyaxon_sdk/api/teams_v1_api.py +953 -916
- polyaxon_sdk/api/users_v1_api.py +730 -646
- polyaxon_sdk/api/versions_v1_api.py +206 -190
- polyaxon_sdk/api_client.py +145 -101
- polyaxon_sdk/configuration.py +46 -79
- polyaxon_sdk/exceptions.py +6 -23
- polyaxon_sdk/models/__init__.py +24 -32
- polyaxon_sdk/models/agent_state_response_agent_state.py +71 -364
- polyaxon_sdk/models/mx_job_mode.py +12 -105
- polyaxon_sdk/models/protobuf_any.py +65 -164
- polyaxon_sdk/models/protobuf_null_value.py +11 -104
- polyaxon_sdk/models/runtime_error.py +67 -208
- polyaxon_sdk/models/search_view.py +18 -111
- polyaxon_sdk/models/v1_activity.py +68 -313
- polyaxon_sdk/models/v1_agent.py +93 -495
- polyaxon_sdk/models/v1_agent_reconcile_body_request.py +75 -0
- polyaxon_sdk/models/v1_agent_state_response.py +64 -208
- polyaxon_sdk/models/v1_agent_status_body_request.py +61 -182
- polyaxon_sdk/models/v1_analytics_spec.py +59 -208
- polyaxon_sdk/models/v1_artifact_kind.py +42 -134
- polyaxon_sdk/models/v1_artifact_tree.py +57 -182
- polyaxon_sdk/models/v1_artifacts_mount.py +55 -156
- polyaxon_sdk/models/v1_artifacts_type.py +57 -182
- polyaxon_sdk/models/v1_auth.py +54 -131
- polyaxon_sdk/models/v1_auth_type.py +55 -156
- polyaxon_sdk/models/v1_average_stopping_policy.py +54 -131
- polyaxon_sdk/models/v1_bayes.py +79 -364
- polyaxon_sdk/models/v1_bucket_connection.py +54 -131
- polyaxon_sdk/models/v1_build.py +82 -312
- polyaxon_sdk/models/v1_cache.py +59 -208
- polyaxon_sdk/models/v1_claim_connection.py +59 -208
- polyaxon_sdk/models/v1_clean_pod_policy.py +13 -106
- polyaxon_sdk/models/v1_cloning.py +58 -182
- polyaxon_sdk/models/v1_cloning_kind.py +13 -106
- polyaxon_sdk/models/v1_compatibility.py +72 -208
- polyaxon_sdk/models/v1_compiled_operation.py +171 -783
- polyaxon_sdk/models/v1_component.py +132 -572
- polyaxon_sdk/models/v1_connection_kind.py +53 -146
- polyaxon_sdk/models/v1_connection_resource.py +77 -0
- polyaxon_sdk/models/v1_connection_response.py +71 -339
- polyaxon_sdk/models/v1_connection_schema.py +81 -234
- polyaxon_sdk/models/v1_connection_type.py +77 -338
- polyaxon_sdk/models/v1_credentials.py +55 -156
- polyaxon_sdk/models/v1_cron_schedule.py +64 -261
- polyaxon_sdk/models/v1_dag.py +87 -314
- polyaxon_sdk/models/v1_dag_ref.py +55 -156
- polyaxon_sdk/models/v1_dashboard.py +74 -339
- polyaxon_sdk/models/v1_dashboard_spec.py +70 -131
- polyaxon_sdk/models/v1_dask_job.py +87 -0
- polyaxon_sdk/models/v1_dask_replica.py +95 -0
- polyaxon_sdk/models/v1_date_time_schedule.py +56 -157
- polyaxon_sdk/models/v1_diff_stopping_policy.py +61 -236
- polyaxon_sdk/models/v1_dockerfile_type.py +79 -468
- polyaxon_sdk/models/v1_early_stopping.py +81 -234
- polyaxon_sdk/models/v1_entities_tags.py +55 -156
- polyaxon_sdk/models/v1_entities_transfer.py +55 -156
- polyaxon_sdk/models/v1_entity_notification_body.py +69 -286
- polyaxon_sdk/models/v1_entity_stage_body_request.py +65 -234
- polyaxon_sdk/models/v1_entity_status_body_request.py +65 -234
- polyaxon_sdk/models/v1_environment.py +87 -588
- polyaxon_sdk/models/v1_event.py +130 -499
- polyaxon_sdk/models/v1_event_artifact.py +56 -156
- polyaxon_sdk/models/v1_event_audio.py +61 -240
- polyaxon_sdk/models/v1_event_chart.py +56 -156
- polyaxon_sdk/models/v1_event_chart_kind.py +13 -106
- polyaxon_sdk/models/v1_event_confusion_matrix.py +57 -182
- polyaxon_sdk/models/v1_event_curve.py +60 -208
- polyaxon_sdk/models/v1_event_curve_kind.py +13 -106
- polyaxon_sdk/models/v1_event_dataframe.py +55 -156
- polyaxon_sdk/models/v1_event_histogram.py +55 -156
- polyaxon_sdk/models/v1_event_image.py +59 -212
- polyaxon_sdk/models/v1_event_kind.py +42 -135
- polyaxon_sdk/models/v1_event_model.py +57 -182
- polyaxon_sdk/models/v1_event_span.py +110 -0
- polyaxon_sdk/models/v1_event_span_kind.py +39 -0
- polyaxon_sdk/models/v1_event_trigger.py +56 -156
- polyaxon_sdk/models/v1_event_type.py +56 -156
- polyaxon_sdk/models/v1_event_video.py +61 -238
- polyaxon_sdk/models/v1_events_response.py +54 -131
- polyaxon_sdk/models/v1_failure_early_stopping.py +55 -158
- polyaxon_sdk/models/v1_file_type.py +59 -208
- polyaxon_sdk/models/v1_gcs_type.py +55 -156
- polyaxon_sdk/models/v1_git_connection.py +57 -182
- polyaxon_sdk/models/v1_git_type.py +57 -182
- polyaxon_sdk/models/v1_grid_search.py +63 -260
- polyaxon_sdk/models/v1_hook.py +78 -312
- polyaxon_sdk/models/v1_host_connection.py +55 -156
- polyaxon_sdk/models/v1_host_path_connection.py +59 -208
- polyaxon_sdk/models/v1_hp_choice.py +55 -156
- polyaxon_sdk/models/v1_hp_date_range.py +55 -156
- polyaxon_sdk/models/v1_hp_date_time_range.py +55 -156
- polyaxon_sdk/models/v1_hp_geom_space.py +55 -156
- polyaxon_sdk/models/v1_hp_lin_space.py +55 -156
- polyaxon_sdk/models/v1_hp_log_normal.py +55 -156
- polyaxon_sdk/models/v1_hp_log_space.py +55 -156
- polyaxon_sdk/models/v1_hp_log_uniform.py +55 -156
- polyaxon_sdk/models/v1_hp_normal.py +55 -156
- polyaxon_sdk/models/v1_hp_p_choice.py +55 -156
- polyaxon_sdk/models/v1_hp_params.py +150 -523
- polyaxon_sdk/models/v1_hp_q_log_normal.py +55 -156
- polyaxon_sdk/models/v1_hp_q_log_uniform.py +55 -156
- polyaxon_sdk/models/v1_hp_q_normal.py +55 -156
- polyaxon_sdk/models/v1_hp_q_uniform.py +55 -156
- polyaxon_sdk/models/v1_hp_range.py +55 -156
- polyaxon_sdk/models/v1_hp_uniform.py +55 -156
- polyaxon_sdk/models/v1_hub_ref.py +55 -156
- polyaxon_sdk/models/v1_hyperband.py +85 -390
- polyaxon_sdk/models/v1_hyperopt.py +80 -364
- polyaxon_sdk/models/v1_hyperopt_algorithms.py +13 -106
- polyaxon_sdk/models/v1_init.py +95 -416
- polyaxon_sdk/models/v1_installation.py +67 -260
- polyaxon_sdk/models/v1_interval_schedule.py +64 -261
- polyaxon_sdk/models/v1_io.py +83 -442
- polyaxon_sdk/models/v1_iterative.py +69 -286
- polyaxon_sdk/models/v1_job.py +77 -288
- polyaxon_sdk/models/v1_join.py +71 -260
- polyaxon_sdk/models/v1_join_param.py +61 -234
- polyaxon_sdk/models/v1_kf_replica.py +77 -286
- polyaxon_sdk/models/v1_list_activities_response.py +67 -208
- polyaxon_sdk/models/v1_list_agents_response.py +67 -208
- polyaxon_sdk/models/v1_list_bookmarks_response.py +59 -208
- polyaxon_sdk/models/v1_list_connections_response.py +67 -208
- polyaxon_sdk/models/v1_list_dashboards_response.py +67 -208
- polyaxon_sdk/models/v1_list_organization_members_response.py +67 -208
- polyaxon_sdk/models/v1_list_organizations_response.py +67 -208
- polyaxon_sdk/models/v1_list_policies_response.py +85 -0
- polyaxon_sdk/models/v1_list_presets_response.py +67 -208
- polyaxon_sdk/models/v1_list_project_versions_response.py +67 -208
- polyaxon_sdk/models/v1_list_projects_response.py +67 -208
- polyaxon_sdk/models/v1_list_queues_response.py +67 -208
- polyaxon_sdk/models/v1_list_run_artifacts_response.py +67 -208
- polyaxon_sdk/models/v1_list_run_connections_response.py +67 -208
- polyaxon_sdk/models/v1_list_run_edges_response.py +67 -208
- polyaxon_sdk/models/v1_list_runs_response.py +67 -208
- polyaxon_sdk/models/v1_list_searches_response.py +67 -208
- polyaxon_sdk/models/v1_list_service_accounts_response.py +67 -208
- polyaxon_sdk/models/v1_list_tags_response.py +67 -208
- polyaxon_sdk/models/v1_list_team_members_response.py +67 -208
- polyaxon_sdk/models/v1_list_teams_response.py +67 -208
- polyaxon_sdk/models/v1_list_token_response.py +67 -208
- polyaxon_sdk/models/v1_log.py +62 -235
- polyaxon_sdk/models/v1_log_handler.py +55 -156
- polyaxon_sdk/models/v1_logs.py +68 -209
- polyaxon_sdk/models/v1_managed_by.py +36 -0
- polyaxon_sdk/models/v1_mapping.py +59 -208
- polyaxon_sdk/models/v1_matrix.py +93 -286
- polyaxon_sdk/models/v1_matrix_kind.py +17 -110
- polyaxon_sdk/models/v1_median_stopping_policy.py +59 -210
- polyaxon_sdk/models/v1_metric_early_stopping.py +62 -238
- polyaxon_sdk/models/v1_mpi_job.py +75 -312
- polyaxon_sdk/models/v1_multi_events_response.py +71 -0
- polyaxon_sdk/models/v1_mx_job.py +96 -364
- polyaxon_sdk/models/v1_notification.py +56 -156
- polyaxon_sdk/models/v1_operation.py +178 -939
- polyaxon_sdk/models/v1_operation_body.py +69 -286
- polyaxon_sdk/models/v1_optimization.py +12 -105
- polyaxon_sdk/models/v1_optimization_metric.py +56 -156
- polyaxon_sdk/models/v1_optimization_resource.py +56 -156
- polyaxon_sdk/models/v1_organization.py +84 -495
- polyaxon_sdk/models/v1_organization_member.py +64 -261
- polyaxon_sdk/models/v1_paddle_elastic_polic.py +77 -0
- polyaxon_sdk/models/v1_paddle_job.py +97 -0
- polyaxon_sdk/models/v1_param.py +63 -260
- polyaxon_sdk/models/v1_password_change.py +57 -182
- polyaxon_sdk/models/v1_patch_strategy.py +14 -107
- polyaxon_sdk/models/v1_path_ref.py +55 -156
- polyaxon_sdk/models/v1_pipeline.py +58 -182
- polyaxon_sdk/models/v1_pipeline_kind.py +12 -105
- polyaxon_sdk/models/v1_plugins.py +89 -442
- polyaxon_sdk/models/v1_policy.py +119 -0
- polyaxon_sdk/models/v1_polyaxon_init_container.py +59 -208
- polyaxon_sdk/models/v1_polyaxon_sidecar_container.py +67 -286
- polyaxon_sdk/models/v1_preset.py +70 -339
- polyaxon_sdk/models/v1_project.py +90 -495
- polyaxon_sdk/models/v1_project_settings.py +81 -338
- polyaxon_sdk/models/v1_project_version.py +102 -601
- polyaxon_sdk/models/v1_project_version_kind.py +13 -106
- polyaxon_sdk/models/v1_pytorch_elastic_policy.py +91 -0
- polyaxon_sdk/models/v1_pytorch_job.py +81 -234
- polyaxon_sdk/models/v1_queue.py +76 -417
- polyaxon_sdk/models/v1_random_search.py +63 -260
- polyaxon_sdk/models/v1_ray_job.py +94 -0
- polyaxon_sdk/models/v1_ray_replica.py +103 -0
- polyaxon_sdk/models/v1_reference.py +75 -208
- polyaxon_sdk/models/v1_resource_type.py +12 -105
- polyaxon_sdk/models/v1_run.py +158 -1043
- polyaxon_sdk/models/v1_run_artifact.py +70 -338
- polyaxon_sdk/models/v1_run_artifacts.py +62 -131
- polyaxon_sdk/models/v1_run_connection.py +57 -182
- polyaxon_sdk/models/v1_run_edge.py +70 -234
- polyaxon_sdk/models/v1_run_edge_kind.py +19 -111
- polyaxon_sdk/models/v1_run_edge_lineage.py +75 -0
- polyaxon_sdk/models/v1_run_edges_graph.py +79 -0
- polyaxon_sdk/models/v1_run_kind.py +28 -122
- polyaxon_sdk/models/v1_run_pending.py +14 -107
- polyaxon_sdk/models/v1_run_reference_catalog.py +59 -182
- polyaxon_sdk/models/v1_run_resources.py +61 -234
- polyaxon_sdk/models/v1_run_schema.py +120 -419
- polyaxon_sdk/models/v1_run_settings.py +94 -338
- polyaxon_sdk/models/v1_s3_type.py +55 -156
- polyaxon_sdk/models/v1_schedule.py +69 -182
- polyaxon_sdk/models/v1_schedule_kind.py +13 -106
- polyaxon_sdk/models/v1_scheduling_policy.py +61 -182
- polyaxon_sdk/models/v1_schemas.py +192 -731
- polyaxon_sdk/models/v1_search.py +77 -365
- polyaxon_sdk/models/v1_search_spec.py +87 -468
- polyaxon_sdk/models/v1_section_spec.py +75 -286
- polyaxon_sdk/models/v1_service.py +85 -396
- polyaxon_sdk/models/v1_service_account.py +70 -339
- polyaxon_sdk/models/v1_settings_catalog.py +57 -156
- polyaxon_sdk/models/v1_stage.py +66 -182
- polyaxon_sdk/models/v1_stage_condition.py +67 -261
- polyaxon_sdk/models/v1_stages.py +14 -107
- polyaxon_sdk/models/v1_status.py +68 -208
- polyaxon_sdk/models/v1_status_condition.py +67 -261
- polyaxon_sdk/models/v1_statuses.py +30 -123
- polyaxon_sdk/models/v1_tag.py +63 -260
- polyaxon_sdk/models/v1_team.py +72 -313
- polyaxon_sdk/models/v1_team_member.py +64 -261
- polyaxon_sdk/models/v1_team_settings.py +79 -182
- polyaxon_sdk/models/v1_template.py +57 -182
- polyaxon_sdk/models/v1_tensorboard_type.py +61 -234
- polyaxon_sdk/models/v1_termination.py +57 -182
- polyaxon_sdk/models/v1_tf_job.py +87 -286
- polyaxon_sdk/models/v1_token.py +72 -365
- polyaxon_sdk/models/v1_trial_start.py +63 -260
- polyaxon_sdk/models/v1_trigger_policy.py +16 -109
- polyaxon_sdk/models/v1_truncation_stopping_policy.py +63 -264
- polyaxon_sdk/models/v1_tuner.py +69 -208
- polyaxon_sdk/models/v1_uri_type.py +57 -182
- polyaxon_sdk/models/v1_url_ref.py +55 -156
- polyaxon_sdk/models/v1_user.py +63 -260
- polyaxon_sdk/models/v1_user_access.py +77 -0
- polyaxon_sdk/models/v1_user_email.py +54 -131
- polyaxon_sdk/models/v1_user_singup.py +61 -234
- polyaxon_sdk/models/v1_uuids.py +54 -131
- polyaxon_sdk/models/v1_validation.py +109 -0
- polyaxon_sdk/models/v1_version.py +55 -156
- polyaxon_sdk/models/v1_wasb_type.py +57 -182
- polyaxon_sdk/models/v1_xg_boost_job.py +73 -234
- polyaxon_sdk/rest.py +23 -41
- {polyaxon_sdk-1.18.0rc7.dist-info → polyaxon_sdk-2.1.6.dist-info}/METADATA +6 -4
- polyaxon_sdk-2.1.6.dist-info/RECORD +264 -0
- {polyaxon_sdk-1.18.0rc7.dist-info → polyaxon_sdk-2.1.6.dist-info}/WHEEL +1 -1
- polyaxon_sdk/models/mpi_job_implementation.py +0 -128
- polyaxon_sdk/models/spark_deploy_mode.py +0 -129
- polyaxon_sdk/models/v1_dask.py +0 -436
- polyaxon_sdk/models/v1_flink.py +0 -174
- polyaxon_sdk/models/v1_k8s_resource_schema.py +0 -226
- polyaxon_sdk/models/v1_k8s_resource_type.py +0 -200
- polyaxon_sdk/models/v1_project_user_access.py +0 -200
- polyaxon_sdk/models/v1_ray.py +0 -174
- polyaxon_sdk/models/v1_spark.py +0 -558
- polyaxon_sdk/models/v1_spark_replica.py +0 -252
- polyaxon_sdk/models/v1_spark_type.py +0 -130
- polyaxon_sdk-1.18.0rc7.dist-info/RECORD +0 -255
- {polyaxon_sdk-1.18.0rc7.dist-info → polyaxon_sdk-2.1.6.dist-info}/top_level.txt +0 -0
@@ -1,746 +1,207 @@
|
|
1
|
-
#!/usr/bin/python
|
2
|
-
#
|
3
|
-
# Copyright 2018-2022 Polyaxon, Inc.
|
4
|
-
#
|
5
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
-
# you may not use this file except in compliance with the License.
|
7
|
-
# You may obtain a copy of the License at
|
8
|
-
#
|
9
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
#
|
11
|
-
# Unless required by applicable law or agreed to in writing, software
|
12
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
-
# See the License for the specific language governing permissions and
|
15
|
-
# limitations under the License.
|
16
|
-
|
17
1
|
# coding: utf-8
|
18
2
|
|
19
3
|
"""
|
20
4
|
Polyaxon SDKs and REST API specification.
|
21
5
|
|
22
|
-
|
6
|
+
# noqa: E501
|
23
7
|
|
24
|
-
The version of the OpenAPI document: 1.
|
8
|
+
The version of the OpenAPI document: 2.1.6
|
25
9
|
Contact: contact@polyaxon.com
|
26
|
-
Generated by
|
10
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
|
+
|
12
|
+
Do not edit the class manually.
|
27
13
|
"""
|
28
14
|
|
29
15
|
|
30
|
-
|
31
|
-
|
32
|
-
except ImportError:
|
33
|
-
from inspect import getargspec as getfullargspec
|
16
|
+
from __future__ import annotations
|
17
|
+
from inspect import getfullargspec
|
34
18
|
import pprint
|
35
19
|
import re # noqa: F401
|
36
|
-
import
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
20
|
+
import json
|
21
|
+
|
22
|
+
|
23
|
+
from typing import Optional
|
24
|
+
from pydantic import BaseModel, Field
|
25
|
+
from polyaxon_sdk.models.v1_artifacts_mount import V1ArtifactsMount
|
26
|
+
from polyaxon_sdk.models.v1_artifacts_type import V1ArtifactsType
|
27
|
+
from polyaxon_sdk.models.v1_auth_type import V1AuthType
|
28
|
+
from polyaxon_sdk.models.v1_compiled_operation import V1CompiledOperation
|
29
|
+
from polyaxon_sdk.models.v1_connection_resource import V1ConnectionResource
|
30
|
+
from polyaxon_sdk.models.v1_connection_schema import V1ConnectionSchema
|
31
|
+
from polyaxon_sdk.models.v1_connection_type import V1ConnectionType
|
32
|
+
from polyaxon_sdk.models.v1_early_stopping import V1EarlyStopping
|
33
|
+
from polyaxon_sdk.models.v1_event import V1Event
|
34
|
+
from polyaxon_sdk.models.v1_event_type import V1EventType
|
35
|
+
from polyaxon_sdk.models.v1_gcs_type import V1GcsType
|
36
|
+
from polyaxon_sdk.models.v1_hp_params import V1HpParams
|
37
|
+
from polyaxon_sdk.models.v1_matrix import V1Matrix
|
38
|
+
from polyaxon_sdk.models.v1_matrix_kind import V1MatrixKind
|
39
|
+
from polyaxon_sdk.models.v1_operation import V1Operation
|
40
|
+
from polyaxon_sdk.models.v1_polyaxon_init_container import V1PolyaxonInitContainer
|
41
|
+
from polyaxon_sdk.models.v1_polyaxon_sidecar_container import V1PolyaxonSidecarContainer
|
42
|
+
from polyaxon_sdk.models.v1_reference import V1Reference
|
43
|
+
from polyaxon_sdk.models.v1_run_schema import V1RunSchema
|
44
|
+
from polyaxon_sdk.models.v1_s3_type import V1S3Type
|
45
|
+
from polyaxon_sdk.models.v1_schedule import V1Schedule
|
46
|
+
from polyaxon_sdk.models.v1_schedule_kind import V1ScheduleKind
|
47
|
+
from polyaxon_sdk.models.v1_uri_type import V1UriType
|
48
|
+
from polyaxon_sdk.models.v1_wasb_type import V1WasbType
|
49
|
+
|
50
|
+
class V1Schemas(BaseModel):
|
48
51
|
"""
|
49
|
-
|
50
|
-
openapi_types (dict): The key is attribute name
|
51
|
-
and the value is attribute type.
|
52
|
-
attribute_map (dict): The key is attribute name
|
53
|
-
and the value is json key in definition.
|
52
|
+
V1Schemas
|
54
53
|
"""
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
if
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
self.
|
118
|
-
|
119
|
-
|
120
|
-
self.
|
121
|
-
|
122
|
-
|
123
|
-
self.
|
124
|
-
|
125
|
-
|
126
|
-
self.
|
127
|
-
|
128
|
-
|
129
|
-
self.
|
130
|
-
|
131
|
-
|
132
|
-
self.
|
133
|
-
|
134
|
-
|
135
|
-
self.
|
136
|
-
|
137
|
-
|
138
|
-
self.
|
139
|
-
|
140
|
-
|
141
|
-
if
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
if
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
if
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
if
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
if
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
if
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
self._early_stopping = early_stopping
|
210
|
-
|
211
|
-
@property
|
212
|
-
def matrix(self):
|
213
|
-
"""Gets the matrix of this V1Schemas. # noqa: E501
|
214
|
-
|
215
|
-
|
216
|
-
:return: The matrix of this V1Schemas. # noqa: E501
|
217
|
-
:rtype: V1Matrix
|
218
|
-
"""
|
219
|
-
return self._matrix
|
220
|
-
|
221
|
-
@matrix.setter
|
222
|
-
def matrix(self, matrix):
|
223
|
-
"""Sets the matrix of this V1Schemas.
|
224
|
-
|
225
|
-
|
226
|
-
:param matrix: The matrix of this V1Schemas. # noqa: E501
|
227
|
-
:type matrix: V1Matrix
|
228
|
-
"""
|
229
|
-
|
230
|
-
self._matrix = matrix
|
231
|
-
|
232
|
-
@property
|
233
|
-
def run(self):
|
234
|
-
"""Gets the run of this V1Schemas. # noqa: E501
|
235
|
-
|
236
|
-
|
237
|
-
:return: The run of this V1Schemas. # noqa: E501
|
238
|
-
:rtype: V1RunSchema
|
239
|
-
"""
|
240
|
-
return self._run
|
241
|
-
|
242
|
-
@run.setter
|
243
|
-
def run(self, run):
|
244
|
-
"""Sets the run of this V1Schemas.
|
245
|
-
|
246
|
-
|
247
|
-
:param run: The run of this V1Schemas. # noqa: E501
|
248
|
-
:type run: V1RunSchema
|
249
|
-
"""
|
250
|
-
|
251
|
-
self._run = run
|
252
|
-
|
253
|
-
@property
|
254
|
-
def operation(self):
|
255
|
-
"""Gets the operation of this V1Schemas. # noqa: E501
|
256
|
-
|
257
|
-
|
258
|
-
:return: The operation of this V1Schemas. # noqa: E501
|
259
|
-
:rtype: V1Operation
|
260
|
-
"""
|
261
|
-
return self._operation
|
262
|
-
|
263
|
-
@operation.setter
|
264
|
-
def operation(self, operation):
|
265
|
-
"""Sets the operation of this V1Schemas.
|
266
|
-
|
267
|
-
|
268
|
-
:param operation: The operation of this V1Schemas. # noqa: E501
|
269
|
-
:type operation: V1Operation
|
270
|
-
"""
|
271
|
-
|
272
|
-
self._operation = operation
|
273
|
-
|
274
|
-
@property
|
275
|
-
def compiled_operation(self):
|
276
|
-
"""Gets the compiled_operation of this V1Schemas. # noqa: E501
|
277
|
-
|
278
|
-
|
279
|
-
:return: The compiled_operation of this V1Schemas. # noqa: E501
|
280
|
-
:rtype: V1CompiledOperation
|
281
|
-
"""
|
282
|
-
return self._compiled_operation
|
283
|
-
|
284
|
-
@compiled_operation.setter
|
285
|
-
def compiled_operation(self, compiled_operation):
|
286
|
-
"""Sets the compiled_operation of this V1Schemas.
|
287
|
-
|
288
|
-
|
289
|
-
:param compiled_operation: The compiled_operation of this V1Schemas. # noqa: E501
|
290
|
-
:type compiled_operation: V1CompiledOperation
|
291
|
-
"""
|
292
|
-
|
293
|
-
self._compiled_operation = compiled_operation
|
294
|
-
|
295
|
-
@property
|
296
|
-
def schedule(self):
|
297
|
-
"""Gets the schedule of this V1Schemas. # noqa: E501
|
298
|
-
|
299
|
-
|
300
|
-
:return: The schedule of this V1Schemas. # noqa: E501
|
301
|
-
:rtype: V1Schedule
|
302
|
-
"""
|
303
|
-
return self._schedule
|
304
|
-
|
305
|
-
@schedule.setter
|
306
|
-
def schedule(self, schedule):
|
307
|
-
"""Sets the schedule of this V1Schemas.
|
308
|
-
|
309
|
-
|
310
|
-
:param schedule: The schedule of this V1Schemas. # noqa: E501
|
311
|
-
:type schedule: V1Schedule
|
312
|
-
"""
|
313
|
-
|
314
|
-
self._schedule = schedule
|
315
|
-
|
316
|
-
@property
|
317
|
-
def connection_schema(self):
|
318
|
-
"""Gets the connection_schema of this V1Schemas. # noqa: E501
|
319
|
-
|
320
|
-
|
321
|
-
:return: The connection_schema of this V1Schemas. # noqa: E501
|
322
|
-
:rtype: V1ConnectionSchema
|
323
|
-
"""
|
324
|
-
return self._connection_schema
|
325
|
-
|
326
|
-
@connection_schema.setter
|
327
|
-
def connection_schema(self, connection_schema):
|
328
|
-
"""Sets the connection_schema of this V1Schemas.
|
329
|
-
|
330
|
-
|
331
|
-
:param connection_schema: The connection_schema of this V1Schemas. # noqa: E501
|
332
|
-
:type connection_schema: V1ConnectionSchema
|
333
|
-
"""
|
334
|
-
|
335
|
-
self._connection_schema = connection_schema
|
336
|
-
|
337
|
-
@property
|
338
|
-
def hp_params(self):
|
339
|
-
"""Gets the hp_params of this V1Schemas. # noqa: E501
|
340
|
-
|
341
|
-
|
342
|
-
:return: The hp_params of this V1Schemas. # noqa: E501
|
343
|
-
:rtype: V1HpParams
|
344
|
-
"""
|
345
|
-
return self._hp_params
|
346
|
-
|
347
|
-
@hp_params.setter
|
348
|
-
def hp_params(self, hp_params):
|
349
|
-
"""Sets the hp_params of this V1Schemas.
|
350
|
-
|
351
|
-
|
352
|
-
:param hp_params: The hp_params of this V1Schemas. # noqa: E501
|
353
|
-
:type hp_params: V1HpParams
|
354
|
-
"""
|
355
|
-
|
356
|
-
self._hp_params = hp_params
|
357
|
-
|
358
|
-
@property
|
359
|
-
def reference(self):
|
360
|
-
"""Gets the reference of this V1Schemas. # noqa: E501
|
361
|
-
|
362
|
-
|
363
|
-
:return: The reference of this V1Schemas. # noqa: E501
|
364
|
-
:rtype: V1Reference
|
365
|
-
"""
|
366
|
-
return self._reference
|
367
|
-
|
368
|
-
@reference.setter
|
369
|
-
def reference(self, reference):
|
370
|
-
"""Sets the reference of this V1Schemas.
|
371
|
-
|
372
|
-
|
373
|
-
:param reference: The reference of this V1Schemas. # noqa: E501
|
374
|
-
:type reference: V1Reference
|
375
|
-
"""
|
376
|
-
|
377
|
-
self._reference = reference
|
378
|
-
|
379
|
-
@property
|
380
|
-
def artifacts_mount(self):
|
381
|
-
"""Gets the artifacts_mount of this V1Schemas. # noqa: E501
|
382
|
-
|
383
|
-
|
384
|
-
:return: The artifacts_mount of this V1Schemas. # noqa: E501
|
385
|
-
:rtype: V1ArtifactsMount
|
386
|
-
"""
|
387
|
-
return self._artifacts_mount
|
388
|
-
|
389
|
-
@artifacts_mount.setter
|
390
|
-
def artifacts_mount(self, artifacts_mount):
|
391
|
-
"""Sets the artifacts_mount of this V1Schemas.
|
392
|
-
|
393
|
-
|
394
|
-
:param artifacts_mount: The artifacts_mount of this V1Schemas. # noqa: E501
|
395
|
-
:type artifacts_mount: V1ArtifactsMount
|
396
|
-
"""
|
397
|
-
|
398
|
-
self._artifacts_mount = artifacts_mount
|
399
|
-
|
400
|
-
@property
|
401
|
-
def polyaxon_sidecar_container(self):
|
402
|
-
"""Gets the polyaxon_sidecar_container of this V1Schemas. # noqa: E501
|
403
|
-
|
404
|
-
|
405
|
-
:return: The polyaxon_sidecar_container of this V1Schemas. # noqa: E501
|
406
|
-
:rtype: V1PolyaxonSidecarContainer
|
407
|
-
"""
|
408
|
-
return self._polyaxon_sidecar_container
|
409
|
-
|
410
|
-
@polyaxon_sidecar_container.setter
|
411
|
-
def polyaxon_sidecar_container(self, polyaxon_sidecar_container):
|
412
|
-
"""Sets the polyaxon_sidecar_container of this V1Schemas.
|
413
|
-
|
414
|
-
|
415
|
-
:param polyaxon_sidecar_container: The polyaxon_sidecar_container of this V1Schemas. # noqa: E501
|
416
|
-
:type polyaxon_sidecar_container: V1PolyaxonSidecarContainer
|
417
|
-
"""
|
418
|
-
|
419
|
-
self._polyaxon_sidecar_container = polyaxon_sidecar_container
|
420
|
-
|
421
|
-
@property
|
422
|
-
def polyaxon_init_container(self):
|
423
|
-
"""Gets the polyaxon_init_container of this V1Schemas. # noqa: E501
|
424
|
-
|
425
|
-
|
426
|
-
:return: The polyaxon_init_container of this V1Schemas. # noqa: E501
|
427
|
-
:rtype: V1PolyaxonInitContainer
|
428
|
-
"""
|
429
|
-
return self._polyaxon_init_container
|
430
|
-
|
431
|
-
@polyaxon_init_container.setter
|
432
|
-
def polyaxon_init_container(self, polyaxon_init_container):
|
433
|
-
"""Sets the polyaxon_init_container of this V1Schemas.
|
434
|
-
|
435
|
-
|
436
|
-
:param polyaxon_init_container: The polyaxon_init_container of this V1Schemas. # noqa: E501
|
437
|
-
:type polyaxon_init_container: V1PolyaxonInitContainer
|
438
|
-
"""
|
439
|
-
|
440
|
-
self._polyaxon_init_container = polyaxon_init_container
|
441
|
-
|
442
|
-
@property
|
443
|
-
def artifacs(self):
|
444
|
-
"""Gets the artifacs of this V1Schemas. # noqa: E501
|
445
|
-
|
446
|
-
|
447
|
-
:return: The artifacs of this V1Schemas. # noqa: E501
|
448
|
-
:rtype: V1ArtifactsType
|
449
|
-
"""
|
450
|
-
return self._artifacs
|
451
|
-
|
452
|
-
@artifacs.setter
|
453
|
-
def artifacs(self, artifacs):
|
454
|
-
"""Sets the artifacs of this V1Schemas.
|
455
|
-
|
456
|
-
|
457
|
-
:param artifacs: The artifacs of this V1Schemas. # noqa: E501
|
458
|
-
:type artifacs: V1ArtifactsType
|
459
|
-
"""
|
460
|
-
|
461
|
-
self._artifacs = artifacs
|
462
|
-
|
463
|
-
@property
|
464
|
-
def wasb(self):
|
465
|
-
"""Gets the wasb of this V1Schemas. # noqa: E501
|
466
|
-
|
467
|
-
|
468
|
-
:return: The wasb of this V1Schemas. # noqa: E501
|
469
|
-
:rtype: V1WasbType
|
470
|
-
"""
|
471
|
-
return self._wasb
|
472
|
-
|
473
|
-
@wasb.setter
|
474
|
-
def wasb(self, wasb):
|
475
|
-
"""Sets the wasb of this V1Schemas.
|
476
|
-
|
477
|
-
|
478
|
-
:param wasb: The wasb of this V1Schemas. # noqa: E501
|
479
|
-
:type wasb: V1WasbType
|
480
|
-
"""
|
481
|
-
|
482
|
-
self._wasb = wasb
|
483
|
-
|
484
|
-
@property
|
485
|
-
def gcs(self):
|
486
|
-
"""Gets the gcs of this V1Schemas. # noqa: E501
|
487
|
-
|
488
|
-
|
489
|
-
:return: The gcs of this V1Schemas. # noqa: E501
|
490
|
-
:rtype: V1GcsType
|
491
|
-
"""
|
492
|
-
return self._gcs
|
493
|
-
|
494
|
-
@gcs.setter
|
495
|
-
def gcs(self, gcs):
|
496
|
-
"""Sets the gcs of this V1Schemas.
|
497
|
-
|
498
|
-
|
499
|
-
:param gcs: The gcs of this V1Schemas. # noqa: E501
|
500
|
-
:type gcs: V1GcsType
|
501
|
-
"""
|
502
|
-
|
503
|
-
self._gcs = gcs
|
504
|
-
|
505
|
-
@property
|
506
|
-
def s3(self):
|
507
|
-
"""Gets the s3 of this V1Schemas. # noqa: E501
|
508
|
-
|
509
|
-
|
510
|
-
:return: The s3 of this V1Schemas. # noqa: E501
|
511
|
-
:rtype: V1S3Type
|
512
|
-
"""
|
513
|
-
return self._s3
|
514
|
-
|
515
|
-
@s3.setter
|
516
|
-
def s3(self, s3):
|
517
|
-
"""Sets the s3 of this V1Schemas.
|
518
|
-
|
519
|
-
|
520
|
-
:param s3: The s3 of this V1Schemas. # noqa: E501
|
521
|
-
:type s3: V1S3Type
|
522
|
-
"""
|
523
|
-
|
524
|
-
self._s3 = s3
|
525
|
-
|
526
|
-
@property
|
527
|
-
def auth(self):
|
528
|
-
"""Gets the auth of this V1Schemas. # noqa: E501
|
529
|
-
|
530
|
-
|
531
|
-
:return: The auth of this V1Schemas. # noqa: E501
|
532
|
-
:rtype: V1AuthType
|
533
|
-
"""
|
534
|
-
return self._auth
|
535
|
-
|
536
|
-
@auth.setter
|
537
|
-
def auth(self, auth):
|
538
|
-
"""Sets the auth of this V1Schemas.
|
539
|
-
|
540
|
-
|
541
|
-
:param auth: The auth of this V1Schemas. # noqa: E501
|
542
|
-
:type auth: V1AuthType
|
543
|
-
"""
|
544
|
-
|
545
|
-
self._auth = auth
|
546
|
-
|
547
|
-
@property
|
548
|
-
def uri(self):
|
549
|
-
"""Gets the uri of this V1Schemas. # noqa: E501
|
550
|
-
|
551
|
-
|
552
|
-
:return: The uri of this V1Schemas. # noqa: E501
|
553
|
-
:rtype: V1UriType
|
554
|
-
"""
|
555
|
-
return self._uri
|
556
|
-
|
557
|
-
@uri.setter
|
558
|
-
def uri(self, uri):
|
559
|
-
"""Sets the uri of this V1Schemas.
|
560
|
-
|
561
|
-
|
562
|
-
:param uri: The uri of this V1Schemas. # noqa: E501
|
563
|
-
:type uri: V1UriType
|
564
|
-
"""
|
565
|
-
|
566
|
-
self._uri = uri
|
567
|
-
|
568
|
-
@property
|
569
|
-
def k8s_resource(self):
|
570
|
-
"""Gets the k8s_resource of this V1Schemas. # noqa: E501
|
571
|
-
|
572
|
-
|
573
|
-
:return: The k8s_resource of this V1Schemas. # noqa: E501
|
574
|
-
:rtype: V1K8sResourceType
|
575
|
-
"""
|
576
|
-
return self._k8s_resource
|
577
|
-
|
578
|
-
@k8s_resource.setter
|
579
|
-
def k8s_resource(self, k8s_resource):
|
580
|
-
"""Sets the k8s_resource of this V1Schemas.
|
581
|
-
|
582
|
-
|
583
|
-
:param k8s_resource: The k8s_resource of this V1Schemas. # noqa: E501
|
584
|
-
:type k8s_resource: V1K8sResourceType
|
585
|
-
"""
|
586
|
-
|
587
|
-
self._k8s_resource = k8s_resource
|
588
|
-
|
589
|
-
@property
|
590
|
-
def connection(self):
|
591
|
-
"""Gets the connection of this V1Schemas. # noqa: E501
|
592
|
-
|
593
|
-
|
594
|
-
:return: The connection of this V1Schemas. # noqa: E501
|
595
|
-
:rtype: V1ConnectionType
|
596
|
-
"""
|
597
|
-
return self._connection
|
598
|
-
|
599
|
-
@connection.setter
|
600
|
-
def connection(self, connection):
|
601
|
-
"""Sets the connection of this V1Schemas.
|
602
|
-
|
603
|
-
|
604
|
-
:param connection: The connection of this V1Schemas. # noqa: E501
|
605
|
-
:type connection: V1ConnectionType
|
606
|
-
"""
|
607
|
-
|
608
|
-
self._connection = connection
|
609
|
-
|
610
|
-
@property
|
611
|
-
def event_type(self):
|
612
|
-
"""Gets the event_type of this V1Schemas. # noqa: E501
|
613
|
-
|
614
|
-
|
615
|
-
:return: The event_type of this V1Schemas. # noqa: E501
|
616
|
-
:rtype: V1EventType
|
617
|
-
"""
|
618
|
-
return self._event_type
|
619
|
-
|
620
|
-
@event_type.setter
|
621
|
-
def event_type(self, event_type):
|
622
|
-
"""Sets the event_type of this V1Schemas.
|
623
|
-
|
624
|
-
|
625
|
-
:param event_type: The event_type of this V1Schemas. # noqa: E501
|
626
|
-
:type event_type: V1EventType
|
627
|
-
"""
|
628
|
-
|
629
|
-
self._event_type = event_type
|
630
|
-
|
631
|
-
@property
|
632
|
-
def matrix_kind(self):
|
633
|
-
"""Gets the matrix_kind of this V1Schemas. # noqa: E501
|
634
|
-
|
635
|
-
|
636
|
-
:return: The matrix_kind of this V1Schemas. # noqa: E501
|
637
|
-
:rtype: V1MatrixKind
|
638
|
-
"""
|
639
|
-
return self._matrix_kind
|
640
|
-
|
641
|
-
@matrix_kind.setter
|
642
|
-
def matrix_kind(self, matrix_kind):
|
643
|
-
"""Sets the matrix_kind of this V1Schemas.
|
644
|
-
|
645
|
-
|
646
|
-
:param matrix_kind: The matrix_kind of this V1Schemas. # noqa: E501
|
647
|
-
:type matrix_kind: V1MatrixKind
|
648
|
-
"""
|
649
|
-
|
650
|
-
self._matrix_kind = matrix_kind
|
651
|
-
|
652
|
-
@property
|
653
|
-
def schedule_kind(self):
|
654
|
-
"""Gets the schedule_kind of this V1Schemas. # noqa: E501
|
655
|
-
|
656
|
-
|
657
|
-
:return: The schedule_kind of this V1Schemas. # noqa: E501
|
658
|
-
:rtype: V1ScheduleKind
|
659
|
-
"""
|
660
|
-
return self._schedule_kind
|
661
|
-
|
662
|
-
@schedule_kind.setter
|
663
|
-
def schedule_kind(self, schedule_kind):
|
664
|
-
"""Sets the schedule_kind of this V1Schemas.
|
665
|
-
|
666
|
-
|
667
|
-
:param schedule_kind: The schedule_kind of this V1Schemas. # noqa: E501
|
668
|
-
:type schedule_kind: V1ScheduleKind
|
669
|
-
"""
|
670
|
-
|
671
|
-
self._schedule_kind = schedule_kind
|
672
|
-
|
673
|
-
@property
|
674
|
-
def event(self):
|
675
|
-
"""Gets the event of this V1Schemas. # noqa: E501
|
676
|
-
|
677
|
-
|
678
|
-
:return: The event of this V1Schemas. # noqa: E501
|
679
|
-
:rtype: V1Event
|
680
|
-
"""
|
681
|
-
return self._event
|
682
|
-
|
683
|
-
@event.setter
|
684
|
-
def event(self, event):
|
685
|
-
"""Sets the event of this V1Schemas.
|
686
|
-
|
687
|
-
|
688
|
-
:param event: The event of this V1Schemas. # noqa: E501
|
689
|
-
:type event: V1Event
|
690
|
-
"""
|
691
|
-
|
692
|
-
self._event = event
|
693
|
-
|
694
|
-
def to_dict(self, serialize=False):
|
695
|
-
"""Returns the model properties as a dict"""
|
696
|
-
result = {}
|
697
|
-
|
698
|
-
def convert(x):
|
699
|
-
if hasattr(x, "to_dict"):
|
700
|
-
args = getfullargspec(x.to_dict).args
|
701
|
-
if len(args) == 1:
|
702
|
-
return x.to_dict()
|
703
|
-
else:
|
704
|
-
return x.to_dict(serialize)
|
705
|
-
else:
|
706
|
-
return x
|
707
|
-
|
708
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
709
|
-
value = getattr(self, attr)
|
710
|
-
attr = self.attribute_map.get(attr, attr) if serialize else attr
|
711
|
-
if isinstance(value, list):
|
712
|
-
result[attr] = list(map(
|
713
|
-
lambda x: convert(x),
|
714
|
-
value
|
715
|
-
))
|
716
|
-
elif isinstance(value, dict):
|
717
|
-
result[attr] = dict(map(
|
718
|
-
lambda item: (item[0], convert(item[1])),
|
719
|
-
value.items()
|
720
|
-
))
|
721
|
-
else:
|
722
|
-
result[attr] = convert(value)
|
723
|
-
|
724
|
-
return result
|
725
|
-
|
726
|
-
def to_str(self):
|
727
|
-
"""Returns the string representation of the model"""
|
728
|
-
return pprint.pformat(self.to_dict())
|
729
|
-
|
730
|
-
def __repr__(self):
|
731
|
-
"""For `print` and `pprint`"""
|
732
|
-
return self.to_str()
|
733
|
-
|
734
|
-
def __eq__(self, other):
|
735
|
-
"""Returns true if both objects are equal"""
|
736
|
-
if not isinstance(other, V1Schemas):
|
737
|
-
return False
|
738
|
-
|
739
|
-
return self.to_dict() == other.to_dict()
|
740
|
-
|
741
|
-
def __ne__(self, other):
|
742
|
-
"""Returns true if both objects are not equal"""
|
743
|
-
if not isinstance(other, V1Schemas):
|
744
|
-
return True
|
54
|
+
early_stopping: Optional[V1EarlyStopping] = Field(None, alias="earlyStopping")
|
55
|
+
matrix: Optional[V1Matrix] = None
|
56
|
+
run: Optional[V1RunSchema] = None
|
57
|
+
operation: Optional[V1Operation] = None
|
58
|
+
compiled_operation: Optional[V1CompiledOperation] = Field(None, alias="compiledOperation")
|
59
|
+
schedule: Optional[V1Schedule] = None
|
60
|
+
connection_schema: Optional[V1ConnectionSchema] = Field(None, alias="connectionSchema")
|
61
|
+
hp_params: Optional[V1HpParams] = Field(None, alias="hpParams")
|
62
|
+
reference: Optional[V1Reference] = None
|
63
|
+
artifacts_mount: Optional[V1ArtifactsMount] = Field(None, alias="artifactsMount")
|
64
|
+
polyaxon_sidecar_container: Optional[V1PolyaxonSidecarContainer] = Field(None, alias="polyaxonSidecarContainer")
|
65
|
+
polyaxon_init_container: Optional[V1PolyaxonInitContainer] = Field(None, alias="polyaxonInitContainer")
|
66
|
+
artifacs: Optional[V1ArtifactsType] = None
|
67
|
+
wasb: Optional[V1WasbType] = None
|
68
|
+
gcs: Optional[V1GcsType] = None
|
69
|
+
s3: Optional[V1S3Type] = None
|
70
|
+
auth: Optional[V1AuthType] = None
|
71
|
+
uri: Optional[V1UriType] = None
|
72
|
+
resource: Optional[V1ConnectionResource] = None
|
73
|
+
connection: Optional[V1ConnectionType] = None
|
74
|
+
event_type: Optional[V1EventType] = Field(None, alias="eventType")
|
75
|
+
matrix_kind: Optional[V1MatrixKind] = Field(None, alias="matrixKind")
|
76
|
+
schedule_kind: Optional[V1ScheduleKind] = Field(None, alias="scheduleKind")
|
77
|
+
event: Optional[V1Event] = None
|
78
|
+
__properties = ["earlyStopping", "matrix", "run", "operation", "compiledOperation", "schedule", "connectionSchema", "hpParams", "reference", "artifactsMount", "polyaxonSidecarContainer", "polyaxonInitContainer", "artifacs", "wasb", "gcs", "s3", "auth", "uri", "resource", "connection", "eventType", "matrixKind", "scheduleKind", "event"]
|
79
|
+
|
80
|
+
class Config:
|
81
|
+
allow_population_by_field_name = True
|
82
|
+
validate_assignment = True
|
83
|
+
|
84
|
+
def to_str(self) -> str:
|
85
|
+
"""Returns the string representation of the model using alias"""
|
86
|
+
return pprint.pformat(self.dict(by_alias=True))
|
87
|
+
|
88
|
+
def to_json(self) -> str:
|
89
|
+
"""Returns the JSON representation of the model using alias"""
|
90
|
+
return json.dumps(self.to_dict())
|
91
|
+
|
92
|
+
@classmethod
|
93
|
+
def from_json(cls, json_str: str) -> V1Schemas:
|
94
|
+
"""Create an instance of V1Schemas from a JSON string"""
|
95
|
+
return cls.from_dict(json.loads(json_str))
|
96
|
+
|
97
|
+
def to_dict(self):
|
98
|
+
"""Returns the dictionary representation of the model using alias"""
|
99
|
+
_dict = self.dict(by_alias=True,
|
100
|
+
exclude={
|
101
|
+
},
|
102
|
+
exclude_none=True)
|
103
|
+
# override the default output from pydantic by calling `to_dict()` of early_stopping
|
104
|
+
if self.early_stopping:
|
105
|
+
_dict['earlyStopping'] = self.early_stopping.to_dict()
|
106
|
+
# override the default output from pydantic by calling `to_dict()` of matrix
|
107
|
+
if self.matrix:
|
108
|
+
_dict['matrix'] = self.matrix.to_dict()
|
109
|
+
# override the default output from pydantic by calling `to_dict()` of run
|
110
|
+
if self.run:
|
111
|
+
_dict['run'] = self.run.to_dict()
|
112
|
+
# override the default output from pydantic by calling `to_dict()` of operation
|
113
|
+
if self.operation:
|
114
|
+
_dict['operation'] = self.operation.to_dict()
|
115
|
+
# override the default output from pydantic by calling `to_dict()` of compiled_operation
|
116
|
+
if self.compiled_operation:
|
117
|
+
_dict['compiledOperation'] = self.compiled_operation.to_dict()
|
118
|
+
# override the default output from pydantic by calling `to_dict()` of schedule
|
119
|
+
if self.schedule:
|
120
|
+
_dict['schedule'] = self.schedule.to_dict()
|
121
|
+
# override the default output from pydantic by calling `to_dict()` of connection_schema
|
122
|
+
if self.connection_schema:
|
123
|
+
_dict['connectionSchema'] = self.connection_schema.to_dict()
|
124
|
+
# override the default output from pydantic by calling `to_dict()` of hp_params
|
125
|
+
if self.hp_params:
|
126
|
+
_dict['hpParams'] = self.hp_params.to_dict()
|
127
|
+
# override the default output from pydantic by calling `to_dict()` of reference
|
128
|
+
if self.reference:
|
129
|
+
_dict['reference'] = self.reference.to_dict()
|
130
|
+
# override the default output from pydantic by calling `to_dict()` of artifacts_mount
|
131
|
+
if self.artifacts_mount:
|
132
|
+
_dict['artifactsMount'] = self.artifacts_mount.to_dict()
|
133
|
+
# override the default output from pydantic by calling `to_dict()` of polyaxon_sidecar_container
|
134
|
+
if self.polyaxon_sidecar_container:
|
135
|
+
_dict['polyaxonSidecarContainer'] = self.polyaxon_sidecar_container.to_dict()
|
136
|
+
# override the default output from pydantic by calling `to_dict()` of polyaxon_init_container
|
137
|
+
if self.polyaxon_init_container:
|
138
|
+
_dict['polyaxonInitContainer'] = self.polyaxon_init_container.to_dict()
|
139
|
+
# override the default output from pydantic by calling `to_dict()` of artifacs
|
140
|
+
if self.artifacs:
|
141
|
+
_dict['artifacs'] = self.artifacs.to_dict()
|
142
|
+
# override the default output from pydantic by calling `to_dict()` of wasb
|
143
|
+
if self.wasb:
|
144
|
+
_dict['wasb'] = self.wasb.to_dict()
|
145
|
+
# override the default output from pydantic by calling `to_dict()` of gcs
|
146
|
+
if self.gcs:
|
147
|
+
_dict['gcs'] = self.gcs.to_dict()
|
148
|
+
# override the default output from pydantic by calling `to_dict()` of s3
|
149
|
+
if self.s3:
|
150
|
+
_dict['s3'] = self.s3.to_dict()
|
151
|
+
# override the default output from pydantic by calling `to_dict()` of auth
|
152
|
+
if self.auth:
|
153
|
+
_dict['auth'] = self.auth.to_dict()
|
154
|
+
# override the default output from pydantic by calling `to_dict()` of uri
|
155
|
+
if self.uri:
|
156
|
+
_dict['uri'] = self.uri.to_dict()
|
157
|
+
# override the default output from pydantic by calling `to_dict()` of resource
|
158
|
+
if self.resource:
|
159
|
+
_dict['resource'] = self.resource.to_dict()
|
160
|
+
# override the default output from pydantic by calling `to_dict()` of connection
|
161
|
+
if self.connection:
|
162
|
+
_dict['connection'] = self.connection.to_dict()
|
163
|
+
# override the default output from pydantic by calling `to_dict()` of event_type
|
164
|
+
if self.event_type:
|
165
|
+
_dict['eventType'] = self.event_type.to_dict()
|
166
|
+
# override the default output from pydantic by calling `to_dict()` of event
|
167
|
+
if self.event:
|
168
|
+
_dict['event'] = self.event.to_dict()
|
169
|
+
return _dict
|
170
|
+
|
171
|
+
@classmethod
|
172
|
+
def from_dict(cls, obj: dict) -> V1Schemas:
|
173
|
+
"""Create an instance of V1Schemas from a dict"""
|
174
|
+
if obj is None:
|
175
|
+
return None
|
176
|
+
|
177
|
+
if type(obj) is not dict:
|
178
|
+
return V1Schemas.parse_obj(obj)
|
179
|
+
|
180
|
+
_obj = V1Schemas.parse_obj({
|
181
|
+
"early_stopping": V1EarlyStopping.from_dict(obj.get("earlyStopping")) if obj.get("earlyStopping") is not None else None,
|
182
|
+
"matrix": V1Matrix.from_dict(obj.get("matrix")) if obj.get("matrix") is not None else None,
|
183
|
+
"run": V1RunSchema.from_dict(obj.get("run")) if obj.get("run") is not None else None,
|
184
|
+
"operation": V1Operation.from_dict(obj.get("operation")) if obj.get("operation") is not None else None,
|
185
|
+
"compiled_operation": V1CompiledOperation.from_dict(obj.get("compiledOperation")) if obj.get("compiledOperation") is not None else None,
|
186
|
+
"schedule": V1Schedule.from_dict(obj.get("schedule")) if obj.get("schedule") is not None else None,
|
187
|
+
"connection_schema": V1ConnectionSchema.from_dict(obj.get("connectionSchema")) if obj.get("connectionSchema") is not None else None,
|
188
|
+
"hp_params": V1HpParams.from_dict(obj.get("hpParams")) if obj.get("hpParams") is not None else None,
|
189
|
+
"reference": V1Reference.from_dict(obj.get("reference")) if obj.get("reference") is not None else None,
|
190
|
+
"artifacts_mount": V1ArtifactsMount.from_dict(obj.get("artifactsMount")) if obj.get("artifactsMount") is not None else None,
|
191
|
+
"polyaxon_sidecar_container": V1PolyaxonSidecarContainer.from_dict(obj.get("polyaxonSidecarContainer")) if obj.get("polyaxonSidecarContainer") is not None else None,
|
192
|
+
"polyaxon_init_container": V1PolyaxonInitContainer.from_dict(obj.get("polyaxonInitContainer")) if obj.get("polyaxonInitContainer") is not None else None,
|
193
|
+
"artifacs": V1ArtifactsType.from_dict(obj.get("artifacs")) if obj.get("artifacs") is not None else None,
|
194
|
+
"wasb": V1WasbType.from_dict(obj.get("wasb")) if obj.get("wasb") is not None else None,
|
195
|
+
"gcs": V1GcsType.from_dict(obj.get("gcs")) if obj.get("gcs") is not None else None,
|
196
|
+
"s3": V1S3Type.from_dict(obj.get("s3")) if obj.get("s3") is not None else None,
|
197
|
+
"auth": V1AuthType.from_dict(obj.get("auth")) if obj.get("auth") is not None else None,
|
198
|
+
"uri": V1UriType.from_dict(obj.get("uri")) if obj.get("uri") is not None else None,
|
199
|
+
"resource": V1ConnectionResource.from_dict(obj.get("resource")) if obj.get("resource") is not None else None,
|
200
|
+
"connection": V1ConnectionType.from_dict(obj.get("connection")) if obj.get("connection") is not None else None,
|
201
|
+
"event_type": V1EventType.from_dict(obj.get("eventType")) if obj.get("eventType") is not None else None,
|
202
|
+
"matrix_kind": obj.get("matrixKind"),
|
203
|
+
"schedule_kind": obj.get("scheduleKind"),
|
204
|
+
"event": V1Event.from_dict(obj.get("event")) if obj.get("event") is not None else None
|
205
|
+
})
|
206
|
+
return _obj
|
745
207
|
|
746
|
-
return self.to_dict() != other.to_dict()
|