arthur-client 1.4.0__py3-none-any.whl → 1.4.1186__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.
- arthur_client/__version__.py +1 -0
- arthur_client/api_bindings/__init__.py +334 -0
- arthur_client/api_bindings/api/__init__.py +30 -0
- arthur_client/api_bindings/api/alert_rules_v1_api.py +1930 -0
- arthur_client/api_bindings/api/alerts_v1_api.py +1042 -0
- arthur_client/api_bindings/api/authorization_v1_api.py +3926 -0
- arthur_client/api_bindings/api/connector_schemas_v1_api.py +559 -0
- arthur_client/api_bindings/api/connectors_v1_api.py +2165 -0
- arthur_client/api_bindings/api/data_plane_associations_v1_api.py +1699 -0
- arthur_client/api_bindings/api/data_planes_v1_api.py +1832 -0
- arthur_client/api_bindings/api/data_retrieval_v1_api.py +2403 -0
- arthur_client/api_bindings/api/datasets_v1_api.py +4346 -0
- arthur_client/api_bindings/api/default_api.py +284 -0
- arthur_client/api_bindings/api/feature_flags_v1_api.py +284 -0
- arthur_client/api_bindings/api/groups_v1_api.py +2803 -0
- arthur_client/api_bindings/api/jobs_v1_api.py +3809 -0
- arthur_client/api_bindings/api/metric_functions_v1_api.py +285 -0
- arthur_client/api_bindings/api/metrics_v1_api.py +1297 -0
- arthur_client/api_bindings/api/models_v1_api.py +2739 -0
- arthur_client/api_bindings/api/o_auth_v1_api.py +284 -0
- arthur_client/api_bindings/api/organizations_v1_api.py +827 -0
- arthur_client/api_bindings/api/projects_v1_api.py +1541 -0
- arthur_client/api_bindings/api/registration_v1_api.py +319 -0
- arthur_client/api_bindings/api/roles_v1_api.py +307 -0
- arthur_client/api_bindings/api/tasks_v1_api.py +3173 -0
- arthur_client/api_bindings/api/upsolve_v1_api.py +320 -0
- arthur_client/api_bindings/api/users_v1_api.py +2930 -0
- arthur_client/api_bindings/api/webhooks_v1_api.py +1843 -0
- arthur_client/api_bindings/api/workspaces_v1_api.py +1511 -0
- arthur_client/api_bindings/api_client.py +797 -0
- arthur_client/api_bindings/api_response.py +21 -0
- arthur_client/api_bindings/configuration.py +458 -0
- arthur_client/api_bindings/docs/AggregationMetricType.md +12 -0
- arthur_client/api_bindings/docs/AggregationSpec.md +31 -0
- arthur_client/api_bindings/docs/AggregationSpecSchema.md +34 -0
- arthur_client/api_bindings/docs/AggregationSpecSchemaInitArgsInner.md +39 -0
- arthur_client/api_bindings/docs/Alert.md +44 -0
- arthur_client/api_bindings/docs/AlertBound.md +12 -0
- arthur_client/api_bindings/docs/AlertCheckJobSpec.md +32 -0
- arthur_client/api_bindings/docs/AlertRule.md +41 -0
- arthur_client/api_bindings/docs/AlertRuleInterval.md +30 -0
- arthur_client/api_bindings/docs/AlertRuleNotificationWebhook.md +30 -0
- arthur_client/api_bindings/docs/AlertRuleSQLValidationResp.md +32 -0
- arthur_client/api_bindings/docs/AlertRuleSort.md +12 -0
- arthur_client/api_bindings/docs/AlertRulesV1Api.md +514 -0
- arthur_client/api_bindings/docs/AlertSort.md +12 -0
- arthur_client/api_bindings/docs/AlertWebhookCalled.md +31 -0
- arthur_client/api_bindings/docs/AlertsV1Api.md +268 -0
- arthur_client/api_bindings/docs/AuthorizationV1Api.md +1039 -0
- arthur_client/api_bindings/docs/AvailableDataset.md +39 -0
- arthur_client/api_bindings/docs/AvailableDatasetsSort.md +14 -0
- arthur_client/api_bindings/docs/BadRequestError.md +29 -0
- arthur_client/api_bindings/docs/BaseRole.md +31 -0
- arthur_client/api_bindings/docs/BoundMember.md +30 -0
- arthur_client/api_bindings/docs/BoundMemberKind.md +12 -0
- arthur_client/api_bindings/docs/BoundResource.md +31 -0
- arthur_client/api_bindings/docs/BoundResourceKind.md +16 -0
- arthur_client/api_bindings/docs/BoundRole.md +30 -0
- arthur_client/api_bindings/docs/Config.md +37 -0
- arthur_client/api_bindings/docs/ConflictError.md +29 -0
- arthur_client/api_bindings/docs/ConnectorCheckJobSpec.md +30 -0
- arthur_client/api_bindings/docs/ConnectorCheckOutcome.md +12 -0
- arthur_client/api_bindings/docs/ConnectorCheckResult.md +30 -0
- arthur_client/api_bindings/docs/ConnectorFieldDataType.md +16 -0
- arthur_client/api_bindings/docs/ConnectorPaginationOptions.md +30 -0
- arthur_client/api_bindings/docs/ConnectorSchemasV1Api.md +161 -0
- arthur_client/api_bindings/docs/ConnectorSpec.md +39 -0
- arthur_client/api_bindings/docs/ConnectorSpecField.md +30 -0
- arthur_client/api_bindings/docs/ConnectorSpecFieldWithMetadata.md +32 -0
- arthur_client/api_bindings/docs/ConnectorSpecSchema.md +34 -0
- arthur_client/api_bindings/docs/ConnectorSpecSchemaField.md +34 -0
- arthur_client/api_bindings/docs/ConnectorType.md +18 -0
- arthur_client/api_bindings/docs/ConnectorsSort.md +14 -0
- arthur_client/api_bindings/docs/ConnectorsV1Api.md +586 -0
- arthur_client/api_bindings/docs/CreateModelLinkTaskJobSpec.md +32 -0
- arthur_client/api_bindings/docs/CreateModelTaskJobSpec.md +33 -0
- arthur_client/api_bindings/docs/CreatedAlerts.md +30 -0
- arthur_client/api_bindings/docs/Credentials.md +32 -0
- arthur_client/api_bindings/docs/DType.md +28 -0
- arthur_client/api_bindings/docs/DataPlane.md +37 -0
- arthur_client/api_bindings/docs/DataPlaneAssociation.md +35 -0
- arthur_client/api_bindings/docs/DataPlaneAssociationSort.md +12 -0
- arthur_client/api_bindings/docs/DataPlaneAssociationsV1Api.md +443 -0
- arthur_client/api_bindings/docs/DataPlaneCapabilities.md +29 -0
- arthur_client/api_bindings/docs/DataPlaneSort.md +14 -0
- arthur_client/api_bindings/docs/DataPlanesV1Api.md +502 -0
- arthur_client/api_bindings/docs/DataResultFilter.md +31 -0
- arthur_client/api_bindings/docs/DataResultFilterOp.md +24 -0
- arthur_client/api_bindings/docs/DataRetrievalData.md +30 -0
- arthur_client/api_bindings/docs/DataRetrievalOperation.md +32 -0
- arthur_client/api_bindings/docs/DataRetrievalStatus.md +14 -0
- arthur_client/api_bindings/docs/DataRetrievalV1Api.md +656 -0
- arthur_client/api_bindings/docs/Dataset.md +39 -0
- arthur_client/api_bindings/docs/DatasetColumn.md +31 -0
- arthur_client/api_bindings/docs/DatasetConnector.md +31 -0
- arthur_client/api_bindings/docs/DatasetJoinKind.md +16 -0
- arthur_client/api_bindings/docs/DatasetJoinSpec.md +31 -0
- arthur_client/api_bindings/docs/DatasetListType.md +32 -0
- arthur_client/api_bindings/docs/DatasetLocator.md +29 -0
- arthur_client/api_bindings/docs/DatasetLocatorField.md +30 -0
- arthur_client/api_bindings/docs/DatasetLocatorFieldDataType.md +16 -0
- arthur_client/api_bindings/docs/DatasetLocatorSchema.md +29 -0
- arthur_client/api_bindings/docs/DatasetLocatorSchemaField.md +33 -0
- arthur_client/api_bindings/docs/DatasetObjectType.md +32 -0
- arthur_client/api_bindings/docs/DatasetReference.md +31 -0
- arthur_client/api_bindings/docs/DatasetScalarType.md +32 -0
- arthur_client/api_bindings/docs/DatasetSchema.md +31 -0
- arthur_client/api_bindings/docs/DatasetsSort.md +12 -0
- arthur_client/api_bindings/docs/DatasetsV1Api.md +1175 -0
- arthur_client/api_bindings/docs/DefaultApi.md +74 -0
- arthur_client/api_bindings/docs/Definition.md +34 -0
- arthur_client/api_bindings/docs/DeleteGroupMembership.md +29 -0
- arthur_client/api_bindings/docs/DeleteModelTaskJobSpec.md +30 -0
- arthur_client/api_bindings/docs/Dimension.md +30 -0
- arthur_client/api_bindings/docs/ExampleConfig.md +30 -0
- arthur_client/api_bindings/docs/ExamplesConfig.md +30 -0
- arthur_client/api_bindings/docs/ExtendedRole.md +39 -0
- arthur_client/api_bindings/docs/FeatureFlagsV1Api.md +73 -0
- arthur_client/api_bindings/docs/FetchDataJobSpec.md +36 -0
- arthur_client/api_bindings/docs/FetchModelTaskJobSpec.md +30 -0
- arthur_client/api_bindings/docs/GenerateMetricsSpecRequest.md +29 -0
- arthur_client/api_bindings/docs/Group.md +35 -0
- arthur_client/api_bindings/docs/GroupMembership.md +33 -0
- arthur_client/api_bindings/docs/GroupSort.md +14 -0
- arthur_client/api_bindings/docs/GroupsV1Api.md +756 -0
- arthur_client/api_bindings/docs/HTTPValidationError.md +29 -0
- arthur_client/api_bindings/docs/HealthStatus.md +29 -0
- arthur_client/api_bindings/docs/InfinitePagination.md +30 -0
- arthur_client/api_bindings/docs/InfiniteResourceListAlert.md +30 -0
- arthur_client/api_bindings/docs/InfiniteResourceListJob.md +30 -0
- arthur_client/api_bindings/docs/InternalServerError.md +29 -0
- arthur_client/api_bindings/docs/IntervalUnit.md +16 -0
- arthur_client/api_bindings/docs/InviteNewUser.md +31 -0
- arthur_client/api_bindings/docs/Items.md +34 -0
- arthur_client/api_bindings/docs/Items1.md +31 -0
- arthur_client/api_bindings/docs/Job.md +48 -0
- arthur_client/api_bindings/docs/JobDequeueParameters.md +29 -0
- arthur_client/api_bindings/docs/JobError.md +29 -0
- arthur_client/api_bindings/docs/JobErrors.md +29 -0
- arthur_client/api_bindings/docs/JobKind.md +34 -0
- arthur_client/api_bindings/docs/JobLog.md +31 -0
- arthur_client/api_bindings/docs/JobLogLevel.md +18 -0
- arthur_client/api_bindings/docs/JobLogs.md +29 -0
- arthur_client/api_bindings/docs/JobPriority.md +16 -0
- arthur_client/api_bindings/docs/JobRun.md +34 -0
- arthur_client/api_bindings/docs/JobSpec.md +49 -0
- arthur_client/api_bindings/docs/JobState.md +18 -0
- arthur_client/api_bindings/docs/JobTrigger.md +14 -0
- arthur_client/api_bindings/docs/JobsBatch.md +29 -0
- arthur_client/api_bindings/docs/JobsSort.md +14 -0
- arthur_client/api_bindings/docs/JobsV1Api.md +960 -0
- arthur_client/api_bindings/docs/JoinedDataset.md +32 -0
- arthur_client/api_bindings/docs/KeywordsConfig.md +29 -0
- arthur_client/api_bindings/docs/ListDatasetsJobSpec.md +30 -0
- arthur_client/api_bindings/docs/ListType.md +29 -0
- arthur_client/api_bindings/docs/MetricFunctionsV1Api.md +81 -0
- arthur_client/api_bindings/docs/MetricsArgSpec.md +30 -0
- arthur_client/api_bindings/docs/MetricsCalculationJobSpec.md +32 -0
- arthur_client/api_bindings/docs/MetricsColumnListParameterSchema.md +37 -0
- arthur_client/api_bindings/docs/MetricsColumnListParameterSchemaAllowedColumnTypesInner.md +31 -0
- arthur_client/api_bindings/docs/MetricsColumnParameterSchema.md +37 -0
- arthur_client/api_bindings/docs/MetricsDatasetParameterSchema.md +34 -0
- arthur_client/api_bindings/docs/MetricsLiteralParameterSchema.md +34 -0
- arthur_client/api_bindings/docs/MetricsQueryResult.md +29 -0
- arthur_client/api_bindings/docs/MetricsResultFilterOp.md +24 -0
- arthur_client/api_bindings/docs/MetricsUpload.md +30 -0
- arthur_client/api_bindings/docs/MetricsUploadMetricsInner.md +31 -0
- arthur_client/api_bindings/docs/MetricsUploadResult.md +32 -0
- arthur_client/api_bindings/docs/MetricsV1Api.md +346 -0
- arthur_client/api_bindings/docs/MetricsVersion.md +34 -0
- arthur_client/api_bindings/docs/MetricsVersionsSort.md +16 -0
- arthur_client/api_bindings/docs/Model.md +41 -0
- arthur_client/api_bindings/docs/ModelMetricSpec.md +30 -0
- arthur_client/api_bindings/docs/ModelMetricsSchedule.md +32 -0
- arthur_client/api_bindings/docs/ModelProblemType.md +18 -0
- arthur_client/api_bindings/docs/ModelsSort.md +14 -0
- arthur_client/api_bindings/docs/ModelsV1Api.md +742 -0
- arthur_client/api_bindings/docs/NewRuleRequest.md +33 -0
- arthur_client/api_bindings/docs/NotFoundError.md +29 -0
- arthur_client/api_bindings/docs/NumericMetric.md +30 -0
- arthur_client/api_bindings/docs/NumericPoint.md +30 -0
- arthur_client/api_bindings/docs/NumericTimeSeries.md +30 -0
- arthur_client/api_bindings/docs/OAuthV1Api.md +73 -0
- arthur_client/api_bindings/docs/ObjectType.md +29 -0
- arthur_client/api_bindings/docs/ObjectValue.md +34 -0
- arthur_client/api_bindings/docs/Organization.md +32 -0
- arthur_client/api_bindings/docs/OrganizationsV1Api.md +234 -0
- arthur_client/api_bindings/docs/PIIConfig.md +31 -0
- arthur_client/api_bindings/docs/Pagination.md +32 -0
- arthur_client/api_bindings/docs/PatchAlertRule.md +36 -0
- arthur_client/api_bindings/docs/PatchConnectorSpec.md +31 -0
- arthur_client/api_bindings/docs/PatchDataPlane.md +31 -0
- arthur_client/api_bindings/docs/PatchDataPlaneCapabilities.md +29 -0
- arthur_client/api_bindings/docs/PatchDataset.md +31 -0
- arthur_client/api_bindings/docs/PatchDatasetLocator.md +29 -0
- arthur_client/api_bindings/docs/PatchGroup.md +30 -0
- arthur_client/api_bindings/docs/PatchJob.md +29 -0
- arthur_client/api_bindings/docs/PatchModel.md +31 -0
- arthur_client/api_bindings/docs/PatchOrganization.md +29 -0
- arthur_client/api_bindings/docs/PatchProject.md +30 -0
- arthur_client/api_bindings/docs/PatchServiceAccountUser.md +29 -0
- arthur_client/api_bindings/docs/PatchTaskRequest.md +32 -0
- arthur_client/api_bindings/docs/PatchUser.md +32 -0
- arthur_client/api_bindings/docs/PatchWebhook.md +32 -0
- arthur_client/api_bindings/docs/PatchWorkspace.md +29 -0
- arthur_client/api_bindings/docs/Permission.md +31 -0
- arthur_client/api_bindings/docs/PermissionName.md +272 -0
- arthur_client/api_bindings/docs/PermissionRequestItem.md +31 -0
- arthur_client/api_bindings/docs/PermissionResponseItem.md +32 -0
- arthur_client/api_bindings/docs/PermissionsRequest.md +29 -0
- arthur_client/api_bindings/docs/PermissionsResponse.md +29 -0
- arthur_client/api_bindings/docs/PostAlert.md +37 -0
- arthur_client/api_bindings/docs/PostAlertRule.md +36 -0
- arthur_client/api_bindings/docs/PostAlerts.md +29 -0
- arthur_client/api_bindings/docs/PostConnectorSpec.md +33 -0
- arthur_client/api_bindings/docs/PostDataPlane.md +31 -0
- arthur_client/api_bindings/docs/PostDataPlaneAssociation.md +30 -0
- arthur_client/api_bindings/docs/PostDataRetrievalOperation.md +32 -0
- arthur_client/api_bindings/docs/PostDataset.md +33 -0
- arthur_client/api_bindings/docs/PostDatasetJoinSpec.md +33 -0
- arthur_client/api_bindings/docs/PostEndUser.md +33 -0
- arthur_client/api_bindings/docs/PostGlobalRoleBinding.md +31 -0
- arthur_client/api_bindings/docs/PostGroup.md +30 -0
- arthur_client/api_bindings/docs/PostGroupMembership.md +29 -0
- arthur_client/api_bindings/docs/PostJob.md +34 -0
- arthur_client/api_bindings/docs/PostJobBatch.md +29 -0
- arthur_client/api_bindings/docs/PostJobKind.md +21 -0
- arthur_client/api_bindings/docs/PostJobSpec.md +37 -0
- arthur_client/api_bindings/docs/PostLinkTaskRequest.md +31 -0
- arthur_client/api_bindings/docs/PostMetricsQuery.md +33 -0
- arthur_client/api_bindings/docs/PostMetricsQueryResultFilter.md +31 -0
- arthur_client/api_bindings/docs/PostMetricsQueryResultFilterAndGroup.md +29 -0
- arthur_client/api_bindings/docs/PostMetricsQueryResultFilterAndGroupAndInner.md +33 -0
- arthur_client/api_bindings/docs/PostMetricsQueryResultFilterOrGroup.md +29 -0
- arthur_client/api_bindings/docs/PostMetricsQueryResultFilterOrGroupOrInner.md +33 -0
- arthur_client/api_bindings/docs/PostMetricsQueryTimeRange.md +30 -0
- arthur_client/api_bindings/docs/PostMetricsVersions.md +30 -0
- arthur_client/api_bindings/docs/PostModel.md +33 -0
- arthur_client/api_bindings/docs/PostProject.md +30 -0
- arthur_client/api_bindings/docs/PostRoleBinding.md +31 -0
- arthur_client/api_bindings/docs/PostServiceAccount.md +29 -0
- arthur_client/api_bindings/docs/PostTaskRequest.md +32 -0
- arthur_client/api_bindings/docs/PostTaskValidationAPIKey.md +31 -0
- arthur_client/api_bindings/docs/PostUpsolveTenant.md +30 -0
- arthur_client/api_bindings/docs/PostWebhook.md +32 -0
- arthur_client/api_bindings/docs/PostWorkspace.md +29 -0
- arthur_client/api_bindings/docs/Project.md +35 -0
- arthur_client/api_bindings/docs/ProjectBoundResourceMetadata.md +30 -0
- arthur_client/api_bindings/docs/ProjectSort.md +14 -0
- arthur_client/api_bindings/docs/ProjectsV1Api.md +420 -0
- arthur_client/api_bindings/docs/PutAvailableDataset.md +33 -0
- arthur_client/api_bindings/docs/PutAvailableDatasets.md +29 -0
- arthur_client/api_bindings/docs/PutDatasetSchema.md +30 -0
- arthur_client/api_bindings/docs/PutJobState.md +29 -0
- arthur_client/api_bindings/docs/PutModelMetricSpec.md +29 -0
- arthur_client/api_bindings/docs/PutModelMetricsSchedule.md +31 -0
- arthur_client/api_bindings/docs/PutRetrievedData.md +29 -0
- arthur_client/api_bindings/docs/PutTaskConnectionInfo.md +30 -0
- arthur_client/api_bindings/docs/PutTaskStateCacheRequest.md +29 -0
- arthur_client/api_bindings/docs/RegenerateTaskValidationKeyJobSpec.md +30 -0
- arthur_client/api_bindings/docs/RegexConfig.md +29 -0
- arthur_client/api_bindings/docs/RegisterUser.md +29 -0
- arthur_client/api_bindings/docs/RegistrationV1Api.md +80 -0
- arthur_client/api_bindings/docs/ResourceKind.md +40 -0
- arthur_client/api_bindings/docs/ResourceListAggregationSpecSchema.md +30 -0
- arthur_client/api_bindings/docs/ResourceListAlertRule.md +30 -0
- arthur_client/api_bindings/docs/ResourceListAvailableDataset.md +30 -0
- arthur_client/api_bindings/docs/ResourceListConnectorSpec.md +30 -0
- arthur_client/api_bindings/docs/ResourceListConnectorType.md +30 -0
- arthur_client/api_bindings/docs/ResourceListDataPlane.md +30 -0
- arthur_client/api_bindings/docs/ResourceListDataPlaneAssociation.md +30 -0
- arthur_client/api_bindings/docs/ResourceListDataset.md +30 -0
- arthur_client/api_bindings/docs/ResourceListGroup.md +30 -0
- arthur_client/api_bindings/docs/ResourceListGroupMembership.md +30 -0
- arthur_client/api_bindings/docs/ResourceListJobError.md +30 -0
- arthur_client/api_bindings/docs/ResourceListJobLog.md +30 -0
- arthur_client/api_bindings/docs/ResourceListJobRun.md +30 -0
- arthur_client/api_bindings/docs/ResourceListMetricsVersion.md +30 -0
- arthur_client/api_bindings/docs/ResourceListModel.md +30 -0
- arthur_client/api_bindings/docs/ResourceListPermission.md +30 -0
- arthur_client/api_bindings/docs/ResourceListProject.md +30 -0
- arthur_client/api_bindings/docs/ResourceListRole.md +30 -0
- arthur_client/api_bindings/docs/ResourceListRoleBinding.md +30 -0
- arthur_client/api_bindings/docs/ResourceListUser.md +30 -0
- arthur_client/api_bindings/docs/ResourceListWebhook.md +30 -0
- arthur_client/api_bindings/docs/ResourceListWorkspace.md +30 -0
- arthur_client/api_bindings/docs/ResultFilter.md +34 -0
- arthur_client/api_bindings/docs/Role.md +39 -0
- arthur_client/api_bindings/docs/RoleBinding.md +36 -0
- arthur_client/api_bindings/docs/RoleSort.md +14 -0
- arthur_client/api_bindings/docs/RolesV1Api.md +87 -0
- arthur_client/api_bindings/docs/RuleResponse.md +38 -0
- arthur_client/api_bindings/docs/RuleResponseConfig.md +37 -0
- arthur_client/api_bindings/docs/RuleScope.md +12 -0
- arthur_client/api_bindings/docs/RuleType.md +26 -0
- arthur_client/api_bindings/docs/ScalarType.md +29 -0
- arthur_client/api_bindings/docs/ScheduleJobsJobSpec.md +31 -0
- arthur_client/api_bindings/docs/SchemaInspectionJobSpec.md +31 -0
- arthur_client/api_bindings/docs/ScopeSchemaTag.md +26 -0
- arthur_client/api_bindings/docs/SensitiveDataPlane.md +39 -0
- arthur_client/api_bindings/docs/SensitiveUser.md +41 -0
- arthur_client/api_bindings/docs/ServiceAccountCredentials.md +30 -0
- arthur_client/api_bindings/docs/SketchMetric.md +30 -0
- arthur_client/api_bindings/docs/SketchPoint.md +30 -0
- arthur_client/api_bindings/docs/SketchTimeSeries.md +30 -0
- arthur_client/api_bindings/docs/SortOrder.md +12 -0
- arthur_client/api_bindings/docs/TaskConnectionInfo.md +32 -0
- arthur_client/api_bindings/docs/TaskMutationResponse.md +29 -0
- arthur_client/api_bindings/docs/TaskReadResponse.md +31 -0
- arthur_client/api_bindings/docs/TaskResponse.md +33 -0
- arthur_client/api_bindings/docs/TaskValidationAPIKey.md +31 -0
- arthur_client/api_bindings/docs/TaskValidationKeyRegenerationResponse.md +29 -0
- arthur_client/api_bindings/docs/TasksV1Api.md +892 -0
- arthur_client/api_bindings/docs/ToxicityConfig.md +29 -0
- arthur_client/api_bindings/docs/UpdateModelTaskRulesJobSpec.md +34 -0
- arthur_client/api_bindings/docs/UpsolveToken.md +29 -0
- arthur_client/api_bindings/docs/UpsolveV1Api.md +88 -0
- arthur_client/api_bindings/docs/User.md +40 -0
- arthur_client/api_bindings/docs/UserCredentials.md +29 -0
- arthur_client/api_bindings/docs/UserServiceAccountCredentials.md +41 -0
- arthur_client/api_bindings/docs/UserSort.md +16 -0
- arthur_client/api_bindings/docs/UserType.md +14 -0
- arthur_client/api_bindings/docs/UsersV1Api.md +810 -0
- arthur_client/api_bindings/docs/ValidateAlertRuleQueryReq.md +29 -0
- arthur_client/api_bindings/docs/ValidationError.md +31 -0
- arthur_client/api_bindings/docs/ValidationErrorLocInner.md +28 -0
- arthur_client/api_bindings/docs/Webhook.md +37 -0
- arthur_client/api_bindings/docs/WebhookResponse.md +30 -0
- arthur_client/api_bindings/docs/WebhookResult.md +30 -0
- arthur_client/api_bindings/docs/WebhookSort.md +14 -0
- arthur_client/api_bindings/docs/WebhooksV1Api.md +503 -0
- arthur_client/api_bindings/docs/Workspace.md +33 -0
- arthur_client/api_bindings/docs/WorkspaceSort.md +14 -0
- arthur_client/api_bindings/docs/WorkspacesV1Api.md +416 -0
- arthur_client/api_bindings/exceptions.py +199 -0
- arthur_client/api_bindings/models/__init__.py +292 -0
- arthur_client/api_bindings/models/aggregation_metric_type.py +37 -0
- arthur_client/api_bindings/models/aggregation_spec.py +106 -0
- arthur_client/api_bindings/models/aggregation_spec_schema.py +113 -0
- arthur_client/api_bindings/models/aggregation_spec_schema_init_args_inner.py +164 -0
- arthur_client/api_bindings/models/alert.py +143 -0
- arthur_client/api_bindings/models/alert_bound.py +37 -0
- arthur_client/api_bindings/models/alert_check_job_spec.py +104 -0
- arthur_client/api_bindings/models/alert_rule.py +139 -0
- arthur_client/api_bindings/models/alert_rule_interval.py +90 -0
- arthur_client/api_bindings/models/alert_rule_notification_webhook.py +89 -0
- arthur_client/api_bindings/models/alert_rule_sort.py +37 -0
- arthur_client/api_bindings/models/alert_rule_sql_validation_resp.py +93 -0
- arthur_client/api_bindings/models/alert_sort.py +37 -0
- arthur_client/api_bindings/models/alert_webhook_called.py +95 -0
- arthur_client/api_bindings/models/available_dataset.py +151 -0
- arthur_client/api_bindings/models/available_datasets_sort.py +38 -0
- arthur_client/api_bindings/models/bad_request_error.py +87 -0
- arthur_client/api_bindings/models/base_role.py +96 -0
- arthur_client/api_bindings/models/bound_member.py +89 -0
- arthur_client/api_bindings/models/bound_member_kind.py +37 -0
- arthur_client/api_bindings/models/bound_resource.py +100 -0
- arthur_client/api_bindings/models/bound_resource_kind.py +39 -0
- arthur_client/api_bindings/models/bound_role.py +89 -0
- arthur_client/api_bindings/models/config.py +185 -0
- arthur_client/api_bindings/models/conflict_error.py +87 -0
- arthur_client/api_bindings/models/connector_check_job_spec.py +99 -0
- arthur_client/api_bindings/models/connector_check_outcome.py +37 -0
- arthur_client/api_bindings/models/connector_check_result.py +95 -0
- arthur_client/api_bindings/models/connector_field_data_type.py +39 -0
- arthur_client/api_bindings/models/connector_pagination_options.py +90 -0
- arthur_client/api_bindings/models/connector_spec.py +135 -0
- arthur_client/api_bindings/models/connector_spec_field.py +89 -0
- arthur_client/api_bindings/models/connector_spec_field_with_metadata.py +94 -0
- arthur_client/api_bindings/models/connector_spec_schema.py +111 -0
- arthur_client/api_bindings/models/connector_spec_schema_field.py +103 -0
- arthur_client/api_bindings/models/connector_type.py +40 -0
- arthur_client/api_bindings/models/connectors_sort.py +38 -0
- arthur_client/api_bindings/models/create_model_link_task_job_spec.py +108 -0
- arthur_client/api_bindings/models/create_model_task_job_spec.py +118 -0
- arthur_client/api_bindings/models/created_alerts.py +110 -0
- arthur_client/api_bindings/models/credentials.py +134 -0
- arthur_client/api_bindings/models/d_type.py +45 -0
- arthur_client/api_bindings/models/data_plane.py +113 -0
- arthur_client/api_bindings/models/data_plane_association.py +118 -0
- arthur_client/api_bindings/models/data_plane_association_sort.py +37 -0
- arthur_client/api_bindings/models/data_plane_capabilities.py +87 -0
- arthur_client/api_bindings/models/data_plane_sort.py +38 -0
- arthur_client/api_bindings/models/data_result_filter.py +97 -0
- arthur_client/api_bindings/models/data_result_filter_op.py +43 -0
- arthur_client/api_bindings/models/data_retrieval_data.py +94 -0
- arthur_client/api_bindings/models/data_retrieval_operation.py +103 -0
- arthur_client/api_bindings/models/data_retrieval_status.py +38 -0
- arthur_client/api_bindings/models/dataset.py +145 -0
- arthur_client/api_bindings/models/dataset_column.py +95 -0
- arthur_client/api_bindings/models/dataset_connector.py +92 -0
- arthur_client/api_bindings/models/dataset_join_kind.py +39 -0
- arthur_client/api_bindings/models/dataset_join_spec.py +99 -0
- arthur_client/api_bindings/models/dataset_list_type.py +105 -0
- arthur_client/api_bindings/models/dataset_locator.py +95 -0
- arthur_client/api_bindings/models/dataset_locator_field.py +89 -0
- arthur_client/api_bindings/models/dataset_locator_field_data_type.py +39 -0
- arthur_client/api_bindings/models/dataset_locator_schema.py +95 -0
- arthur_client/api_bindings/models/dataset_locator_schema_field.py +101 -0
- arthur_client/api_bindings/models/dataset_object_type.py +114 -0
- arthur_client/api_bindings/models/dataset_reference.py +97 -0
- arthur_client/api_bindings/models/dataset_scalar_type.py +100 -0
- arthur_client/api_bindings/models/dataset_schema.py +101 -0
- arthur_client/api_bindings/models/datasets_sort.py +37 -0
- arthur_client/api_bindings/models/definition.py +149 -0
- arthur_client/api_bindings/models/delete_group_membership.py +87 -0
- arthur_client/api_bindings/models/delete_model_task_job_spec.py +99 -0
- arthur_client/api_bindings/models/dimension.py +89 -0
- arthur_client/api_bindings/models/example_config.py +89 -0
- arthur_client/api_bindings/models/examples_config.py +102 -0
- arthur_client/api_bindings/models/extended_role.py +129 -0
- arthur_client/api_bindings/models/fetch_data_job_spec.py +134 -0
- arthur_client/api_bindings/models/fetch_model_task_job_spec.py +99 -0
- arthur_client/api_bindings/models/generate_metrics_spec_request.py +87 -0
- arthur_client/api_bindings/models/group.py +105 -0
- arthur_client/api_bindings/models/group_membership.py +100 -0
- arthur_client/api_bindings/models/group_sort.py +38 -0
- arthur_client/api_bindings/models/health_status.py +87 -0
- arthur_client/api_bindings/models/http_validation_error.py +95 -0
- arthur_client/api_bindings/models/infinite_pagination.py +89 -0
- arthur_client/api_bindings/models/infinite_resource_list_alert.py +101 -0
- arthur_client/api_bindings/models/infinite_resource_list_job.py +101 -0
- arthur_client/api_bindings/models/internal_server_error.py +87 -0
- arthur_client/api_bindings/models/interval_unit.py +39 -0
- arthur_client/api_bindings/models/invite_new_user.py +105 -0
- arthur_client/api_bindings/models/items.py +151 -0
- arthur_client/api_bindings/models/items1.py +151 -0
- arthur_client/api_bindings/models/job.py +178 -0
- arthur_client/api_bindings/models/job_dequeue_parameters.py +87 -0
- arthur_client/api_bindings/models/job_error.py +87 -0
- arthur_client/api_bindings/models/job_errors.py +95 -0
- arthur_client/api_bindings/models/job_kind.py +48 -0
- arthur_client/api_bindings/models/job_log.py +93 -0
- arthur_client/api_bindings/models/job_log_level.py +40 -0
- arthur_client/api_bindings/models/job_logs.py +95 -0
- arthur_client/api_bindings/models/job_priority.py +39 -0
- arthur_client/api_bindings/models/job_run.py +104 -0
- arthur_client/api_bindings/models/job_spec.py +299 -0
- arthur_client/api_bindings/models/job_state.py +40 -0
- arthur_client/api_bindings/models/job_trigger.py +38 -0
- arthur_client/api_bindings/models/jobs_batch.py +95 -0
- arthur_client/api_bindings/models/jobs_sort.py +38 -0
- arthur_client/api_bindings/models/joined_dataset.py +98 -0
- arthur_client/api_bindings/models/keywords_config.py +87 -0
- arthur_client/api_bindings/models/list_datasets_job_spec.py +99 -0
- arthur_client/api_bindings/models/list_type.py +93 -0
- arthur_client/api_bindings/models/metrics_arg_spec.py +94 -0
- arthur_client/api_bindings/models/metrics_calculation_job_spec.py +104 -0
- arthur_client/api_bindings/models/metrics_column_list_parameter_schema.py +127 -0
- arthur_client/api_bindings/models/metrics_column_list_parameter_schema_allowed_column_types_inner.py +151 -0
- arthur_client/api_bindings/models/metrics_column_parameter_schema.py +127 -0
- arthur_client/api_bindings/models/metrics_dataset_parameter_schema.py +113 -0
- arthur_client/api_bindings/models/metrics_literal_parameter_schema.py +108 -0
- arthur_client/api_bindings/models/metrics_query_result.py +87 -0
- arthur_client/api_bindings/models/metrics_result_filter_op.py +43 -0
- arthur_client/api_bindings/models/metrics_upload.py +95 -0
- arthur_client/api_bindings/models/metrics_upload_metrics_inner.py +134 -0
- arthur_client/api_bindings/models/metrics_upload_result.py +93 -0
- arthur_client/api_bindings/models/metrics_version.py +98 -0
- arthur_client/api_bindings/models/metrics_versions_sort.py +39 -0
- arthur_client/api_bindings/models/model.py +153 -0
- arthur_client/api_bindings/models/model_metric_spec.py +97 -0
- arthur_client/api_bindings/models/model_metrics_schedule.py +98 -0
- arthur_client/api_bindings/models/model_problem_type.py +40 -0
- arthur_client/api_bindings/models/models_sort.py +38 -0
- arthur_client/api_bindings/models/new_rule_request.py +104 -0
- arthur_client/api_bindings/models/not_found_error.py +87 -0
- arthur_client/api_bindings/models/numeric_metric.py +97 -0
- arthur_client/api_bindings/models/numeric_point.py +90 -0
- arthur_client/api_bindings/models/numeric_time_series.py +105 -0
- arthur_client/api_bindings/models/object_type.py +102 -0
- arthur_client/api_bindings/models/object_value.py +151 -0
- arthur_client/api_bindings/models/organization.py +94 -0
- arthur_client/api_bindings/models/pagination.py +93 -0
- arthur_client/api_bindings/models/patch_alert_rule.py +146 -0
- arthur_client/api_bindings/models/patch_connector_spec.py +109 -0
- arthur_client/api_bindings/models/patch_data_plane.py +110 -0
- arthur_client/api_bindings/models/patch_data_plane_capabilities.py +92 -0
- arthur_client/api_bindings/models/patch_dataset.py +111 -0
- arthur_client/api_bindings/models/patch_dataset_locator.py +100 -0
- arthur_client/api_bindings/models/patch_group.py +99 -0
- arthur_client/api_bindings/models/patch_job.py +92 -0
- arthur_client/api_bindings/models/patch_model.py +106 -0
- arthur_client/api_bindings/models/patch_organization.py +92 -0
- arthur_client/api_bindings/models/patch_project.py +99 -0
- arthur_client/api_bindings/models/patch_service_account_user.py +92 -0
- arthur_client/api_bindings/models/patch_task_request.py +101 -0
- arthur_client/api_bindings/models/patch_user.py +113 -0
- arthur_client/api_bindings/models/patch_webhook.py +113 -0
- arthur_client/api_bindings/models/patch_workspace.py +87 -0
- arthur_client/api_bindings/models/permission.py +93 -0
- arthur_client/api_bindings/models/permission_name.py +167 -0
- arthur_client/api_bindings/models/permission_request_item.py +93 -0
- arthur_client/api_bindings/models/permission_response_item.py +95 -0
- arthur_client/api_bindings/models/permissions_request.py +96 -0
- arthur_client/api_bindings/models/permissions_response.py +95 -0
- arthur_client/api_bindings/models/pii_config.py +106 -0
- arthur_client/api_bindings/models/post_alert.py +124 -0
- arthur_client/api_bindings/models/post_alert_rule.py +111 -0
- arthur_client/api_bindings/models/post_alerts.py +96 -0
- arthur_client/api_bindings/models/post_connector_spec.py +104 -0
- arthur_client/api_bindings/models/post_data_plane.py +95 -0
- arthur_client/api_bindings/models/post_data_plane_association.py +89 -0
- arthur_client/api_bindings/models/post_data_retrieval_operation.py +106 -0
- arthur_client/api_bindings/models/post_dataset.py +128 -0
- arthur_client/api_bindings/models/post_dataset_join_spec.py +96 -0
- arthur_client/api_bindings/models/post_end_user.py +105 -0
- arthur_client/api_bindings/models/post_global_role_binding.py +92 -0
- arthur_client/api_bindings/models/post_group.py +94 -0
- arthur_client/api_bindings/models/post_group_membership.py +87 -0
- arthur_client/api_bindings/models/post_job.py +124 -0
- arthur_client/api_bindings/models/post_job_batch.py +95 -0
- arthur_client/api_bindings/models/post_job_kind.py +41 -0
- arthur_client/api_bindings/models/post_job_spec.py +194 -0
- arthur_client/api_bindings/models/post_link_task_request.py +96 -0
- arthur_client/api_bindings/models/post_metrics_query.py +117 -0
- arthur_client/api_bindings/models/post_metrics_query_result_filter.py +97 -0
- arthur_client/api_bindings/models/post_metrics_query_result_filter_and_group.py +97 -0
- arthur_client/api_bindings/models/post_metrics_query_result_filter_and_group_and_inner.py +151 -0
- arthur_client/api_bindings/models/post_metrics_query_result_filter_or_group.py +97 -0
- arthur_client/api_bindings/models/post_metrics_query_result_filter_or_group_or_inner.py +151 -0
- arthur_client/api_bindings/models/post_metrics_query_time_range.py +90 -0
- arthur_client/api_bindings/models/post_metrics_versions.py +90 -0
- arthur_client/api_bindings/models/post_model.py +115 -0
- arthur_client/api_bindings/models/post_project.py +94 -0
- arthur_client/api_bindings/models/post_role_binding.py +101 -0
- arthur_client/api_bindings/models/post_service_account.py +87 -0
- arthur_client/api_bindings/models/post_task_request.py +107 -0
- arthur_client/api_bindings/models/post_task_validation_api_key.py +91 -0
- arthur_client/api_bindings/models/post_upsolve_tenant.py +90 -0
- arthur_client/api_bindings/models/post_webhook.py +93 -0
- arthur_client/api_bindings/models/post_workspace.py +87 -0
- arthur_client/api_bindings/models/project.py +105 -0
- arthur_client/api_bindings/models/project_bound_resource_metadata.py +89 -0
- arthur_client/api_bindings/models/project_sort.py +38 -0
- arthur_client/api_bindings/models/put_available_dataset.py +133 -0
- arthur_client/api_bindings/models/put_available_datasets.py +95 -0
- arthur_client/api_bindings/models/put_dataset_schema.py +97 -0
- arthur_client/api_bindings/models/put_job_state.py +88 -0
- arthur_client/api_bindings/models/put_model_metric_spec.py +95 -0
- arthur_client/api_bindings/models/put_model_metrics_schedule.py +96 -0
- arthur_client/api_bindings/models/put_retrieved_data.py +87 -0
- arthur_client/api_bindings/models/put_task_connection_info.py +93 -0
- arthur_client/api_bindings/models/put_task_state_cache_request.py +91 -0
- arthur_client/api_bindings/models/regenerate_task_validation_key_job_spec.py +99 -0
- arthur_client/api_bindings/models/regex_config.py +87 -0
- arthur_client/api_bindings/models/register_user.py +87 -0
- arthur_client/api_bindings/models/resource_kind.py +51 -0
- arthur_client/api_bindings/models/resource_list_aggregation_spec_schema.py +101 -0
- arthur_client/api_bindings/models/resource_list_alert_rule.py +101 -0
- arthur_client/api_bindings/models/resource_list_available_dataset.py +101 -0
- arthur_client/api_bindings/models/resource_list_connector_spec.py +101 -0
- arthur_client/api_bindings/models/resource_list_connector_type.py +94 -0
- arthur_client/api_bindings/models/resource_list_data_plane.py +101 -0
- arthur_client/api_bindings/models/resource_list_data_plane_association.py +101 -0
- arthur_client/api_bindings/models/resource_list_dataset.py +101 -0
- arthur_client/api_bindings/models/resource_list_group.py +101 -0
- arthur_client/api_bindings/models/resource_list_group_membership.py +101 -0
- arthur_client/api_bindings/models/resource_list_job_error.py +101 -0
- arthur_client/api_bindings/models/resource_list_job_log.py +101 -0
- arthur_client/api_bindings/models/resource_list_job_run.py +101 -0
- arthur_client/api_bindings/models/resource_list_metrics_version.py +101 -0
- arthur_client/api_bindings/models/resource_list_model.py +101 -0
- arthur_client/api_bindings/models/resource_list_permission.py +101 -0
- arthur_client/api_bindings/models/resource_list_project.py +101 -0
- arthur_client/api_bindings/models/resource_list_role.py +101 -0
- arthur_client/api_bindings/models/resource_list_role_binding.py +101 -0
- arthur_client/api_bindings/models/resource_list_user.py +101 -0
- arthur_client/api_bindings/models/resource_list_webhook.py +101 -0
- arthur_client/api_bindings/models/resource_list_workspace.py +101 -0
- arthur_client/api_bindings/models/result_filter.py +155 -0
- arthur_client/api_bindings/models/role.py +114 -0
- arthur_client/api_bindings/models/role_binding.py +116 -0
- arthur_client/api_bindings/models/role_sort.py +38 -0
- arthur_client/api_bindings/models/rule_response.py +121 -0
- arthur_client/api_bindings/models/rule_response_config.py +185 -0
- arthur_client/api_bindings/models/rule_scope.py +37 -0
- arthur_client/api_bindings/models/rule_type.py +44 -0
- arthur_client/api_bindings/models/scalar_type.py +88 -0
- arthur_client/api_bindings/models/schedule_jobs_job_spec.py +102 -0
- arthur_client/api_bindings/models/schema_inspection_job_spec.py +101 -0
- arthur_client/api_bindings/models/scope_schema_tag.py +44 -0
- arthur_client/api_bindings/models/sensitive_data_plane.py +117 -0
- arthur_client/api_bindings/models/sensitive_user.py +142 -0
- arthur_client/api_bindings/models/service_account_credentials.py +89 -0
- arthur_client/api_bindings/models/sketch_metric.py +97 -0
- arthur_client/api_bindings/models/sketch_point.py +90 -0
- arthur_client/api_bindings/models/sketch_time_series.py +105 -0
- arthur_client/api_bindings/models/sort_order.py +37 -0
- arthur_client/api_bindings/models/task_connection_info.py +98 -0
- arthur_client/api_bindings/models/task_mutation_response.py +87 -0
- arthur_client/api_bindings/models/task_read_response.py +106 -0
- arthur_client/api_bindings/models/task_response.py +103 -0
- arthur_client/api_bindings/models/task_validation_api_key.py +91 -0
- arthur_client/api_bindings/models/task_validation_key_regeneration_response.py +87 -0
- arthur_client/api_bindings/models/toxicity_config.py +100 -0
- arthur_client/api_bindings/models/update_model_task_rules_job_spec.py +115 -0
- arthur_client/api_bindings/models/upsolve_token.py +87 -0
- arthur_client/api_bindings/models/user.py +136 -0
- arthur_client/api_bindings/models/user_credentials.py +87 -0
- arthur_client/api_bindings/models/user_service_account_credentials.py +142 -0
- arthur_client/api_bindings/models/user_sort.py +39 -0
- arthur_client/api_bindings/models/user_type.py +38 -0
- arthur_client/api_bindings/models/validate_alert_rule_query_req.py +87 -0
- arthur_client/api_bindings/models/validation_error.py +99 -0
- arthur_client/api_bindings/models/validation_error_loc_inner.py +138 -0
- arthur_client/api_bindings/models/webhook.py +113 -0
- arthur_client/api_bindings/models/webhook_response.py +99 -0
- arthur_client/api_bindings/models/webhook_result.py +103 -0
- arthur_client/api_bindings/models/webhook_sort.py +38 -0
- arthur_client/api_bindings/models/workspace.py +96 -0
- arthur_client/api_bindings/models/workspace_sort.py +38 -0
- arthur_client/api_bindings/rest.py +257 -0
- arthur_client/api_bindings/test/test_aggregation_metric_type.py +33 -0
- arthur_client/api_bindings/test/test_aggregation_spec.py +72 -0
- arthur_client/api_bindings/test/test_aggregation_spec_schema.py +70 -0
- arthur_client/api_bindings/test/test_aggregation_spec_schema_init_args_inner.py +70 -0
- arthur_client/api_bindings/test/test_alert.py +84 -0
- arthur_client/api_bindings/test/test_alert_bound.py +33 -0
- arthur_client/api_bindings/test/test_alert_check_job_spec.py +57 -0
- arthur_client/api_bindings/test/test_alert_rule.py +98 -0
- arthur_client/api_bindings/test/test_alert_rule_interval.py +54 -0
- arthur_client/api_bindings/test/test_alert_rule_notification_webhook.py +54 -0
- arthur_client/api_bindings/test/test_alert_rule_sort.py +33 -0
- arthur_client/api_bindings/test/test_alert_rule_sql_validation_resp.py +58 -0
- arthur_client/api_bindings/test/test_alert_rules_v1_api.py +73 -0
- arthur_client/api_bindings/test/test_alert_sort.py +33 -0
- arthur_client/api_bindings/test/test_alert_webhook_called.py +64 -0
- arthur_client/api_bindings/test/test_alerts_v1_api.py +52 -0
- arthur_client/api_bindings/test/test_authorization_v1_api.py +115 -0
- arthur_client/api_bindings/test/test_available_dataset.py +94 -0
- arthur_client/api_bindings/test/test_available_datasets_sort.py +33 -0
- arthur_client/api_bindings/test/test_bad_request_error.py +51 -0
- arthur_client/api_bindings/test/test_base_role.py +56 -0
- arthur_client/api_bindings/test/test_bound_member.py +54 -0
- arthur_client/api_bindings/test/test_bound_member_kind.py +33 -0
- arthur_client/api_bindings/test/test_bound_resource.py +57 -0
- arthur_client/api_bindings/test/test_bound_resource_kind.py +33 -0
- arthur_client/api_bindings/test/test_bound_role.py +54 -0
- arthur_client/api_bindings/test/test_config.py +77 -0
- arthur_client/api_bindings/test/test_conflict_error.py +51 -0
- arthur_client/api_bindings/test/test_connector_check_job_spec.py +53 -0
- arthur_client/api_bindings/test/test_connector_check_outcome.py +33 -0
- arthur_client/api_bindings/test/test_connector_check_result.py +53 -0
- arthur_client/api_bindings/test/test_connector_field_data_type.py +33 -0
- arthur_client/api_bindings/test/test_connector_pagination_options.py +52 -0
- arthur_client/api_bindings/test/test_connector_schemas_v1_api.py +45 -0
- arthur_client/api_bindings/test/test_connector_spec.py +96 -0
- arthur_client/api_bindings/test/test_connector_spec_field.py +54 -0
- arthur_client/api_bindings/test/test_connector_spec_field_with_metadata.py +58 -0
- arthur_client/api_bindings/test/test_connector_spec_schema.py +102 -0
- arthur_client/api_bindings/test/test_connector_spec_schema_field.py +63 -0
- arthur_client/api_bindings/test/test_connector_type.py +33 -0
- arthur_client/api_bindings/test/test_connectors_sort.py +33 -0
- arthur_client/api_bindings/test/test_connectors_v1_api.py +80 -0
- arthur_client/api_bindings/test/test_create_model_link_task_job_spec.py +56 -0
- arthur_client/api_bindings/test/test_create_model_task_job_spec.py +72 -0
- arthur_client/api_bindings/test/test_created_alerts.py +102 -0
- arthur_client/api_bindings/test/test_credentials.py +56 -0
- arthur_client/api_bindings/test/test_d_type.py +33 -0
- arthur_client/api_bindings/test/test_data_plane.py +70 -0
- arthur_client/api_bindings/test/test_data_plane_association.py +79 -0
- arthur_client/api_bindings/test/test_data_plane_association_sort.py +33 -0
- arthur_client/api_bindings/test/test_data_plane_associations_v1_api.py +66 -0
- arthur_client/api_bindings/test/test_data_plane_capabilities.py +51 -0
- arthur_client/api_bindings/test/test_data_plane_sort.py +33 -0
- arthur_client/api_bindings/test/test_data_planes_v1_api.py +73 -0
- arthur_client/api_bindings/test/test_data_result_filter.py +56 -0
- arthur_client/api_bindings/test/test_data_result_filter_op.py +33 -0
- arthur_client/api_bindings/test/test_data_retrieval_data.py +54 -0
- arthur_client/api_bindings/test/test_data_retrieval_operation.py +59 -0
- arthur_client/api_bindings/test/test_data_retrieval_status.py +33 -0
- arthur_client/api_bindings/test/test_data_retrieval_v1_api.py +87 -0
- arthur_client/api_bindings/test/test_dataset.py +117 -0
- arthur_client/api_bindings/test/test_dataset_column.py +55 -0
- arthur_client/api_bindings/test/test_dataset_connector.py +56 -0
- arthur_client/api_bindings/test/test_dataset_join_kind.py +33 -0
- arthur_client/api_bindings/test/test_dataset_join_spec.py +71 -0
- arthur_client/api_bindings/test/test_dataset_list_type.py +57 -0
- arthur_client/api_bindings/test/test_dataset_locator.py +60 -0
- arthur_client/api_bindings/test/test_dataset_locator_field.py +54 -0
- arthur_client/api_bindings/test/test_dataset_locator_field_data_type.py +33 -0
- arthur_client/api_bindings/test/test_dataset_locator_schema.py +70 -0
- arthur_client/api_bindings/test/test_dataset_locator_schema_field.py +61 -0
- arthur_client/api_bindings/test/test_dataset_object_type.py +61 -0
- arthur_client/api_bindings/test/test_dataset_reference.py +56 -0
- arthur_client/api_bindings/test/test_dataset_scalar_type.py +57 -0
- arthur_client/api_bindings/test/test_dataset_schema.py +74 -0
- arthur_client/api_bindings/test/test_datasets_sort.py +33 -0
- arthur_client/api_bindings/test/test_datasets_v1_api.py +129 -0
- arthur_client/api_bindings/test/test_default_api.py +38 -0
- arthur_client/api_bindings/test/test_definition.py +65 -0
- arthur_client/api_bindings/test/test_delete_group_membership.py +56 -0
- arthur_client/api_bindings/test/test_delete_model_task_job_spec.py +53 -0
- arthur_client/api_bindings/test/test_dimension.py +54 -0
- arthur_client/api_bindings/test/test_example_config.py +54 -0
- arthur_client/api_bindings/test/test_examples_config.py +57 -0
- arthur_client/api_bindings/test/test_extended_role.py +92 -0
- arthur_client/api_bindings/test/test_feature_flags_v1_api.py +38 -0
- arthur_client/api_bindings/test/test_fetch_data_job_spec.py +77 -0
- arthur_client/api_bindings/test/test_fetch_model_task_job_spec.py +53 -0
- arthur_client/api_bindings/test/test_generate_metrics_spec_request.py +56 -0
- arthur_client/api_bindings/test/test_group.py +63 -0
- arthur_client/api_bindings/test/test_group_membership.py +74 -0
- arthur_client/api_bindings/test/test_group_sort.py +33 -0
- arthur_client/api_bindings/test/test_groups_v1_api.py +94 -0
- arthur_client/api_bindings/test/test_health_status.py +51 -0
- arthur_client/api_bindings/test/test_http_validation_error.py +58 -0
- arthur_client/api_bindings/test/test_infinite_pagination.py +52 -0
- arthur_client/api_bindings/test/test_infinite_resource_list_alert.py +98 -0
- arthur_client/api_bindings/test/test_infinite_resource_list_job.py +126 -0
- arthur_client/api_bindings/test/test_internal_server_error.py +51 -0
- arthur_client/api_bindings/test/test_interval_unit.py +33 -0
- arthur_client/api_bindings/test/test_invite_new_user.py +59 -0
- arthur_client/api_bindings/test/test_items.py +65 -0
- arthur_client/api_bindings/test/test_items1.py +60 -0
- arthur_client/api_bindings/test/test_job.py +94 -0
- arthur_client/api_bindings/test/test_job_dequeue_parameters.py +52 -0
- arthur_client/api_bindings/test/test_job_error.py +52 -0
- arthur_client/api_bindings/test/test_job_errors.py +58 -0
- arthur_client/api_bindings/test/test_job_kind.py +33 -0
- arthur_client/api_bindings/test/test_job_log.py +56 -0
- arthur_client/api_bindings/test/test_job_log_level.py +33 -0
- arthur_client/api_bindings/test/test_job_logs.py +62 -0
- arthur_client/api_bindings/test/test_job_priority.py +33 -0
- arthur_client/api_bindings/test/test_job_run.py +61 -0
- arthur_client/api_bindings/test/test_job_spec.py +124 -0
- arthur_client/api_bindings/test/test_job_state.py +33 -0
- arthur_client/api_bindings/test/test_job_trigger.py +33 -0
- arthur_client/api_bindings/test/test_jobs_batch.py +120 -0
- arthur_client/api_bindings/test/test_jobs_sort.py +33 -0
- arthur_client/api_bindings/test/test_jobs_v1_api.py +108 -0
- arthur_client/api_bindings/test/test_joined_dataset.py +58 -0
- arthur_client/api_bindings/test/test_keywords_config.py +56 -0
- arthur_client/api_bindings/test/test_list_datasets_job_spec.py +53 -0
- arthur_client/api_bindings/test/test_list_type.py +52 -0
- arthur_client/api_bindings/test/test_metric_functions_v1_api.py +38 -0
- arthur_client/api_bindings/test/test_metrics_arg_spec.py +54 -0
- arthur_client/api_bindings/test/test_metrics_calculation_job_spec.py +57 -0
- arthur_client/api_bindings/test/test_metrics_column_list_parameter_schema.py +67 -0
- arthur_client/api_bindings/test/test_metrics_column_list_parameter_schema_allowed_column_types_inner.py +60 -0
- arthur_client/api_bindings/test/test_metrics_column_parameter_schema.py +67 -0
- arthur_client/api_bindings/test/test_metrics_dataset_parameter_schema.py +59 -0
- arthur_client/api_bindings/test/test_metrics_literal_parameter_schema.py +60 -0
- arthur_client/api_bindings/test/test_metrics_query_result.py +56 -0
- arthur_client/api_bindings/test/test_metrics_result_filter_op.py +33 -0
- arthur_client/api_bindings/test/test_metrics_upload.py +56 -0
- arthur_client/api_bindings/test/test_metrics_upload_metrics_inner.py +104 -0
- arthur_client/api_bindings/test/test_metrics_upload_result.py +58 -0
- arthur_client/api_bindings/test/test_metrics_v1_api.py +59 -0
- arthur_client/api_bindings/test/test_metrics_version.py +62 -0
- arthur_client/api_bindings/test/test_metrics_versions_sort.py +33 -0
- arthur_client/api_bindings/test/test_model.py +133 -0
- arthur_client/api_bindings/test/test_model_metric_spec.py +80 -0
- arthur_client/api_bindings/test/test_model_metrics_schedule.py +57 -0
- arthur_client/api_bindings/test/test_model_problem_type.py +33 -0
- arthur_client/api_bindings/test/test_models_sort.py +33 -0
- arthur_client/api_bindings/test/test_models_v1_api.py +94 -0
- arthur_client/api_bindings/test/test_new_rule_request.py +59 -0
- arthur_client/api_bindings/test/test_not_found_error.py +51 -0
- arthur_client/api_bindings/test/test_numeric_metric.py +78 -0
- arthur_client/api_bindings/test/test_numeric_point.py +54 -0
- arthur_client/api_bindings/test/test_numeric_time_series.py +70 -0
- arthur_client/api_bindings/test/test_o_auth_v1_api.py +38 -0
- arthur_client/api_bindings/test/test_object_type.py +56 -0
- arthur_client/api_bindings/test/test_object_value.py +65 -0
- arthur_client/api_bindings/test/test_organization.py +58 -0
- arthur_client/api_bindings/test/test_organizations_v1_api.py +52 -0
- arthur_client/api_bindings/test/test_pagination.py +56 -0
- arthur_client/api_bindings/test/test_patch_alert_rule.py +62 -0
- arthur_client/api_bindings/test/test_patch_connector_spec.py +57 -0
- arthur_client/api_bindings/test/test_patch_data_plane.py +54 -0
- arthur_client/api_bindings/test/test_patch_data_plane_capabilities.py +51 -0
- arthur_client/api_bindings/test/test_patch_dataset.py +58 -0
- arthur_client/api_bindings/test/test_patch_dataset_locator.py +55 -0
- arthur_client/api_bindings/test/test_patch_group.py +52 -0
- arthur_client/api_bindings/test/test_patch_job.py +52 -0
- arthur_client/api_bindings/test/test_patch_model.py +55 -0
- arthur_client/api_bindings/test/test_patch_organization.py +51 -0
- arthur_client/api_bindings/test/test_patch_project.py +52 -0
- arthur_client/api_bindings/test/test_patch_service_account_user.py +51 -0
- arthur_client/api_bindings/test/test_patch_task_request.py +67 -0
- arthur_client/api_bindings/test/test_patch_user.py +54 -0
- arthur_client/api_bindings/test/test_patch_webhook.py +58 -0
- arthur_client/api_bindings/test/test_patch_workspace.py +52 -0
- arthur_client/api_bindings/test/test_permission.py +56 -0
- arthur_client/api_bindings/test/test_permission_name.py +33 -0
- arthur_client/api_bindings/test/test_permission_request_item.py +56 -0
- arthur_client/api_bindings/test/test_permission_response_item.py +58 -0
- arthur_client/api_bindings/test/test_permissions_request.py +62 -0
- arthur_client/api_bindings/test/test_permissions_response.py +64 -0
- arthur_client/api_bindings/test/test_pii_config.py +57 -0
- arthur_client/api_bindings/test/test_post_alert.py +71 -0
- arthur_client/api_bindings/test/test_post_alert_rule.py +70 -0
- arthur_client/api_bindings/test/test_post_alerts.py +78 -0
- arthur_client/api_bindings/test/test_post_connector_spec.py +67 -0
- arthur_client/api_bindings/test/test_post_data_plane.py +56 -0
- arthur_client/api_bindings/test/test_post_data_plane_association.py +54 -0
- arthur_client/api_bindings/test/test_post_data_retrieval_operation.py +63 -0
- arthur_client/api_bindings/test/test_post_dataset.py +75 -0
- arthur_client/api_bindings/test/test_post_dataset_join_spec.py +59 -0
- arthur_client/api_bindings/test/test_post_end_user.py +58 -0
- arthur_client/api_bindings/test/test_post_global_role_binding.py +56 -0
- arthur_client/api_bindings/test/test_post_group.py +53 -0
- arthur_client/api_bindings/test/test_post_group_membership.py +56 -0
- arthur_client/api_bindings/test/test_post_job.py +58 -0
- arthur_client/api_bindings/test/test_post_job_batch.py +68 -0
- arthur_client/api_bindings/test/test_post_job_kind.py +33 -0
- arthur_client/api_bindings/test/test_post_job_spec.py +65 -0
- arthur_client/api_bindings/test/test_post_link_task_request.py +55 -0
- arthur_client/api_bindings/test/test_post_metrics_query.py +63 -0
- arthur_client/api_bindings/test/test_post_metrics_query_result_filter.py +56 -0
- arthur_client/api_bindings/test/test_post_metrics_query_result_filter_and_group.py +56 -0
- arthur_client/api_bindings/test/test_post_metrics_query_result_filter_and_group_and_inner.py +68 -0
- arthur_client/api_bindings/test/test_post_metrics_query_result_filter_or_group.py +56 -0
- arthur_client/api_bindings/test/test_post_metrics_query_result_filter_or_group_or_inner.py +68 -0
- arthur_client/api_bindings/test/test_post_metrics_query_time_range.py +54 -0
- arthur_client/api_bindings/test/test_post_metrics_versions.py +54 -0
- arthur_client/api_bindings/test/test_post_model.py +75 -0
- arthur_client/api_bindings/test/test_post_project.py +53 -0
- arthur_client/api_bindings/test/test_post_role_binding.py +54 -0
- arthur_client/api_bindings/test/test_post_service_account.py +52 -0
- arthur_client/api_bindings/test/test_post_task_request.py +63 -0
- arthur_client/api_bindings/test/test_post_task_validation_api_key.py +56 -0
- arthur_client/api_bindings/test/test_post_upsolve_tenant.py +54 -0
- arthur_client/api_bindings/test/test_post_webhook.py +61 -0
- arthur_client/api_bindings/test/test_post_workspace.py +52 -0
- arthur_client/api_bindings/test/test_project.py +63 -0
- arthur_client/api_bindings/test/test_project_bound_resource_metadata.py +54 -0
- arthur_client/api_bindings/test/test_project_sort.py +33 -0
- arthur_client/api_bindings/test/test_projects_v1_api.py +66 -0
- arthur_client/api_bindings/test/test_put_available_dataset.py +74 -0
- arthur_client/api_bindings/test/test_put_available_datasets.py +104 -0
- arthur_client/api_bindings/test/test_put_dataset_schema.py +68 -0
- arthur_client/api_bindings/test/test_put_job_state.py +52 -0
- arthur_client/api_bindings/test/test_put_model_metric_spec.py +78 -0
- arthur_client/api_bindings/test/test_put_model_metrics_schedule.py +55 -0
- arthur_client/api_bindings/test/test_put_retrieved_data.py +52 -0
- arthur_client/api_bindings/test/test_put_task_connection_info.py +60 -0
- arthur_client/api_bindings/test/test_put_task_state_cache_request.py +86 -0
- arthur_client/api_bindings/test/test_regenerate_task_validation_key_job_spec.py +53 -0
- arthur_client/api_bindings/test/test_regex_config.py +56 -0
- arthur_client/api_bindings/test/test_register_user.py +52 -0
- arthur_client/api_bindings/test/test_registration_v1_api.py +38 -0
- arthur_client/api_bindings/test/test_resource_kind.py +33 -0
- arthur_client/api_bindings/test/test_resource_list_aggregation_spec_schema.py +86 -0
- arthur_client/api_bindings/test/test_resource_list_alert_rule.py +128 -0
- arthur_client/api_bindings/test/test_resource_list_available_dataset.py +144 -0
- arthur_client/api_bindings/test/test_resource_list_connector_spec.py +128 -0
- arthur_client/api_bindings/test/test_resource_list_connector_type.py +66 -0
- arthur_client/api_bindings/test/test_resource_list_data_plane.py +86 -0
- arthur_client/api_bindings/test/test_resource_list_data_plane_association.py +114 -0
- arthur_client/api_bindings/test/test_resource_list_dataset.py +150 -0
- arthur_client/api_bindings/test/test_resource_list_group.py +80 -0
- arthur_client/api_bindings/test/test_resource_list_group_membership.py +90 -0
- arthur_client/api_bindings/test/test_resource_list_job_error.py +68 -0
- arthur_client/api_bindings/test/test_resource_list_job_log.py +72 -0
- arthur_client/api_bindings/test/test_resource_list_job_run.py +78 -0
- arthur_client/api_bindings/test/test_resource_list_metrics_version.py +78 -0
- arthur_client/api_bindings/test/test_resource_list_model.py +168 -0
- arthur_client/api_bindings/test/test_resource_list_permission.py +72 -0
- arthur_client/api_bindings/test/test_resource_list_project.py +80 -0
- arthur_client/api_bindings/test/test_resource_list_role.py +96 -0
- arthur_client/api_bindings/test/test_resource_list_role_binding.py +100 -0
- arthur_client/api_bindings/test/test_resource_list_user.py +90 -0
- arthur_client/api_bindings/test/test_resource_list_webhook.py +116 -0
- arthur_client/api_bindings/test/test_resource_list_workspace.py +76 -0
- arthur_client/api_bindings/test/test_result_filter.py +68 -0
- arthur_client/api_bindings/test/test_role.py +80 -0
- arthur_client/api_bindings/test/test_role_binding.py +84 -0
- arthur_client/api_bindings/test/test_role_sort.py +33 -0
- arthur_client/api_bindings/test/test_roles_v1_api.py +38 -0
- arthur_client/api_bindings/test/test_rule_response.py +68 -0
- arthur_client/api_bindings/test/test_rule_response_config.py +77 -0
- arthur_client/api_bindings/test/test_rule_scope.py +33 -0
- arthur_client/api_bindings/test/test_rule_type.py +33 -0
- arthur_client/api_bindings/test/test_scalar_type.py +52 -0
- arthur_client/api_bindings/test/test_schedule_jobs_job_spec.py +55 -0
- arthur_client/api_bindings/test/test_schema_inspection_job_spec.py +55 -0
- arthur_client/api_bindings/test/test_scope_schema_tag.py +33 -0
- arthur_client/api_bindings/test/test_sensitive_data_plane.py +74 -0
- arthur_client/api_bindings/test/test_sensitive_user.py +72 -0
- arthur_client/api_bindings/test/test_service_account_credentials.py +54 -0
- arthur_client/api_bindings/test/test_sketch_metric.py +78 -0
- arthur_client/api_bindings/test/test_sketch_point.py +54 -0
- arthur_client/api_bindings/test/test_sketch_time_series.py +70 -0
- arthur_client/api_bindings/test/test_sort_order.py +33 -0
- arthur_client/api_bindings/test/test_task_connection_info.py +64 -0
- arthur_client/api_bindings/test/test_task_mutation_response.py +52 -0
- arthur_client/api_bindings/test/test_task_read_response.py +71 -0
- arthur_client/api_bindings/test/test_task_response.py +84 -0
- arthur_client/api_bindings/test/test_task_validation_api_key.py +56 -0
- arthur_client/api_bindings/test/test_task_validation_key_regeneration_response.py +52 -0
- arthur_client/api_bindings/test/test_tasks_v1_api.py +108 -0
- arthur_client/api_bindings/test/test_toxicity_config.py +51 -0
- arthur_client/api_bindings/test/test_update_model_task_rules_job_spec.py +70 -0
- arthur_client/api_bindings/test/test_upsolve_token.py +52 -0
- arthur_client/api_bindings/test/test_upsolve_v1_api.py +38 -0
- arthur_client/api_bindings/test/test_user.py +70 -0
- arthur_client/api_bindings/test/test_user_credentials.py +52 -0
- arthur_client/api_bindings/test/test_user_service_account_credentials.py +76 -0
- arthur_client/api_bindings/test/test_user_sort.py +33 -0
- arthur_client/api_bindings/test/test_user_type.py +33 -0
- arthur_client/api_bindings/test/test_users_v1_api.py +101 -0
- arthur_client/api_bindings/test/test_validate_alert_rule_query_req.py +52 -0
- arthur_client/api_bindings/test/test_validation_error.py +60 -0
- arthur_client/api_bindings/test/test_validation_error_loc_inner.py +50 -0
- arthur_client/api_bindings/test/test_webhook.py +82 -0
- arthur_client/api_bindings/test/test_webhook_response.py +54 -0
- arthur_client/api_bindings/test/test_webhook_result.py +58 -0
- arthur_client/api_bindings/test/test_webhook_sort.py +33 -0
- arthur_client/api_bindings/test/test_webhooks_v1_api.py +73 -0
- arthur_client/api_bindings/test/test_workspace.py +60 -0
- arthur_client/api_bindings/test/test_workspace_sort.py +33 -0
- arthur_client/api_bindings/test/test_workspaces_v1_api.py +66 -0
- arthur_client/api_bindings_README.md +514 -0
- arthur_client/auth/__init__.py +4 -0
- arthur_client/auth/constants.py +1 -0
- arthur_client/auth/device_authorizer.py +74 -0
- arthur_client/auth/discovery.py +40 -0
- arthur_client/auth/oauth_api_config.py +38 -0
- arthur_client/auth/session.py +84 -0
- arthur_client-1.4.1186.dist-info/METADATA +40 -0
- arthur_client-1.4.1186.dist-info/RECORD +927 -0
- {arthur_client-1.4.0.dist-info → arthur_client-1.4.1186.dist-info}/WHEEL +1 -2
- arthur/client/__init__.py +0 -3
- arthur/client/auth/helpers.py +0 -123
- arthur/client/auth/refresh.py +0 -67
- arthur/client/helpers.py +0 -48
- arthur/client/http/helper.py +0 -47
- arthur/client/http/requests.py +0 -654
- arthur/client/http/validation.py +0 -197
- arthur/client/rest/__init__.py +0 -16
- arthur/client/rest/admin/__init__.py +0 -2
- arthur/client/rest/admin/client.py +0 -330
- arthur/client/rest/admin/models.py +0 -457
- arthur/client/rest/alerts/__init__.py +0 -2
- arthur/client/rest/alerts/client.py +0 -589
- arthur/client/rest/alerts/models.py +0 -695
- arthur/client/rest/bench/__init__.py +0 -2
- arthur/client/rest/bench/client.py +0 -280
- arthur/client/rest/bench/models.py +0 -229
- arthur/client/rest/client.py +0 -158
- arthur/client/rest/common/__init__.py +0 -2
- arthur/client/rest/common/client.py +0 -25
- arthur/client/rest/common/models.py +0 -317
- arthur/client/rest/enrichments/__init__.py +0 -2
- arthur/client/rest/enrichments/client.py +0 -352
- arthur/client/rest/enrichments/models.py +0 -483
- arthur/client/rest/inferences/__init__.py +0 -2
- arthur/client/rest/inferences/client.py +0 -268
- arthur/client/rest/inferences/models.py +0 -432
- arthur/client/rest/insights/__init__.py +0 -2
- arthur/client/rest/insights/client.py +0 -199
- arthur/client/rest/insights/models.py +0 -182
- arthur/client/rest/metrics/__init__.py +0 -2
- arthur/client/rest/metrics/client.py +0 -296
- arthur/client/rest/metrics/models.py +0 -325
- arthur/client/rest/model_groups/__init__.py +0 -2
- arthur/client/rest/model_groups/client.py +0 -153
- arthur/client/rest/model_groups/models.py +0 -80
- arthur/client/rest/models/__init__.py +0 -2
- arthur/client/rest/models/client.py +0 -534
- arthur/client/rest/models/models.py +0 -565
- arthur/client/rest/query/__init__.py +0 -2
- arthur/client/rest/query/client.py +0 -123
- arthur/client/rest/query/models.py +0 -133
- arthur/client/rest/users/__init__.py +0 -2
- arthur/client/rest/users/client.py +0 -171
- arthur/client/rest/users/models.py +0 -317
- arthur/client/types.py +0 -9
- arthur/client/version.py +0 -2
- arthur/common/__init__.py +0 -3
- arthur/common/constants.py +0 -5
- arthur/common/exceptions.py +0 -183
- arthur/common/log.py +0 -79
- arthur_client-1.4.0.dist-info/LICENSE +0 -21
- arthur_client-1.4.0.dist-info/METADATA +0 -49
- arthur_client-1.4.0.dist-info/RECORD +0 -58
- arthur_client-1.4.0.dist-info/top_level.txt +0 -1
- {arthur/client/auth → arthur_client}/__init__.py +0 -0
- {arthur/client/http → arthur_client/api_bindings/test}/__init__.py +0 -0
@@ -0,0 +1,2403 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
"""
|
4
|
+
Arthur Scope
|
5
|
+
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
7
|
+
|
8
|
+
The version of the OpenAPI document: 0.1.0
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
10
|
+
|
11
|
+
Do not edit the class manually.
|
12
|
+
""" # noqa: E501
|
13
|
+
|
14
|
+
import warnings
|
15
|
+
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
16
|
+
from typing import Any, Dict, List, Optional, Tuple, Union
|
17
|
+
from typing_extensions import Annotated
|
18
|
+
|
19
|
+
from pydantic import Field, StrictStr
|
20
|
+
from typing import Any
|
21
|
+
from typing_extensions import Annotated
|
22
|
+
from arthur_client.api_bindings.models.data_retrieval_operation import DataRetrievalOperation
|
23
|
+
from arthur_client.api_bindings.models.post_data_retrieval_operation import PostDataRetrievalOperation
|
24
|
+
from arthur_client.api_bindings.models.put_retrieved_data import PutRetrievedData
|
25
|
+
|
26
|
+
from arthur_client.api_bindings.api_client import ApiClient, RequestSerialized
|
27
|
+
from arthur_client.api_bindings.api_response import ApiResponse
|
28
|
+
from arthur_client.api_bindings.rest import RESTResponseType
|
29
|
+
|
30
|
+
|
31
|
+
class DataRetrievalV1Api:
|
32
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
33
|
+
Ref: https://openapi-generator.tech
|
34
|
+
|
35
|
+
Do not edit the class manually.
|
36
|
+
"""
|
37
|
+
|
38
|
+
def __init__(self, api_client=None) -> None:
|
39
|
+
if api_client is None:
|
40
|
+
api_client = ApiClient.get_default()
|
41
|
+
self.api_client = api_client
|
42
|
+
|
43
|
+
|
44
|
+
@validate_call
|
45
|
+
def delete_available_data_retrieval_data(
|
46
|
+
self,
|
47
|
+
operation_id: Annotated[StrictStr, Field(description="Operation ID of the raw data operation.")],
|
48
|
+
available_dataset_id: StrictStr,
|
49
|
+
_request_timeout: Union[
|
50
|
+
None,
|
51
|
+
Annotated[StrictFloat, Field(gt=0)],
|
52
|
+
Tuple[
|
53
|
+
Annotated[StrictFloat, Field(gt=0)],
|
54
|
+
Annotated[StrictFloat, Field(gt=0)]
|
55
|
+
]
|
56
|
+
] = None,
|
57
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
58
|
+
_content_type: Optional[StrictStr] = None,
|
59
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
60
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
61
|
+
) -> None:
|
62
|
+
"""Delete Retrieved Data
|
63
|
+
|
64
|
+
Deletes retrieved data living in memory. A new operation will need to be created to retrieve the data again. Requires the available_dataset_delete_data_retrieval permission.
|
65
|
+
|
66
|
+
:param operation_id: Operation ID of the raw data operation. (required)
|
67
|
+
:type operation_id: str
|
68
|
+
:param available_dataset_id: (required)
|
69
|
+
:type available_dataset_id: str
|
70
|
+
:param _request_timeout: timeout setting for this request. If one
|
71
|
+
number provided, it will be total request
|
72
|
+
timeout. It can also be a pair (tuple) of
|
73
|
+
(connection, read) timeouts.
|
74
|
+
:type _request_timeout: int, tuple(int, int), optional
|
75
|
+
:param _request_auth: set to override the auth_settings for an a single
|
76
|
+
request; this effectively ignores the
|
77
|
+
authentication in the spec for a single request.
|
78
|
+
:type _request_auth: dict, optional
|
79
|
+
:param _content_type: force content-type for the request.
|
80
|
+
:type _content_type: str, Optional
|
81
|
+
:param _headers: set to override the headers for a single
|
82
|
+
request; this effectively ignores the headers
|
83
|
+
in the spec for a single request.
|
84
|
+
:type _headers: dict, optional
|
85
|
+
:param _host_index: set to override the host_index for a single
|
86
|
+
request; this effectively ignores the host_index
|
87
|
+
in the spec for a single request.
|
88
|
+
:type _host_index: int, optional
|
89
|
+
:return: Returns the result object.
|
90
|
+
""" # noqa: E501
|
91
|
+
|
92
|
+
_param = self._delete_available_data_retrieval_data_serialize(
|
93
|
+
operation_id=operation_id,
|
94
|
+
available_dataset_id=available_dataset_id,
|
95
|
+
_request_auth=_request_auth,
|
96
|
+
_content_type=_content_type,
|
97
|
+
_headers=_headers,
|
98
|
+
_host_index=_host_index
|
99
|
+
)
|
100
|
+
|
101
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
102
|
+
'204': None,
|
103
|
+
'500': "InternalServerError",
|
104
|
+
'404': "NotFoundError",
|
105
|
+
'422': "HTTPValidationError",
|
106
|
+
}
|
107
|
+
response_data = self.api_client.call_api(
|
108
|
+
*_param,
|
109
|
+
_request_timeout=_request_timeout
|
110
|
+
)
|
111
|
+
response_data.read()
|
112
|
+
return self.api_client.response_deserialize(
|
113
|
+
response_data=response_data,
|
114
|
+
response_types_map=_response_types_map,
|
115
|
+
).data
|
116
|
+
|
117
|
+
|
118
|
+
@validate_call
|
119
|
+
def delete_available_data_retrieval_data_with_http_info(
|
120
|
+
self,
|
121
|
+
operation_id: Annotated[StrictStr, Field(description="Operation ID of the raw data operation.")],
|
122
|
+
available_dataset_id: StrictStr,
|
123
|
+
_request_timeout: Union[
|
124
|
+
None,
|
125
|
+
Annotated[StrictFloat, Field(gt=0)],
|
126
|
+
Tuple[
|
127
|
+
Annotated[StrictFloat, Field(gt=0)],
|
128
|
+
Annotated[StrictFloat, Field(gt=0)]
|
129
|
+
]
|
130
|
+
] = None,
|
131
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
132
|
+
_content_type: Optional[StrictStr] = None,
|
133
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
134
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
135
|
+
) -> ApiResponse[None]:
|
136
|
+
"""Delete Retrieved Data
|
137
|
+
|
138
|
+
Deletes retrieved data living in memory. A new operation will need to be created to retrieve the data again. Requires the available_dataset_delete_data_retrieval permission.
|
139
|
+
|
140
|
+
:param operation_id: Operation ID of the raw data operation. (required)
|
141
|
+
:type operation_id: str
|
142
|
+
:param available_dataset_id: (required)
|
143
|
+
:type available_dataset_id: str
|
144
|
+
:param _request_timeout: timeout setting for this request. If one
|
145
|
+
number provided, it will be total request
|
146
|
+
timeout. It can also be a pair (tuple) of
|
147
|
+
(connection, read) timeouts.
|
148
|
+
:type _request_timeout: int, tuple(int, int), optional
|
149
|
+
:param _request_auth: set to override the auth_settings for an a single
|
150
|
+
request; this effectively ignores the
|
151
|
+
authentication in the spec for a single request.
|
152
|
+
:type _request_auth: dict, optional
|
153
|
+
:param _content_type: force content-type for the request.
|
154
|
+
:type _content_type: str, Optional
|
155
|
+
:param _headers: set to override the headers for a single
|
156
|
+
request; this effectively ignores the headers
|
157
|
+
in the spec for a single request.
|
158
|
+
:type _headers: dict, optional
|
159
|
+
:param _host_index: set to override the host_index for a single
|
160
|
+
request; this effectively ignores the host_index
|
161
|
+
in the spec for a single request.
|
162
|
+
:type _host_index: int, optional
|
163
|
+
:return: Returns the result object.
|
164
|
+
""" # noqa: E501
|
165
|
+
|
166
|
+
_param = self._delete_available_data_retrieval_data_serialize(
|
167
|
+
operation_id=operation_id,
|
168
|
+
available_dataset_id=available_dataset_id,
|
169
|
+
_request_auth=_request_auth,
|
170
|
+
_content_type=_content_type,
|
171
|
+
_headers=_headers,
|
172
|
+
_host_index=_host_index
|
173
|
+
)
|
174
|
+
|
175
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
176
|
+
'204': None,
|
177
|
+
'500': "InternalServerError",
|
178
|
+
'404': "NotFoundError",
|
179
|
+
'422': "HTTPValidationError",
|
180
|
+
}
|
181
|
+
response_data = self.api_client.call_api(
|
182
|
+
*_param,
|
183
|
+
_request_timeout=_request_timeout
|
184
|
+
)
|
185
|
+
response_data.read()
|
186
|
+
return self.api_client.response_deserialize(
|
187
|
+
response_data=response_data,
|
188
|
+
response_types_map=_response_types_map,
|
189
|
+
)
|
190
|
+
|
191
|
+
|
192
|
+
@validate_call
|
193
|
+
def delete_available_data_retrieval_data_without_preload_content(
|
194
|
+
self,
|
195
|
+
operation_id: Annotated[StrictStr, Field(description="Operation ID of the raw data operation.")],
|
196
|
+
available_dataset_id: StrictStr,
|
197
|
+
_request_timeout: Union[
|
198
|
+
None,
|
199
|
+
Annotated[StrictFloat, Field(gt=0)],
|
200
|
+
Tuple[
|
201
|
+
Annotated[StrictFloat, Field(gt=0)],
|
202
|
+
Annotated[StrictFloat, Field(gt=0)]
|
203
|
+
]
|
204
|
+
] = None,
|
205
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
206
|
+
_content_type: Optional[StrictStr] = None,
|
207
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
208
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
209
|
+
) -> RESTResponseType:
|
210
|
+
"""Delete Retrieved Data
|
211
|
+
|
212
|
+
Deletes retrieved data living in memory. A new operation will need to be created to retrieve the data again. Requires the available_dataset_delete_data_retrieval permission.
|
213
|
+
|
214
|
+
:param operation_id: Operation ID of the raw data operation. (required)
|
215
|
+
:type operation_id: str
|
216
|
+
:param available_dataset_id: (required)
|
217
|
+
:type available_dataset_id: str
|
218
|
+
:param _request_timeout: timeout setting for this request. If one
|
219
|
+
number provided, it will be total request
|
220
|
+
timeout. It can also be a pair (tuple) of
|
221
|
+
(connection, read) timeouts.
|
222
|
+
:type _request_timeout: int, tuple(int, int), optional
|
223
|
+
:param _request_auth: set to override the auth_settings for an a single
|
224
|
+
request; this effectively ignores the
|
225
|
+
authentication in the spec for a single request.
|
226
|
+
:type _request_auth: dict, optional
|
227
|
+
:param _content_type: force content-type for the request.
|
228
|
+
:type _content_type: str, Optional
|
229
|
+
:param _headers: set to override the headers for a single
|
230
|
+
request; this effectively ignores the headers
|
231
|
+
in the spec for a single request.
|
232
|
+
:type _headers: dict, optional
|
233
|
+
:param _host_index: set to override the host_index for a single
|
234
|
+
request; this effectively ignores the host_index
|
235
|
+
in the spec for a single request.
|
236
|
+
:type _host_index: int, optional
|
237
|
+
:return: Returns the result object.
|
238
|
+
""" # noqa: E501
|
239
|
+
|
240
|
+
_param = self._delete_available_data_retrieval_data_serialize(
|
241
|
+
operation_id=operation_id,
|
242
|
+
available_dataset_id=available_dataset_id,
|
243
|
+
_request_auth=_request_auth,
|
244
|
+
_content_type=_content_type,
|
245
|
+
_headers=_headers,
|
246
|
+
_host_index=_host_index
|
247
|
+
)
|
248
|
+
|
249
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
250
|
+
'204': None,
|
251
|
+
'500': "InternalServerError",
|
252
|
+
'404': "NotFoundError",
|
253
|
+
'422': "HTTPValidationError",
|
254
|
+
}
|
255
|
+
response_data = self.api_client.call_api(
|
256
|
+
*_param,
|
257
|
+
_request_timeout=_request_timeout
|
258
|
+
)
|
259
|
+
return response_data.response
|
260
|
+
|
261
|
+
|
262
|
+
def _delete_available_data_retrieval_data_serialize(
|
263
|
+
self,
|
264
|
+
operation_id,
|
265
|
+
available_dataset_id,
|
266
|
+
_request_auth,
|
267
|
+
_content_type,
|
268
|
+
_headers,
|
269
|
+
_host_index,
|
270
|
+
) -> RequestSerialized:
|
271
|
+
|
272
|
+
_host = None
|
273
|
+
|
274
|
+
_collection_formats: Dict[str, str] = {
|
275
|
+
}
|
276
|
+
|
277
|
+
_path_params: Dict[str, str] = {}
|
278
|
+
_query_params: List[Tuple[str, str]] = []
|
279
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
280
|
+
_form_params: List[Tuple[str, str]] = []
|
281
|
+
_files: Dict[
|
282
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
283
|
+
] = {}
|
284
|
+
_body_params: Optional[bytes] = None
|
285
|
+
|
286
|
+
# process the path parameters
|
287
|
+
if operation_id is not None:
|
288
|
+
_path_params['operation_id'] = operation_id
|
289
|
+
if available_dataset_id is not None:
|
290
|
+
_path_params['available_dataset_id'] = available_dataset_id
|
291
|
+
# process the query parameters
|
292
|
+
# process the header parameters
|
293
|
+
# process the form parameters
|
294
|
+
# process the body parameter
|
295
|
+
|
296
|
+
|
297
|
+
# set the HTTP header `Accept`
|
298
|
+
if 'Accept' not in _header_params:
|
299
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
300
|
+
[
|
301
|
+
'application/json'
|
302
|
+
]
|
303
|
+
)
|
304
|
+
|
305
|
+
|
306
|
+
# authentication setting
|
307
|
+
_auth_settings: List[str] = [
|
308
|
+
'OAuth2AuthorizationCode'
|
309
|
+
]
|
310
|
+
|
311
|
+
return self.api_client.param_serialize(
|
312
|
+
method='DELETE',
|
313
|
+
resource_path='/api/v1/available_dataset/{available_dataset_id}/data_retrieval/{operation_id}',
|
314
|
+
path_params=_path_params,
|
315
|
+
query_params=_query_params,
|
316
|
+
header_params=_header_params,
|
317
|
+
body=_body_params,
|
318
|
+
post_params=_form_params,
|
319
|
+
files=_files,
|
320
|
+
auth_settings=_auth_settings,
|
321
|
+
collection_formats=_collection_formats,
|
322
|
+
_host=_host,
|
323
|
+
_request_auth=_request_auth
|
324
|
+
)
|
325
|
+
|
326
|
+
|
327
|
+
|
328
|
+
|
329
|
+
@validate_call
|
330
|
+
def delete_data_retrieval_data(
|
331
|
+
self,
|
332
|
+
operation_id: Annotated[StrictStr, Field(description="Operation ID of the raw data operation.")],
|
333
|
+
dataset_id: StrictStr,
|
334
|
+
_request_timeout: Union[
|
335
|
+
None,
|
336
|
+
Annotated[StrictFloat, Field(gt=0)],
|
337
|
+
Tuple[
|
338
|
+
Annotated[StrictFloat, Field(gt=0)],
|
339
|
+
Annotated[StrictFloat, Field(gt=0)]
|
340
|
+
]
|
341
|
+
] = None,
|
342
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
343
|
+
_content_type: Optional[StrictStr] = None,
|
344
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
345
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
346
|
+
) -> None:
|
347
|
+
"""Delete Retrieved Data
|
348
|
+
|
349
|
+
Deletes retrieved data living in memory. A new operation will need to be created to retrieve the data again. Requires the dataset_delete_data_retrieval permission.
|
350
|
+
|
351
|
+
:param operation_id: Operation ID of the raw data operation. (required)
|
352
|
+
:type operation_id: str
|
353
|
+
:param dataset_id: (required)
|
354
|
+
:type dataset_id: str
|
355
|
+
:param _request_timeout: timeout setting for this request. If one
|
356
|
+
number provided, it will be total request
|
357
|
+
timeout. It can also be a pair (tuple) of
|
358
|
+
(connection, read) timeouts.
|
359
|
+
:type _request_timeout: int, tuple(int, int), optional
|
360
|
+
:param _request_auth: set to override the auth_settings for an a single
|
361
|
+
request; this effectively ignores the
|
362
|
+
authentication in the spec for a single request.
|
363
|
+
:type _request_auth: dict, optional
|
364
|
+
:param _content_type: force content-type for the request.
|
365
|
+
:type _content_type: str, Optional
|
366
|
+
:param _headers: set to override the headers for a single
|
367
|
+
request; this effectively ignores the headers
|
368
|
+
in the spec for a single request.
|
369
|
+
:type _headers: dict, optional
|
370
|
+
:param _host_index: set to override the host_index for a single
|
371
|
+
request; this effectively ignores the host_index
|
372
|
+
in the spec for a single request.
|
373
|
+
:type _host_index: int, optional
|
374
|
+
:return: Returns the result object.
|
375
|
+
""" # noqa: E501
|
376
|
+
|
377
|
+
_param = self._delete_data_retrieval_data_serialize(
|
378
|
+
operation_id=operation_id,
|
379
|
+
dataset_id=dataset_id,
|
380
|
+
_request_auth=_request_auth,
|
381
|
+
_content_type=_content_type,
|
382
|
+
_headers=_headers,
|
383
|
+
_host_index=_host_index
|
384
|
+
)
|
385
|
+
|
386
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
387
|
+
'204': None,
|
388
|
+
'500': "InternalServerError",
|
389
|
+
'404': "NotFoundError",
|
390
|
+
'422': "HTTPValidationError",
|
391
|
+
}
|
392
|
+
response_data = self.api_client.call_api(
|
393
|
+
*_param,
|
394
|
+
_request_timeout=_request_timeout
|
395
|
+
)
|
396
|
+
response_data.read()
|
397
|
+
return self.api_client.response_deserialize(
|
398
|
+
response_data=response_data,
|
399
|
+
response_types_map=_response_types_map,
|
400
|
+
).data
|
401
|
+
|
402
|
+
|
403
|
+
@validate_call
|
404
|
+
def delete_data_retrieval_data_with_http_info(
|
405
|
+
self,
|
406
|
+
operation_id: Annotated[StrictStr, Field(description="Operation ID of the raw data operation.")],
|
407
|
+
dataset_id: StrictStr,
|
408
|
+
_request_timeout: Union[
|
409
|
+
None,
|
410
|
+
Annotated[StrictFloat, Field(gt=0)],
|
411
|
+
Tuple[
|
412
|
+
Annotated[StrictFloat, Field(gt=0)],
|
413
|
+
Annotated[StrictFloat, Field(gt=0)]
|
414
|
+
]
|
415
|
+
] = None,
|
416
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
417
|
+
_content_type: Optional[StrictStr] = None,
|
418
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
419
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
420
|
+
) -> ApiResponse[None]:
|
421
|
+
"""Delete Retrieved Data
|
422
|
+
|
423
|
+
Deletes retrieved data living in memory. A new operation will need to be created to retrieve the data again. Requires the dataset_delete_data_retrieval permission.
|
424
|
+
|
425
|
+
:param operation_id: Operation ID of the raw data operation. (required)
|
426
|
+
:type operation_id: str
|
427
|
+
:param dataset_id: (required)
|
428
|
+
:type dataset_id: str
|
429
|
+
:param _request_timeout: timeout setting for this request. If one
|
430
|
+
number provided, it will be total request
|
431
|
+
timeout. It can also be a pair (tuple) of
|
432
|
+
(connection, read) timeouts.
|
433
|
+
:type _request_timeout: int, tuple(int, int), optional
|
434
|
+
:param _request_auth: set to override the auth_settings for an a single
|
435
|
+
request; this effectively ignores the
|
436
|
+
authentication in the spec for a single request.
|
437
|
+
:type _request_auth: dict, optional
|
438
|
+
:param _content_type: force content-type for the request.
|
439
|
+
:type _content_type: str, Optional
|
440
|
+
:param _headers: set to override the headers for a single
|
441
|
+
request; this effectively ignores the headers
|
442
|
+
in the spec for a single request.
|
443
|
+
:type _headers: dict, optional
|
444
|
+
:param _host_index: set to override the host_index for a single
|
445
|
+
request; this effectively ignores the host_index
|
446
|
+
in the spec for a single request.
|
447
|
+
:type _host_index: int, optional
|
448
|
+
:return: Returns the result object.
|
449
|
+
""" # noqa: E501
|
450
|
+
|
451
|
+
_param = self._delete_data_retrieval_data_serialize(
|
452
|
+
operation_id=operation_id,
|
453
|
+
dataset_id=dataset_id,
|
454
|
+
_request_auth=_request_auth,
|
455
|
+
_content_type=_content_type,
|
456
|
+
_headers=_headers,
|
457
|
+
_host_index=_host_index
|
458
|
+
)
|
459
|
+
|
460
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
461
|
+
'204': None,
|
462
|
+
'500': "InternalServerError",
|
463
|
+
'404': "NotFoundError",
|
464
|
+
'422': "HTTPValidationError",
|
465
|
+
}
|
466
|
+
response_data = self.api_client.call_api(
|
467
|
+
*_param,
|
468
|
+
_request_timeout=_request_timeout
|
469
|
+
)
|
470
|
+
response_data.read()
|
471
|
+
return self.api_client.response_deserialize(
|
472
|
+
response_data=response_data,
|
473
|
+
response_types_map=_response_types_map,
|
474
|
+
)
|
475
|
+
|
476
|
+
|
477
|
+
@validate_call
|
478
|
+
def delete_data_retrieval_data_without_preload_content(
|
479
|
+
self,
|
480
|
+
operation_id: Annotated[StrictStr, Field(description="Operation ID of the raw data operation.")],
|
481
|
+
dataset_id: StrictStr,
|
482
|
+
_request_timeout: Union[
|
483
|
+
None,
|
484
|
+
Annotated[StrictFloat, Field(gt=0)],
|
485
|
+
Tuple[
|
486
|
+
Annotated[StrictFloat, Field(gt=0)],
|
487
|
+
Annotated[StrictFloat, Field(gt=0)]
|
488
|
+
]
|
489
|
+
] = None,
|
490
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
491
|
+
_content_type: Optional[StrictStr] = None,
|
492
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
493
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
494
|
+
) -> RESTResponseType:
|
495
|
+
"""Delete Retrieved Data
|
496
|
+
|
497
|
+
Deletes retrieved data living in memory. A new operation will need to be created to retrieve the data again. Requires the dataset_delete_data_retrieval permission.
|
498
|
+
|
499
|
+
:param operation_id: Operation ID of the raw data operation. (required)
|
500
|
+
:type operation_id: str
|
501
|
+
:param dataset_id: (required)
|
502
|
+
:type dataset_id: str
|
503
|
+
:param _request_timeout: timeout setting for this request. If one
|
504
|
+
number provided, it will be total request
|
505
|
+
timeout. It can also be a pair (tuple) of
|
506
|
+
(connection, read) timeouts.
|
507
|
+
:type _request_timeout: int, tuple(int, int), optional
|
508
|
+
:param _request_auth: set to override the auth_settings for an a single
|
509
|
+
request; this effectively ignores the
|
510
|
+
authentication in the spec for a single request.
|
511
|
+
:type _request_auth: dict, optional
|
512
|
+
:param _content_type: force content-type for the request.
|
513
|
+
:type _content_type: str, Optional
|
514
|
+
:param _headers: set to override the headers for a single
|
515
|
+
request; this effectively ignores the headers
|
516
|
+
in the spec for a single request.
|
517
|
+
:type _headers: dict, optional
|
518
|
+
:param _host_index: set to override the host_index for a single
|
519
|
+
request; this effectively ignores the host_index
|
520
|
+
in the spec for a single request.
|
521
|
+
:type _host_index: int, optional
|
522
|
+
:return: Returns the result object.
|
523
|
+
""" # noqa: E501
|
524
|
+
|
525
|
+
_param = self._delete_data_retrieval_data_serialize(
|
526
|
+
operation_id=operation_id,
|
527
|
+
dataset_id=dataset_id,
|
528
|
+
_request_auth=_request_auth,
|
529
|
+
_content_type=_content_type,
|
530
|
+
_headers=_headers,
|
531
|
+
_host_index=_host_index
|
532
|
+
)
|
533
|
+
|
534
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
535
|
+
'204': None,
|
536
|
+
'500': "InternalServerError",
|
537
|
+
'404': "NotFoundError",
|
538
|
+
'422': "HTTPValidationError",
|
539
|
+
}
|
540
|
+
response_data = self.api_client.call_api(
|
541
|
+
*_param,
|
542
|
+
_request_timeout=_request_timeout
|
543
|
+
)
|
544
|
+
return response_data.response
|
545
|
+
|
546
|
+
|
547
|
+
def _delete_data_retrieval_data_serialize(
|
548
|
+
self,
|
549
|
+
operation_id,
|
550
|
+
dataset_id,
|
551
|
+
_request_auth,
|
552
|
+
_content_type,
|
553
|
+
_headers,
|
554
|
+
_host_index,
|
555
|
+
) -> RequestSerialized:
|
556
|
+
|
557
|
+
_host = None
|
558
|
+
|
559
|
+
_collection_formats: Dict[str, str] = {
|
560
|
+
}
|
561
|
+
|
562
|
+
_path_params: Dict[str, str] = {}
|
563
|
+
_query_params: List[Tuple[str, str]] = []
|
564
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
565
|
+
_form_params: List[Tuple[str, str]] = []
|
566
|
+
_files: Dict[
|
567
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
568
|
+
] = {}
|
569
|
+
_body_params: Optional[bytes] = None
|
570
|
+
|
571
|
+
# process the path parameters
|
572
|
+
if operation_id is not None:
|
573
|
+
_path_params['operation_id'] = operation_id
|
574
|
+
if dataset_id is not None:
|
575
|
+
_path_params['dataset_id'] = dataset_id
|
576
|
+
# process the query parameters
|
577
|
+
# process the header parameters
|
578
|
+
# process the form parameters
|
579
|
+
# process the body parameter
|
580
|
+
|
581
|
+
|
582
|
+
# set the HTTP header `Accept`
|
583
|
+
if 'Accept' not in _header_params:
|
584
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
585
|
+
[
|
586
|
+
'application/json'
|
587
|
+
]
|
588
|
+
)
|
589
|
+
|
590
|
+
|
591
|
+
# authentication setting
|
592
|
+
_auth_settings: List[str] = [
|
593
|
+
'OAuth2AuthorizationCode'
|
594
|
+
]
|
595
|
+
|
596
|
+
return self.api_client.param_serialize(
|
597
|
+
method='DELETE',
|
598
|
+
resource_path='/api/v1/datasets/{dataset_id}/data_retrieval/{operation_id}',
|
599
|
+
path_params=_path_params,
|
600
|
+
query_params=_query_params,
|
601
|
+
header_params=_header_params,
|
602
|
+
body=_body_params,
|
603
|
+
post_params=_form_params,
|
604
|
+
files=_files,
|
605
|
+
auth_settings=_auth_settings,
|
606
|
+
collection_formats=_collection_formats,
|
607
|
+
_host=_host,
|
608
|
+
_request_auth=_request_auth
|
609
|
+
)
|
610
|
+
|
611
|
+
|
612
|
+
|
613
|
+
|
614
|
+
@validate_call
|
615
|
+
def get_available_data_retrieval_data(
|
616
|
+
self,
|
617
|
+
operation_id: Annotated[StrictStr, Field(description="Operation ID of the raw data operation.")],
|
618
|
+
available_dataset_id: StrictStr,
|
619
|
+
_request_timeout: Union[
|
620
|
+
None,
|
621
|
+
Annotated[StrictFloat, Field(gt=0)],
|
622
|
+
Tuple[
|
623
|
+
Annotated[StrictFloat, Field(gt=0)],
|
624
|
+
Annotated[StrictFloat, Field(gt=0)]
|
625
|
+
]
|
626
|
+
] = None,
|
627
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
628
|
+
_content_type: Optional[StrictStr] = None,
|
629
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
630
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
631
|
+
) -> DataRetrievalOperation:
|
632
|
+
"""Gets Raw Data Operation Data
|
633
|
+
|
634
|
+
Gets the data retrieved by raw data operation. Requires the available_dataset_get_data_retrieval permission.
|
635
|
+
|
636
|
+
:param operation_id: Operation ID of the raw data operation. (required)
|
637
|
+
:type operation_id: str
|
638
|
+
:param available_dataset_id: (required)
|
639
|
+
:type available_dataset_id: str
|
640
|
+
:param _request_timeout: timeout setting for this request. If one
|
641
|
+
number provided, it will be total request
|
642
|
+
timeout. It can also be a pair (tuple) of
|
643
|
+
(connection, read) timeouts.
|
644
|
+
:type _request_timeout: int, tuple(int, int), optional
|
645
|
+
:param _request_auth: set to override the auth_settings for an a single
|
646
|
+
request; this effectively ignores the
|
647
|
+
authentication in the spec for a single request.
|
648
|
+
:type _request_auth: dict, optional
|
649
|
+
:param _content_type: force content-type for the request.
|
650
|
+
:type _content_type: str, Optional
|
651
|
+
:param _headers: set to override the headers for a single
|
652
|
+
request; this effectively ignores the headers
|
653
|
+
in the spec for a single request.
|
654
|
+
:type _headers: dict, optional
|
655
|
+
:param _host_index: set to override the host_index for a single
|
656
|
+
request; this effectively ignores the host_index
|
657
|
+
in the spec for a single request.
|
658
|
+
:type _host_index: int, optional
|
659
|
+
:return: Returns the result object.
|
660
|
+
""" # noqa: E501
|
661
|
+
|
662
|
+
_param = self._get_available_data_retrieval_data_serialize(
|
663
|
+
operation_id=operation_id,
|
664
|
+
available_dataset_id=available_dataset_id,
|
665
|
+
_request_auth=_request_auth,
|
666
|
+
_content_type=_content_type,
|
667
|
+
_headers=_headers,
|
668
|
+
_host_index=_host_index
|
669
|
+
)
|
670
|
+
|
671
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
672
|
+
'200': "DataRetrievalOperation",
|
673
|
+
'500': "InternalServerError",
|
674
|
+
'404': "NotFoundError",
|
675
|
+
'422': "HTTPValidationError",
|
676
|
+
}
|
677
|
+
response_data = self.api_client.call_api(
|
678
|
+
*_param,
|
679
|
+
_request_timeout=_request_timeout
|
680
|
+
)
|
681
|
+
response_data.read()
|
682
|
+
return self.api_client.response_deserialize(
|
683
|
+
response_data=response_data,
|
684
|
+
response_types_map=_response_types_map,
|
685
|
+
).data
|
686
|
+
|
687
|
+
|
688
|
+
@validate_call
|
689
|
+
def get_available_data_retrieval_data_with_http_info(
|
690
|
+
self,
|
691
|
+
operation_id: Annotated[StrictStr, Field(description="Operation ID of the raw data operation.")],
|
692
|
+
available_dataset_id: StrictStr,
|
693
|
+
_request_timeout: Union[
|
694
|
+
None,
|
695
|
+
Annotated[StrictFloat, Field(gt=0)],
|
696
|
+
Tuple[
|
697
|
+
Annotated[StrictFloat, Field(gt=0)],
|
698
|
+
Annotated[StrictFloat, Field(gt=0)]
|
699
|
+
]
|
700
|
+
] = None,
|
701
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
702
|
+
_content_type: Optional[StrictStr] = None,
|
703
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
704
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
705
|
+
) -> ApiResponse[DataRetrievalOperation]:
|
706
|
+
"""Gets Raw Data Operation Data
|
707
|
+
|
708
|
+
Gets the data retrieved by raw data operation. Requires the available_dataset_get_data_retrieval permission.
|
709
|
+
|
710
|
+
:param operation_id: Operation ID of the raw data operation. (required)
|
711
|
+
:type operation_id: str
|
712
|
+
:param available_dataset_id: (required)
|
713
|
+
:type available_dataset_id: str
|
714
|
+
:param _request_timeout: timeout setting for this request. If one
|
715
|
+
number provided, it will be total request
|
716
|
+
timeout. It can also be a pair (tuple) of
|
717
|
+
(connection, read) timeouts.
|
718
|
+
:type _request_timeout: int, tuple(int, int), optional
|
719
|
+
:param _request_auth: set to override the auth_settings for an a single
|
720
|
+
request; this effectively ignores the
|
721
|
+
authentication in the spec for a single request.
|
722
|
+
:type _request_auth: dict, optional
|
723
|
+
:param _content_type: force content-type for the request.
|
724
|
+
:type _content_type: str, Optional
|
725
|
+
:param _headers: set to override the headers for a single
|
726
|
+
request; this effectively ignores the headers
|
727
|
+
in the spec for a single request.
|
728
|
+
:type _headers: dict, optional
|
729
|
+
:param _host_index: set to override the host_index for a single
|
730
|
+
request; this effectively ignores the host_index
|
731
|
+
in the spec for a single request.
|
732
|
+
:type _host_index: int, optional
|
733
|
+
:return: Returns the result object.
|
734
|
+
""" # noqa: E501
|
735
|
+
|
736
|
+
_param = self._get_available_data_retrieval_data_serialize(
|
737
|
+
operation_id=operation_id,
|
738
|
+
available_dataset_id=available_dataset_id,
|
739
|
+
_request_auth=_request_auth,
|
740
|
+
_content_type=_content_type,
|
741
|
+
_headers=_headers,
|
742
|
+
_host_index=_host_index
|
743
|
+
)
|
744
|
+
|
745
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
746
|
+
'200': "DataRetrievalOperation",
|
747
|
+
'500': "InternalServerError",
|
748
|
+
'404': "NotFoundError",
|
749
|
+
'422': "HTTPValidationError",
|
750
|
+
}
|
751
|
+
response_data = self.api_client.call_api(
|
752
|
+
*_param,
|
753
|
+
_request_timeout=_request_timeout
|
754
|
+
)
|
755
|
+
response_data.read()
|
756
|
+
return self.api_client.response_deserialize(
|
757
|
+
response_data=response_data,
|
758
|
+
response_types_map=_response_types_map,
|
759
|
+
)
|
760
|
+
|
761
|
+
|
762
|
+
@validate_call
|
763
|
+
def get_available_data_retrieval_data_without_preload_content(
|
764
|
+
self,
|
765
|
+
operation_id: Annotated[StrictStr, Field(description="Operation ID of the raw data operation.")],
|
766
|
+
available_dataset_id: StrictStr,
|
767
|
+
_request_timeout: Union[
|
768
|
+
None,
|
769
|
+
Annotated[StrictFloat, Field(gt=0)],
|
770
|
+
Tuple[
|
771
|
+
Annotated[StrictFloat, Field(gt=0)],
|
772
|
+
Annotated[StrictFloat, Field(gt=0)]
|
773
|
+
]
|
774
|
+
] = None,
|
775
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
776
|
+
_content_type: Optional[StrictStr] = None,
|
777
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
778
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
779
|
+
) -> RESTResponseType:
|
780
|
+
"""Gets Raw Data Operation Data
|
781
|
+
|
782
|
+
Gets the data retrieved by raw data operation. Requires the available_dataset_get_data_retrieval permission.
|
783
|
+
|
784
|
+
:param operation_id: Operation ID of the raw data operation. (required)
|
785
|
+
:type operation_id: str
|
786
|
+
:param available_dataset_id: (required)
|
787
|
+
:type available_dataset_id: str
|
788
|
+
:param _request_timeout: timeout setting for this request. If one
|
789
|
+
number provided, it will be total request
|
790
|
+
timeout. It can also be a pair (tuple) of
|
791
|
+
(connection, read) timeouts.
|
792
|
+
:type _request_timeout: int, tuple(int, int), optional
|
793
|
+
:param _request_auth: set to override the auth_settings for an a single
|
794
|
+
request; this effectively ignores the
|
795
|
+
authentication in the spec for a single request.
|
796
|
+
:type _request_auth: dict, optional
|
797
|
+
:param _content_type: force content-type for the request.
|
798
|
+
:type _content_type: str, Optional
|
799
|
+
:param _headers: set to override the headers for a single
|
800
|
+
request; this effectively ignores the headers
|
801
|
+
in the spec for a single request.
|
802
|
+
:type _headers: dict, optional
|
803
|
+
:param _host_index: set to override the host_index for a single
|
804
|
+
request; this effectively ignores the host_index
|
805
|
+
in the spec for a single request.
|
806
|
+
:type _host_index: int, optional
|
807
|
+
:return: Returns the result object.
|
808
|
+
""" # noqa: E501
|
809
|
+
|
810
|
+
_param = self._get_available_data_retrieval_data_serialize(
|
811
|
+
operation_id=operation_id,
|
812
|
+
available_dataset_id=available_dataset_id,
|
813
|
+
_request_auth=_request_auth,
|
814
|
+
_content_type=_content_type,
|
815
|
+
_headers=_headers,
|
816
|
+
_host_index=_host_index
|
817
|
+
)
|
818
|
+
|
819
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
820
|
+
'200': "DataRetrievalOperation",
|
821
|
+
'500': "InternalServerError",
|
822
|
+
'404': "NotFoundError",
|
823
|
+
'422': "HTTPValidationError",
|
824
|
+
}
|
825
|
+
response_data = self.api_client.call_api(
|
826
|
+
*_param,
|
827
|
+
_request_timeout=_request_timeout
|
828
|
+
)
|
829
|
+
return response_data.response
|
830
|
+
|
831
|
+
|
832
|
+
def _get_available_data_retrieval_data_serialize(
|
833
|
+
self,
|
834
|
+
operation_id,
|
835
|
+
available_dataset_id,
|
836
|
+
_request_auth,
|
837
|
+
_content_type,
|
838
|
+
_headers,
|
839
|
+
_host_index,
|
840
|
+
) -> RequestSerialized:
|
841
|
+
|
842
|
+
_host = None
|
843
|
+
|
844
|
+
_collection_formats: Dict[str, str] = {
|
845
|
+
}
|
846
|
+
|
847
|
+
_path_params: Dict[str, str] = {}
|
848
|
+
_query_params: List[Tuple[str, str]] = []
|
849
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
850
|
+
_form_params: List[Tuple[str, str]] = []
|
851
|
+
_files: Dict[
|
852
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
853
|
+
] = {}
|
854
|
+
_body_params: Optional[bytes] = None
|
855
|
+
|
856
|
+
# process the path parameters
|
857
|
+
if operation_id is not None:
|
858
|
+
_path_params['operation_id'] = operation_id
|
859
|
+
if available_dataset_id is not None:
|
860
|
+
_path_params['available_dataset_id'] = available_dataset_id
|
861
|
+
# process the query parameters
|
862
|
+
# process the header parameters
|
863
|
+
# process the form parameters
|
864
|
+
# process the body parameter
|
865
|
+
|
866
|
+
|
867
|
+
# set the HTTP header `Accept`
|
868
|
+
if 'Accept' not in _header_params:
|
869
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
870
|
+
[
|
871
|
+
'application/json'
|
872
|
+
]
|
873
|
+
)
|
874
|
+
|
875
|
+
|
876
|
+
# authentication setting
|
877
|
+
_auth_settings: List[str] = [
|
878
|
+
'OAuth2AuthorizationCode'
|
879
|
+
]
|
880
|
+
|
881
|
+
return self.api_client.param_serialize(
|
882
|
+
method='GET',
|
883
|
+
resource_path='/api/v1/available_dataset/{available_dataset_id}/data_retrieval/{operation_id}',
|
884
|
+
path_params=_path_params,
|
885
|
+
query_params=_query_params,
|
886
|
+
header_params=_header_params,
|
887
|
+
body=_body_params,
|
888
|
+
post_params=_form_params,
|
889
|
+
files=_files,
|
890
|
+
auth_settings=_auth_settings,
|
891
|
+
collection_formats=_collection_formats,
|
892
|
+
_host=_host,
|
893
|
+
_request_auth=_request_auth
|
894
|
+
)
|
895
|
+
|
896
|
+
|
897
|
+
|
898
|
+
|
899
|
+
@validate_call
|
900
|
+
def get_data_retrieval_data(
|
901
|
+
self,
|
902
|
+
operation_id: Annotated[StrictStr, Field(description="Operation ID of the raw data operation.")],
|
903
|
+
dataset_id: StrictStr,
|
904
|
+
_request_timeout: Union[
|
905
|
+
None,
|
906
|
+
Annotated[StrictFloat, Field(gt=0)],
|
907
|
+
Tuple[
|
908
|
+
Annotated[StrictFloat, Field(gt=0)],
|
909
|
+
Annotated[StrictFloat, Field(gt=0)]
|
910
|
+
]
|
911
|
+
] = None,
|
912
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
913
|
+
_content_type: Optional[StrictStr] = None,
|
914
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
915
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
916
|
+
) -> DataRetrievalOperation:
|
917
|
+
"""Gets Raw Data Operation Data
|
918
|
+
|
919
|
+
Gets the data retrieved by raw data operation. Requires the dataset_get_data_retrieval permission.
|
920
|
+
|
921
|
+
:param operation_id: Operation ID of the raw data operation. (required)
|
922
|
+
:type operation_id: str
|
923
|
+
:param dataset_id: (required)
|
924
|
+
:type dataset_id: str
|
925
|
+
:param _request_timeout: timeout setting for this request. If one
|
926
|
+
number provided, it will be total request
|
927
|
+
timeout. It can also be a pair (tuple) of
|
928
|
+
(connection, read) timeouts.
|
929
|
+
:type _request_timeout: int, tuple(int, int), optional
|
930
|
+
:param _request_auth: set to override the auth_settings for an a single
|
931
|
+
request; this effectively ignores the
|
932
|
+
authentication in the spec for a single request.
|
933
|
+
:type _request_auth: dict, optional
|
934
|
+
:param _content_type: force content-type for the request.
|
935
|
+
:type _content_type: str, Optional
|
936
|
+
:param _headers: set to override the headers for a single
|
937
|
+
request; this effectively ignores the headers
|
938
|
+
in the spec for a single request.
|
939
|
+
:type _headers: dict, optional
|
940
|
+
:param _host_index: set to override the host_index for a single
|
941
|
+
request; this effectively ignores the host_index
|
942
|
+
in the spec for a single request.
|
943
|
+
:type _host_index: int, optional
|
944
|
+
:return: Returns the result object.
|
945
|
+
""" # noqa: E501
|
946
|
+
|
947
|
+
_param = self._get_data_retrieval_data_serialize(
|
948
|
+
operation_id=operation_id,
|
949
|
+
dataset_id=dataset_id,
|
950
|
+
_request_auth=_request_auth,
|
951
|
+
_content_type=_content_type,
|
952
|
+
_headers=_headers,
|
953
|
+
_host_index=_host_index
|
954
|
+
)
|
955
|
+
|
956
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
957
|
+
'200': "DataRetrievalOperation",
|
958
|
+
'500': "InternalServerError",
|
959
|
+
'404': "NotFoundError",
|
960
|
+
'422': "HTTPValidationError",
|
961
|
+
}
|
962
|
+
response_data = self.api_client.call_api(
|
963
|
+
*_param,
|
964
|
+
_request_timeout=_request_timeout
|
965
|
+
)
|
966
|
+
response_data.read()
|
967
|
+
return self.api_client.response_deserialize(
|
968
|
+
response_data=response_data,
|
969
|
+
response_types_map=_response_types_map,
|
970
|
+
).data
|
971
|
+
|
972
|
+
|
973
|
+
@validate_call
|
974
|
+
def get_data_retrieval_data_with_http_info(
|
975
|
+
self,
|
976
|
+
operation_id: Annotated[StrictStr, Field(description="Operation ID of the raw data operation.")],
|
977
|
+
dataset_id: StrictStr,
|
978
|
+
_request_timeout: Union[
|
979
|
+
None,
|
980
|
+
Annotated[StrictFloat, Field(gt=0)],
|
981
|
+
Tuple[
|
982
|
+
Annotated[StrictFloat, Field(gt=0)],
|
983
|
+
Annotated[StrictFloat, Field(gt=0)]
|
984
|
+
]
|
985
|
+
] = None,
|
986
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
987
|
+
_content_type: Optional[StrictStr] = None,
|
988
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
989
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
990
|
+
) -> ApiResponse[DataRetrievalOperation]:
|
991
|
+
"""Gets Raw Data Operation Data
|
992
|
+
|
993
|
+
Gets the data retrieved by raw data operation. Requires the dataset_get_data_retrieval permission.
|
994
|
+
|
995
|
+
:param operation_id: Operation ID of the raw data operation. (required)
|
996
|
+
:type operation_id: str
|
997
|
+
:param dataset_id: (required)
|
998
|
+
:type dataset_id: str
|
999
|
+
:param _request_timeout: timeout setting for this request. If one
|
1000
|
+
number provided, it will be total request
|
1001
|
+
timeout. It can also be a pair (tuple) of
|
1002
|
+
(connection, read) timeouts.
|
1003
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1004
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1005
|
+
request; this effectively ignores the
|
1006
|
+
authentication in the spec for a single request.
|
1007
|
+
:type _request_auth: dict, optional
|
1008
|
+
:param _content_type: force content-type for the request.
|
1009
|
+
:type _content_type: str, Optional
|
1010
|
+
:param _headers: set to override the headers for a single
|
1011
|
+
request; this effectively ignores the headers
|
1012
|
+
in the spec for a single request.
|
1013
|
+
:type _headers: dict, optional
|
1014
|
+
:param _host_index: set to override the host_index for a single
|
1015
|
+
request; this effectively ignores the host_index
|
1016
|
+
in the spec for a single request.
|
1017
|
+
:type _host_index: int, optional
|
1018
|
+
:return: Returns the result object.
|
1019
|
+
""" # noqa: E501
|
1020
|
+
|
1021
|
+
_param = self._get_data_retrieval_data_serialize(
|
1022
|
+
operation_id=operation_id,
|
1023
|
+
dataset_id=dataset_id,
|
1024
|
+
_request_auth=_request_auth,
|
1025
|
+
_content_type=_content_type,
|
1026
|
+
_headers=_headers,
|
1027
|
+
_host_index=_host_index
|
1028
|
+
)
|
1029
|
+
|
1030
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1031
|
+
'200': "DataRetrievalOperation",
|
1032
|
+
'500': "InternalServerError",
|
1033
|
+
'404': "NotFoundError",
|
1034
|
+
'422': "HTTPValidationError",
|
1035
|
+
}
|
1036
|
+
response_data = self.api_client.call_api(
|
1037
|
+
*_param,
|
1038
|
+
_request_timeout=_request_timeout
|
1039
|
+
)
|
1040
|
+
response_data.read()
|
1041
|
+
return self.api_client.response_deserialize(
|
1042
|
+
response_data=response_data,
|
1043
|
+
response_types_map=_response_types_map,
|
1044
|
+
)
|
1045
|
+
|
1046
|
+
|
1047
|
+
@validate_call
|
1048
|
+
def get_data_retrieval_data_without_preload_content(
|
1049
|
+
self,
|
1050
|
+
operation_id: Annotated[StrictStr, Field(description="Operation ID of the raw data operation.")],
|
1051
|
+
dataset_id: StrictStr,
|
1052
|
+
_request_timeout: Union[
|
1053
|
+
None,
|
1054
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1055
|
+
Tuple[
|
1056
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1057
|
+
Annotated[StrictFloat, Field(gt=0)]
|
1058
|
+
]
|
1059
|
+
] = None,
|
1060
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1061
|
+
_content_type: Optional[StrictStr] = None,
|
1062
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1063
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1064
|
+
) -> RESTResponseType:
|
1065
|
+
"""Gets Raw Data Operation Data
|
1066
|
+
|
1067
|
+
Gets the data retrieved by raw data operation. Requires the dataset_get_data_retrieval permission.
|
1068
|
+
|
1069
|
+
:param operation_id: Operation ID of the raw data operation. (required)
|
1070
|
+
:type operation_id: str
|
1071
|
+
:param dataset_id: (required)
|
1072
|
+
:type dataset_id: str
|
1073
|
+
:param _request_timeout: timeout setting for this request. If one
|
1074
|
+
number provided, it will be total request
|
1075
|
+
timeout. It can also be a pair (tuple) of
|
1076
|
+
(connection, read) timeouts.
|
1077
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1078
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1079
|
+
request; this effectively ignores the
|
1080
|
+
authentication in the spec for a single request.
|
1081
|
+
:type _request_auth: dict, optional
|
1082
|
+
:param _content_type: force content-type for the request.
|
1083
|
+
:type _content_type: str, Optional
|
1084
|
+
:param _headers: set to override the headers for a single
|
1085
|
+
request; this effectively ignores the headers
|
1086
|
+
in the spec for a single request.
|
1087
|
+
:type _headers: dict, optional
|
1088
|
+
:param _host_index: set to override the host_index for a single
|
1089
|
+
request; this effectively ignores the host_index
|
1090
|
+
in the spec for a single request.
|
1091
|
+
:type _host_index: int, optional
|
1092
|
+
:return: Returns the result object.
|
1093
|
+
""" # noqa: E501
|
1094
|
+
|
1095
|
+
_param = self._get_data_retrieval_data_serialize(
|
1096
|
+
operation_id=operation_id,
|
1097
|
+
dataset_id=dataset_id,
|
1098
|
+
_request_auth=_request_auth,
|
1099
|
+
_content_type=_content_type,
|
1100
|
+
_headers=_headers,
|
1101
|
+
_host_index=_host_index
|
1102
|
+
)
|
1103
|
+
|
1104
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1105
|
+
'200': "DataRetrievalOperation",
|
1106
|
+
'500': "InternalServerError",
|
1107
|
+
'404': "NotFoundError",
|
1108
|
+
'422': "HTTPValidationError",
|
1109
|
+
}
|
1110
|
+
response_data = self.api_client.call_api(
|
1111
|
+
*_param,
|
1112
|
+
_request_timeout=_request_timeout
|
1113
|
+
)
|
1114
|
+
return response_data.response
|
1115
|
+
|
1116
|
+
|
1117
|
+
def _get_data_retrieval_data_serialize(
|
1118
|
+
self,
|
1119
|
+
operation_id,
|
1120
|
+
dataset_id,
|
1121
|
+
_request_auth,
|
1122
|
+
_content_type,
|
1123
|
+
_headers,
|
1124
|
+
_host_index,
|
1125
|
+
) -> RequestSerialized:
|
1126
|
+
|
1127
|
+
_host = None
|
1128
|
+
|
1129
|
+
_collection_formats: Dict[str, str] = {
|
1130
|
+
}
|
1131
|
+
|
1132
|
+
_path_params: Dict[str, str] = {}
|
1133
|
+
_query_params: List[Tuple[str, str]] = []
|
1134
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
1135
|
+
_form_params: List[Tuple[str, str]] = []
|
1136
|
+
_files: Dict[
|
1137
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
1138
|
+
] = {}
|
1139
|
+
_body_params: Optional[bytes] = None
|
1140
|
+
|
1141
|
+
# process the path parameters
|
1142
|
+
if operation_id is not None:
|
1143
|
+
_path_params['operation_id'] = operation_id
|
1144
|
+
if dataset_id is not None:
|
1145
|
+
_path_params['dataset_id'] = dataset_id
|
1146
|
+
# process the query parameters
|
1147
|
+
# process the header parameters
|
1148
|
+
# process the form parameters
|
1149
|
+
# process the body parameter
|
1150
|
+
|
1151
|
+
|
1152
|
+
# set the HTTP header `Accept`
|
1153
|
+
if 'Accept' not in _header_params:
|
1154
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
1155
|
+
[
|
1156
|
+
'application/json'
|
1157
|
+
]
|
1158
|
+
)
|
1159
|
+
|
1160
|
+
|
1161
|
+
# authentication setting
|
1162
|
+
_auth_settings: List[str] = [
|
1163
|
+
'OAuth2AuthorizationCode'
|
1164
|
+
]
|
1165
|
+
|
1166
|
+
return self.api_client.param_serialize(
|
1167
|
+
method='GET',
|
1168
|
+
resource_path='/api/v1/datasets/{dataset_id}/data_retrieval/{operation_id}',
|
1169
|
+
path_params=_path_params,
|
1170
|
+
query_params=_query_params,
|
1171
|
+
header_params=_header_params,
|
1172
|
+
body=_body_params,
|
1173
|
+
post_params=_form_params,
|
1174
|
+
files=_files,
|
1175
|
+
auth_settings=_auth_settings,
|
1176
|
+
collection_formats=_collection_formats,
|
1177
|
+
_host=_host,
|
1178
|
+
_request_auth=_request_auth
|
1179
|
+
)
|
1180
|
+
|
1181
|
+
|
1182
|
+
|
1183
|
+
|
1184
|
+
@validate_call
|
1185
|
+
def post_available_data_retrieval_operation(
|
1186
|
+
self,
|
1187
|
+
available_dataset_id: StrictStr,
|
1188
|
+
post_data_retrieval_operation: PostDataRetrievalOperation,
|
1189
|
+
_request_timeout: Union[
|
1190
|
+
None,
|
1191
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1192
|
+
Tuple[
|
1193
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1194
|
+
Annotated[StrictFloat, Field(gt=0)]
|
1195
|
+
]
|
1196
|
+
] = None,
|
1197
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1198
|
+
_content_type: Optional[StrictStr] = None,
|
1199
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1200
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1201
|
+
) -> DataRetrievalOperation:
|
1202
|
+
"""Create Raw Data Operation
|
1203
|
+
|
1204
|
+
Creates a new raw data operation. Requires the available_dataset_create_data_retrieval permission.
|
1205
|
+
|
1206
|
+
:param available_dataset_id: (required)
|
1207
|
+
:type available_dataset_id: str
|
1208
|
+
:param post_data_retrieval_operation: (required)
|
1209
|
+
:type post_data_retrieval_operation: PostDataRetrievalOperation
|
1210
|
+
:param _request_timeout: timeout setting for this request. If one
|
1211
|
+
number provided, it will be total request
|
1212
|
+
timeout. It can also be a pair (tuple) of
|
1213
|
+
(connection, read) timeouts.
|
1214
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1215
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1216
|
+
request; this effectively ignores the
|
1217
|
+
authentication in the spec for a single request.
|
1218
|
+
:type _request_auth: dict, optional
|
1219
|
+
:param _content_type: force content-type for the request.
|
1220
|
+
:type _content_type: str, Optional
|
1221
|
+
:param _headers: set to override the headers for a single
|
1222
|
+
request; this effectively ignores the headers
|
1223
|
+
in the spec for a single request.
|
1224
|
+
:type _headers: dict, optional
|
1225
|
+
:param _host_index: set to override the host_index for a single
|
1226
|
+
request; this effectively ignores the host_index
|
1227
|
+
in the spec for a single request.
|
1228
|
+
:type _host_index: int, optional
|
1229
|
+
:return: Returns the result object.
|
1230
|
+
""" # noqa: E501
|
1231
|
+
|
1232
|
+
_param = self._post_available_data_retrieval_operation_serialize(
|
1233
|
+
available_dataset_id=available_dataset_id,
|
1234
|
+
post_data_retrieval_operation=post_data_retrieval_operation,
|
1235
|
+
_request_auth=_request_auth,
|
1236
|
+
_content_type=_content_type,
|
1237
|
+
_headers=_headers,
|
1238
|
+
_host_index=_host_index
|
1239
|
+
)
|
1240
|
+
|
1241
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1242
|
+
'200': "DataRetrievalOperation",
|
1243
|
+
'500': "InternalServerError",
|
1244
|
+
'404': "NotFoundError",
|
1245
|
+
'422': "HTTPValidationError",
|
1246
|
+
}
|
1247
|
+
response_data = self.api_client.call_api(
|
1248
|
+
*_param,
|
1249
|
+
_request_timeout=_request_timeout
|
1250
|
+
)
|
1251
|
+
response_data.read()
|
1252
|
+
return self.api_client.response_deserialize(
|
1253
|
+
response_data=response_data,
|
1254
|
+
response_types_map=_response_types_map,
|
1255
|
+
).data
|
1256
|
+
|
1257
|
+
|
1258
|
+
@validate_call
|
1259
|
+
def post_available_data_retrieval_operation_with_http_info(
|
1260
|
+
self,
|
1261
|
+
available_dataset_id: StrictStr,
|
1262
|
+
post_data_retrieval_operation: PostDataRetrievalOperation,
|
1263
|
+
_request_timeout: Union[
|
1264
|
+
None,
|
1265
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1266
|
+
Tuple[
|
1267
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1268
|
+
Annotated[StrictFloat, Field(gt=0)]
|
1269
|
+
]
|
1270
|
+
] = None,
|
1271
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1272
|
+
_content_type: Optional[StrictStr] = None,
|
1273
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1274
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1275
|
+
) -> ApiResponse[DataRetrievalOperation]:
|
1276
|
+
"""Create Raw Data Operation
|
1277
|
+
|
1278
|
+
Creates a new raw data operation. Requires the available_dataset_create_data_retrieval permission.
|
1279
|
+
|
1280
|
+
:param available_dataset_id: (required)
|
1281
|
+
:type available_dataset_id: str
|
1282
|
+
:param post_data_retrieval_operation: (required)
|
1283
|
+
:type post_data_retrieval_operation: PostDataRetrievalOperation
|
1284
|
+
:param _request_timeout: timeout setting for this request. If one
|
1285
|
+
number provided, it will be total request
|
1286
|
+
timeout. It can also be a pair (tuple) of
|
1287
|
+
(connection, read) timeouts.
|
1288
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1289
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1290
|
+
request; this effectively ignores the
|
1291
|
+
authentication in the spec for a single request.
|
1292
|
+
:type _request_auth: dict, optional
|
1293
|
+
:param _content_type: force content-type for the request.
|
1294
|
+
:type _content_type: str, Optional
|
1295
|
+
:param _headers: set to override the headers for a single
|
1296
|
+
request; this effectively ignores the headers
|
1297
|
+
in the spec for a single request.
|
1298
|
+
:type _headers: dict, optional
|
1299
|
+
:param _host_index: set to override the host_index for a single
|
1300
|
+
request; this effectively ignores the host_index
|
1301
|
+
in the spec for a single request.
|
1302
|
+
:type _host_index: int, optional
|
1303
|
+
:return: Returns the result object.
|
1304
|
+
""" # noqa: E501
|
1305
|
+
|
1306
|
+
_param = self._post_available_data_retrieval_operation_serialize(
|
1307
|
+
available_dataset_id=available_dataset_id,
|
1308
|
+
post_data_retrieval_operation=post_data_retrieval_operation,
|
1309
|
+
_request_auth=_request_auth,
|
1310
|
+
_content_type=_content_type,
|
1311
|
+
_headers=_headers,
|
1312
|
+
_host_index=_host_index
|
1313
|
+
)
|
1314
|
+
|
1315
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1316
|
+
'200': "DataRetrievalOperation",
|
1317
|
+
'500': "InternalServerError",
|
1318
|
+
'404': "NotFoundError",
|
1319
|
+
'422': "HTTPValidationError",
|
1320
|
+
}
|
1321
|
+
response_data = self.api_client.call_api(
|
1322
|
+
*_param,
|
1323
|
+
_request_timeout=_request_timeout
|
1324
|
+
)
|
1325
|
+
response_data.read()
|
1326
|
+
return self.api_client.response_deserialize(
|
1327
|
+
response_data=response_data,
|
1328
|
+
response_types_map=_response_types_map,
|
1329
|
+
)
|
1330
|
+
|
1331
|
+
|
1332
|
+
@validate_call
|
1333
|
+
def post_available_data_retrieval_operation_without_preload_content(
|
1334
|
+
self,
|
1335
|
+
available_dataset_id: StrictStr,
|
1336
|
+
post_data_retrieval_operation: PostDataRetrievalOperation,
|
1337
|
+
_request_timeout: Union[
|
1338
|
+
None,
|
1339
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1340
|
+
Tuple[
|
1341
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1342
|
+
Annotated[StrictFloat, Field(gt=0)]
|
1343
|
+
]
|
1344
|
+
] = None,
|
1345
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1346
|
+
_content_type: Optional[StrictStr] = None,
|
1347
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1348
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1349
|
+
) -> RESTResponseType:
|
1350
|
+
"""Create Raw Data Operation
|
1351
|
+
|
1352
|
+
Creates a new raw data operation. Requires the available_dataset_create_data_retrieval permission.
|
1353
|
+
|
1354
|
+
:param available_dataset_id: (required)
|
1355
|
+
:type available_dataset_id: str
|
1356
|
+
:param post_data_retrieval_operation: (required)
|
1357
|
+
:type post_data_retrieval_operation: PostDataRetrievalOperation
|
1358
|
+
:param _request_timeout: timeout setting for this request. If one
|
1359
|
+
number provided, it will be total request
|
1360
|
+
timeout. It can also be a pair (tuple) of
|
1361
|
+
(connection, read) timeouts.
|
1362
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1363
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1364
|
+
request; this effectively ignores the
|
1365
|
+
authentication in the spec for a single request.
|
1366
|
+
:type _request_auth: dict, optional
|
1367
|
+
:param _content_type: force content-type for the request.
|
1368
|
+
:type _content_type: str, Optional
|
1369
|
+
:param _headers: set to override the headers for a single
|
1370
|
+
request; this effectively ignores the headers
|
1371
|
+
in the spec for a single request.
|
1372
|
+
:type _headers: dict, optional
|
1373
|
+
:param _host_index: set to override the host_index for a single
|
1374
|
+
request; this effectively ignores the host_index
|
1375
|
+
in the spec for a single request.
|
1376
|
+
:type _host_index: int, optional
|
1377
|
+
:return: Returns the result object.
|
1378
|
+
""" # noqa: E501
|
1379
|
+
|
1380
|
+
_param = self._post_available_data_retrieval_operation_serialize(
|
1381
|
+
available_dataset_id=available_dataset_id,
|
1382
|
+
post_data_retrieval_operation=post_data_retrieval_operation,
|
1383
|
+
_request_auth=_request_auth,
|
1384
|
+
_content_type=_content_type,
|
1385
|
+
_headers=_headers,
|
1386
|
+
_host_index=_host_index
|
1387
|
+
)
|
1388
|
+
|
1389
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1390
|
+
'200': "DataRetrievalOperation",
|
1391
|
+
'500': "InternalServerError",
|
1392
|
+
'404': "NotFoundError",
|
1393
|
+
'422': "HTTPValidationError",
|
1394
|
+
}
|
1395
|
+
response_data = self.api_client.call_api(
|
1396
|
+
*_param,
|
1397
|
+
_request_timeout=_request_timeout
|
1398
|
+
)
|
1399
|
+
return response_data.response
|
1400
|
+
|
1401
|
+
|
1402
|
+
def _post_available_data_retrieval_operation_serialize(
|
1403
|
+
self,
|
1404
|
+
available_dataset_id,
|
1405
|
+
post_data_retrieval_operation,
|
1406
|
+
_request_auth,
|
1407
|
+
_content_type,
|
1408
|
+
_headers,
|
1409
|
+
_host_index,
|
1410
|
+
) -> RequestSerialized:
|
1411
|
+
|
1412
|
+
_host = None
|
1413
|
+
|
1414
|
+
_collection_formats: Dict[str, str] = {
|
1415
|
+
}
|
1416
|
+
|
1417
|
+
_path_params: Dict[str, str] = {}
|
1418
|
+
_query_params: List[Tuple[str, str]] = []
|
1419
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
1420
|
+
_form_params: List[Tuple[str, str]] = []
|
1421
|
+
_files: Dict[
|
1422
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
1423
|
+
] = {}
|
1424
|
+
_body_params: Optional[bytes] = None
|
1425
|
+
|
1426
|
+
# process the path parameters
|
1427
|
+
if available_dataset_id is not None:
|
1428
|
+
_path_params['available_dataset_id'] = available_dataset_id
|
1429
|
+
# process the query parameters
|
1430
|
+
# process the header parameters
|
1431
|
+
# process the form parameters
|
1432
|
+
# process the body parameter
|
1433
|
+
if post_data_retrieval_operation is not None:
|
1434
|
+
_body_params = post_data_retrieval_operation
|
1435
|
+
|
1436
|
+
|
1437
|
+
# set the HTTP header `Accept`
|
1438
|
+
if 'Accept' not in _header_params:
|
1439
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
1440
|
+
[
|
1441
|
+
'application/json'
|
1442
|
+
]
|
1443
|
+
)
|
1444
|
+
|
1445
|
+
# set the HTTP header `Content-Type`
|
1446
|
+
if _content_type:
|
1447
|
+
_header_params['Content-Type'] = _content_type
|
1448
|
+
else:
|
1449
|
+
_default_content_type = (
|
1450
|
+
self.api_client.select_header_content_type(
|
1451
|
+
[
|
1452
|
+
'application/json'
|
1453
|
+
]
|
1454
|
+
)
|
1455
|
+
)
|
1456
|
+
if _default_content_type is not None:
|
1457
|
+
_header_params['Content-Type'] = _default_content_type
|
1458
|
+
|
1459
|
+
# authentication setting
|
1460
|
+
_auth_settings: List[str] = [
|
1461
|
+
'OAuth2AuthorizationCode'
|
1462
|
+
]
|
1463
|
+
|
1464
|
+
return self.api_client.param_serialize(
|
1465
|
+
method='POST',
|
1466
|
+
resource_path='/api/v1/available_dataset/{available_dataset_id}/data_retrieval',
|
1467
|
+
path_params=_path_params,
|
1468
|
+
query_params=_query_params,
|
1469
|
+
header_params=_header_params,
|
1470
|
+
body=_body_params,
|
1471
|
+
post_params=_form_params,
|
1472
|
+
files=_files,
|
1473
|
+
auth_settings=_auth_settings,
|
1474
|
+
collection_formats=_collection_formats,
|
1475
|
+
_host=_host,
|
1476
|
+
_request_auth=_request_auth
|
1477
|
+
)
|
1478
|
+
|
1479
|
+
|
1480
|
+
|
1481
|
+
|
1482
|
+
@validate_call
|
1483
|
+
def post_data_retrieval_operation(
|
1484
|
+
self,
|
1485
|
+
dataset_id: StrictStr,
|
1486
|
+
post_data_retrieval_operation: PostDataRetrievalOperation,
|
1487
|
+
_request_timeout: Union[
|
1488
|
+
None,
|
1489
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1490
|
+
Tuple[
|
1491
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1492
|
+
Annotated[StrictFloat, Field(gt=0)]
|
1493
|
+
]
|
1494
|
+
] = None,
|
1495
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1496
|
+
_content_type: Optional[StrictStr] = None,
|
1497
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1498
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1499
|
+
) -> DataRetrievalOperation:
|
1500
|
+
"""Create Raw Data Operation
|
1501
|
+
|
1502
|
+
Creates a new raw data operation. Requires the dataset_create_data_retrieval permission.
|
1503
|
+
|
1504
|
+
:param dataset_id: (required)
|
1505
|
+
:type dataset_id: str
|
1506
|
+
:param post_data_retrieval_operation: (required)
|
1507
|
+
:type post_data_retrieval_operation: PostDataRetrievalOperation
|
1508
|
+
:param _request_timeout: timeout setting for this request. If one
|
1509
|
+
number provided, it will be total request
|
1510
|
+
timeout. It can also be a pair (tuple) of
|
1511
|
+
(connection, read) timeouts.
|
1512
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1513
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1514
|
+
request; this effectively ignores the
|
1515
|
+
authentication in the spec for a single request.
|
1516
|
+
:type _request_auth: dict, optional
|
1517
|
+
:param _content_type: force content-type for the request.
|
1518
|
+
:type _content_type: str, Optional
|
1519
|
+
:param _headers: set to override the headers for a single
|
1520
|
+
request; this effectively ignores the headers
|
1521
|
+
in the spec for a single request.
|
1522
|
+
:type _headers: dict, optional
|
1523
|
+
:param _host_index: set to override the host_index for a single
|
1524
|
+
request; this effectively ignores the host_index
|
1525
|
+
in the spec for a single request.
|
1526
|
+
:type _host_index: int, optional
|
1527
|
+
:return: Returns the result object.
|
1528
|
+
""" # noqa: E501
|
1529
|
+
|
1530
|
+
_param = self._post_data_retrieval_operation_serialize(
|
1531
|
+
dataset_id=dataset_id,
|
1532
|
+
post_data_retrieval_operation=post_data_retrieval_operation,
|
1533
|
+
_request_auth=_request_auth,
|
1534
|
+
_content_type=_content_type,
|
1535
|
+
_headers=_headers,
|
1536
|
+
_host_index=_host_index
|
1537
|
+
)
|
1538
|
+
|
1539
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1540
|
+
'200': "DataRetrievalOperation",
|
1541
|
+
'500': "InternalServerError",
|
1542
|
+
'404': "NotFoundError",
|
1543
|
+
'422': "HTTPValidationError",
|
1544
|
+
}
|
1545
|
+
response_data = self.api_client.call_api(
|
1546
|
+
*_param,
|
1547
|
+
_request_timeout=_request_timeout
|
1548
|
+
)
|
1549
|
+
response_data.read()
|
1550
|
+
return self.api_client.response_deserialize(
|
1551
|
+
response_data=response_data,
|
1552
|
+
response_types_map=_response_types_map,
|
1553
|
+
).data
|
1554
|
+
|
1555
|
+
|
1556
|
+
@validate_call
|
1557
|
+
def post_data_retrieval_operation_with_http_info(
|
1558
|
+
self,
|
1559
|
+
dataset_id: StrictStr,
|
1560
|
+
post_data_retrieval_operation: PostDataRetrievalOperation,
|
1561
|
+
_request_timeout: Union[
|
1562
|
+
None,
|
1563
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1564
|
+
Tuple[
|
1565
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1566
|
+
Annotated[StrictFloat, Field(gt=0)]
|
1567
|
+
]
|
1568
|
+
] = None,
|
1569
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1570
|
+
_content_type: Optional[StrictStr] = None,
|
1571
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1572
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1573
|
+
) -> ApiResponse[DataRetrievalOperation]:
|
1574
|
+
"""Create Raw Data Operation
|
1575
|
+
|
1576
|
+
Creates a new raw data operation. Requires the dataset_create_data_retrieval permission.
|
1577
|
+
|
1578
|
+
:param dataset_id: (required)
|
1579
|
+
:type dataset_id: str
|
1580
|
+
:param post_data_retrieval_operation: (required)
|
1581
|
+
:type post_data_retrieval_operation: PostDataRetrievalOperation
|
1582
|
+
:param _request_timeout: timeout setting for this request. If one
|
1583
|
+
number provided, it will be total request
|
1584
|
+
timeout. It can also be a pair (tuple) of
|
1585
|
+
(connection, read) timeouts.
|
1586
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1587
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1588
|
+
request; this effectively ignores the
|
1589
|
+
authentication in the spec for a single request.
|
1590
|
+
:type _request_auth: dict, optional
|
1591
|
+
:param _content_type: force content-type for the request.
|
1592
|
+
:type _content_type: str, Optional
|
1593
|
+
:param _headers: set to override the headers for a single
|
1594
|
+
request; this effectively ignores the headers
|
1595
|
+
in the spec for a single request.
|
1596
|
+
:type _headers: dict, optional
|
1597
|
+
:param _host_index: set to override the host_index for a single
|
1598
|
+
request; this effectively ignores the host_index
|
1599
|
+
in the spec for a single request.
|
1600
|
+
:type _host_index: int, optional
|
1601
|
+
:return: Returns the result object.
|
1602
|
+
""" # noqa: E501
|
1603
|
+
|
1604
|
+
_param = self._post_data_retrieval_operation_serialize(
|
1605
|
+
dataset_id=dataset_id,
|
1606
|
+
post_data_retrieval_operation=post_data_retrieval_operation,
|
1607
|
+
_request_auth=_request_auth,
|
1608
|
+
_content_type=_content_type,
|
1609
|
+
_headers=_headers,
|
1610
|
+
_host_index=_host_index
|
1611
|
+
)
|
1612
|
+
|
1613
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1614
|
+
'200': "DataRetrievalOperation",
|
1615
|
+
'500': "InternalServerError",
|
1616
|
+
'404': "NotFoundError",
|
1617
|
+
'422': "HTTPValidationError",
|
1618
|
+
}
|
1619
|
+
response_data = self.api_client.call_api(
|
1620
|
+
*_param,
|
1621
|
+
_request_timeout=_request_timeout
|
1622
|
+
)
|
1623
|
+
response_data.read()
|
1624
|
+
return self.api_client.response_deserialize(
|
1625
|
+
response_data=response_data,
|
1626
|
+
response_types_map=_response_types_map,
|
1627
|
+
)
|
1628
|
+
|
1629
|
+
|
1630
|
+
@validate_call
|
1631
|
+
def post_data_retrieval_operation_without_preload_content(
|
1632
|
+
self,
|
1633
|
+
dataset_id: StrictStr,
|
1634
|
+
post_data_retrieval_operation: PostDataRetrievalOperation,
|
1635
|
+
_request_timeout: Union[
|
1636
|
+
None,
|
1637
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1638
|
+
Tuple[
|
1639
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1640
|
+
Annotated[StrictFloat, Field(gt=0)]
|
1641
|
+
]
|
1642
|
+
] = None,
|
1643
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1644
|
+
_content_type: Optional[StrictStr] = None,
|
1645
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1646
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1647
|
+
) -> RESTResponseType:
|
1648
|
+
"""Create Raw Data Operation
|
1649
|
+
|
1650
|
+
Creates a new raw data operation. Requires the dataset_create_data_retrieval permission.
|
1651
|
+
|
1652
|
+
:param dataset_id: (required)
|
1653
|
+
:type dataset_id: str
|
1654
|
+
:param post_data_retrieval_operation: (required)
|
1655
|
+
:type post_data_retrieval_operation: PostDataRetrievalOperation
|
1656
|
+
:param _request_timeout: timeout setting for this request. If one
|
1657
|
+
number provided, it will be total request
|
1658
|
+
timeout. It can also be a pair (tuple) of
|
1659
|
+
(connection, read) timeouts.
|
1660
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1661
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1662
|
+
request; this effectively ignores the
|
1663
|
+
authentication in the spec for a single request.
|
1664
|
+
:type _request_auth: dict, optional
|
1665
|
+
:param _content_type: force content-type for the request.
|
1666
|
+
:type _content_type: str, Optional
|
1667
|
+
:param _headers: set to override the headers for a single
|
1668
|
+
request; this effectively ignores the headers
|
1669
|
+
in the spec for a single request.
|
1670
|
+
:type _headers: dict, optional
|
1671
|
+
:param _host_index: set to override the host_index for a single
|
1672
|
+
request; this effectively ignores the host_index
|
1673
|
+
in the spec for a single request.
|
1674
|
+
:type _host_index: int, optional
|
1675
|
+
:return: Returns the result object.
|
1676
|
+
""" # noqa: E501
|
1677
|
+
|
1678
|
+
_param = self._post_data_retrieval_operation_serialize(
|
1679
|
+
dataset_id=dataset_id,
|
1680
|
+
post_data_retrieval_operation=post_data_retrieval_operation,
|
1681
|
+
_request_auth=_request_auth,
|
1682
|
+
_content_type=_content_type,
|
1683
|
+
_headers=_headers,
|
1684
|
+
_host_index=_host_index
|
1685
|
+
)
|
1686
|
+
|
1687
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1688
|
+
'200': "DataRetrievalOperation",
|
1689
|
+
'500': "InternalServerError",
|
1690
|
+
'404': "NotFoundError",
|
1691
|
+
'422': "HTTPValidationError",
|
1692
|
+
}
|
1693
|
+
response_data = self.api_client.call_api(
|
1694
|
+
*_param,
|
1695
|
+
_request_timeout=_request_timeout
|
1696
|
+
)
|
1697
|
+
return response_data.response
|
1698
|
+
|
1699
|
+
|
1700
|
+
def _post_data_retrieval_operation_serialize(
|
1701
|
+
self,
|
1702
|
+
dataset_id,
|
1703
|
+
post_data_retrieval_operation,
|
1704
|
+
_request_auth,
|
1705
|
+
_content_type,
|
1706
|
+
_headers,
|
1707
|
+
_host_index,
|
1708
|
+
) -> RequestSerialized:
|
1709
|
+
|
1710
|
+
_host = None
|
1711
|
+
|
1712
|
+
_collection_formats: Dict[str, str] = {
|
1713
|
+
}
|
1714
|
+
|
1715
|
+
_path_params: Dict[str, str] = {}
|
1716
|
+
_query_params: List[Tuple[str, str]] = []
|
1717
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
1718
|
+
_form_params: List[Tuple[str, str]] = []
|
1719
|
+
_files: Dict[
|
1720
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
1721
|
+
] = {}
|
1722
|
+
_body_params: Optional[bytes] = None
|
1723
|
+
|
1724
|
+
# process the path parameters
|
1725
|
+
if dataset_id is not None:
|
1726
|
+
_path_params['dataset_id'] = dataset_id
|
1727
|
+
# process the query parameters
|
1728
|
+
# process the header parameters
|
1729
|
+
# process the form parameters
|
1730
|
+
# process the body parameter
|
1731
|
+
if post_data_retrieval_operation is not None:
|
1732
|
+
_body_params = post_data_retrieval_operation
|
1733
|
+
|
1734
|
+
|
1735
|
+
# set the HTTP header `Accept`
|
1736
|
+
if 'Accept' not in _header_params:
|
1737
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
1738
|
+
[
|
1739
|
+
'application/json'
|
1740
|
+
]
|
1741
|
+
)
|
1742
|
+
|
1743
|
+
# set the HTTP header `Content-Type`
|
1744
|
+
if _content_type:
|
1745
|
+
_header_params['Content-Type'] = _content_type
|
1746
|
+
else:
|
1747
|
+
_default_content_type = (
|
1748
|
+
self.api_client.select_header_content_type(
|
1749
|
+
[
|
1750
|
+
'application/json'
|
1751
|
+
]
|
1752
|
+
)
|
1753
|
+
)
|
1754
|
+
if _default_content_type is not None:
|
1755
|
+
_header_params['Content-Type'] = _default_content_type
|
1756
|
+
|
1757
|
+
# authentication setting
|
1758
|
+
_auth_settings: List[str] = [
|
1759
|
+
'OAuth2AuthorizationCode'
|
1760
|
+
]
|
1761
|
+
|
1762
|
+
return self.api_client.param_serialize(
|
1763
|
+
method='POST',
|
1764
|
+
resource_path='/api/v1/datasets/{dataset_id}/data_retrieval',
|
1765
|
+
path_params=_path_params,
|
1766
|
+
query_params=_query_params,
|
1767
|
+
header_params=_header_params,
|
1768
|
+
body=_body_params,
|
1769
|
+
post_params=_form_params,
|
1770
|
+
files=_files,
|
1771
|
+
auth_settings=_auth_settings,
|
1772
|
+
collection_formats=_collection_formats,
|
1773
|
+
_host=_host,
|
1774
|
+
_request_auth=_request_auth
|
1775
|
+
)
|
1776
|
+
|
1777
|
+
|
1778
|
+
|
1779
|
+
|
1780
|
+
@validate_call
|
1781
|
+
def put_available_data_retrieval_data(
|
1782
|
+
self,
|
1783
|
+
available_dataset_id: StrictStr,
|
1784
|
+
operation_id: Annotated[StrictStr, Field(description="Operation ID of the raw data operation.")],
|
1785
|
+
put_retrieved_data: PutRetrievedData,
|
1786
|
+
_request_timeout: Union[
|
1787
|
+
None,
|
1788
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1789
|
+
Tuple[
|
1790
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1791
|
+
Annotated[StrictFloat, Field(gt=0)]
|
1792
|
+
]
|
1793
|
+
] = None,
|
1794
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1795
|
+
_content_type: Optional[StrictStr] = None,
|
1796
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1797
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1798
|
+
) -> object:
|
1799
|
+
"""Put Retrieved Data
|
1800
|
+
|
1801
|
+
Place raw data for returning. Requires the available_dataset_put_data_retrieval permission.
|
1802
|
+
|
1803
|
+
:param available_dataset_id: (required)
|
1804
|
+
:type available_dataset_id: str
|
1805
|
+
:param operation_id: Operation ID of the raw data operation. (required)
|
1806
|
+
:type operation_id: str
|
1807
|
+
:param put_retrieved_data: (required)
|
1808
|
+
:type put_retrieved_data: PutRetrievedData
|
1809
|
+
:param _request_timeout: timeout setting for this request. If one
|
1810
|
+
number provided, it will be total request
|
1811
|
+
timeout. It can also be a pair (tuple) of
|
1812
|
+
(connection, read) timeouts.
|
1813
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1814
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1815
|
+
request; this effectively ignores the
|
1816
|
+
authentication in the spec for a single request.
|
1817
|
+
:type _request_auth: dict, optional
|
1818
|
+
:param _content_type: force content-type for the request.
|
1819
|
+
:type _content_type: str, Optional
|
1820
|
+
:param _headers: set to override the headers for a single
|
1821
|
+
request; this effectively ignores the headers
|
1822
|
+
in the spec for a single request.
|
1823
|
+
:type _headers: dict, optional
|
1824
|
+
:param _host_index: set to override the host_index for a single
|
1825
|
+
request; this effectively ignores the host_index
|
1826
|
+
in the spec for a single request.
|
1827
|
+
:type _host_index: int, optional
|
1828
|
+
:return: Returns the result object.
|
1829
|
+
""" # noqa: E501
|
1830
|
+
|
1831
|
+
_param = self._put_available_data_retrieval_data_serialize(
|
1832
|
+
available_dataset_id=available_dataset_id,
|
1833
|
+
operation_id=operation_id,
|
1834
|
+
put_retrieved_data=put_retrieved_data,
|
1835
|
+
_request_auth=_request_auth,
|
1836
|
+
_content_type=_content_type,
|
1837
|
+
_headers=_headers,
|
1838
|
+
_host_index=_host_index
|
1839
|
+
)
|
1840
|
+
|
1841
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1842
|
+
'202': "object",
|
1843
|
+
'500': "InternalServerError",
|
1844
|
+
'404': "NotFoundError",
|
1845
|
+
'422': "HTTPValidationError",
|
1846
|
+
}
|
1847
|
+
response_data = self.api_client.call_api(
|
1848
|
+
*_param,
|
1849
|
+
_request_timeout=_request_timeout
|
1850
|
+
)
|
1851
|
+
response_data.read()
|
1852
|
+
return self.api_client.response_deserialize(
|
1853
|
+
response_data=response_data,
|
1854
|
+
response_types_map=_response_types_map,
|
1855
|
+
).data
|
1856
|
+
|
1857
|
+
|
1858
|
+
@validate_call
|
1859
|
+
def put_available_data_retrieval_data_with_http_info(
|
1860
|
+
self,
|
1861
|
+
available_dataset_id: StrictStr,
|
1862
|
+
operation_id: Annotated[StrictStr, Field(description="Operation ID of the raw data operation.")],
|
1863
|
+
put_retrieved_data: PutRetrievedData,
|
1864
|
+
_request_timeout: Union[
|
1865
|
+
None,
|
1866
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1867
|
+
Tuple[
|
1868
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1869
|
+
Annotated[StrictFloat, Field(gt=0)]
|
1870
|
+
]
|
1871
|
+
] = None,
|
1872
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1873
|
+
_content_type: Optional[StrictStr] = None,
|
1874
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1875
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1876
|
+
) -> ApiResponse[object]:
|
1877
|
+
"""Put Retrieved Data
|
1878
|
+
|
1879
|
+
Place raw data for returning. Requires the available_dataset_put_data_retrieval permission.
|
1880
|
+
|
1881
|
+
:param available_dataset_id: (required)
|
1882
|
+
:type available_dataset_id: str
|
1883
|
+
:param operation_id: Operation ID of the raw data operation. (required)
|
1884
|
+
:type operation_id: str
|
1885
|
+
:param put_retrieved_data: (required)
|
1886
|
+
:type put_retrieved_data: PutRetrievedData
|
1887
|
+
:param _request_timeout: timeout setting for this request. If one
|
1888
|
+
number provided, it will be total request
|
1889
|
+
timeout. It can also be a pair (tuple) of
|
1890
|
+
(connection, read) timeouts.
|
1891
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1892
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1893
|
+
request; this effectively ignores the
|
1894
|
+
authentication in the spec for a single request.
|
1895
|
+
:type _request_auth: dict, optional
|
1896
|
+
:param _content_type: force content-type for the request.
|
1897
|
+
:type _content_type: str, Optional
|
1898
|
+
:param _headers: set to override the headers for a single
|
1899
|
+
request; this effectively ignores the headers
|
1900
|
+
in the spec for a single request.
|
1901
|
+
:type _headers: dict, optional
|
1902
|
+
:param _host_index: set to override the host_index for a single
|
1903
|
+
request; this effectively ignores the host_index
|
1904
|
+
in the spec for a single request.
|
1905
|
+
:type _host_index: int, optional
|
1906
|
+
:return: Returns the result object.
|
1907
|
+
""" # noqa: E501
|
1908
|
+
|
1909
|
+
_param = self._put_available_data_retrieval_data_serialize(
|
1910
|
+
available_dataset_id=available_dataset_id,
|
1911
|
+
operation_id=operation_id,
|
1912
|
+
put_retrieved_data=put_retrieved_data,
|
1913
|
+
_request_auth=_request_auth,
|
1914
|
+
_content_type=_content_type,
|
1915
|
+
_headers=_headers,
|
1916
|
+
_host_index=_host_index
|
1917
|
+
)
|
1918
|
+
|
1919
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1920
|
+
'202': "object",
|
1921
|
+
'500': "InternalServerError",
|
1922
|
+
'404': "NotFoundError",
|
1923
|
+
'422': "HTTPValidationError",
|
1924
|
+
}
|
1925
|
+
response_data = self.api_client.call_api(
|
1926
|
+
*_param,
|
1927
|
+
_request_timeout=_request_timeout
|
1928
|
+
)
|
1929
|
+
response_data.read()
|
1930
|
+
return self.api_client.response_deserialize(
|
1931
|
+
response_data=response_data,
|
1932
|
+
response_types_map=_response_types_map,
|
1933
|
+
)
|
1934
|
+
|
1935
|
+
|
1936
|
+
@validate_call
|
1937
|
+
def put_available_data_retrieval_data_without_preload_content(
|
1938
|
+
self,
|
1939
|
+
available_dataset_id: StrictStr,
|
1940
|
+
operation_id: Annotated[StrictStr, Field(description="Operation ID of the raw data operation.")],
|
1941
|
+
put_retrieved_data: PutRetrievedData,
|
1942
|
+
_request_timeout: Union[
|
1943
|
+
None,
|
1944
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1945
|
+
Tuple[
|
1946
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1947
|
+
Annotated[StrictFloat, Field(gt=0)]
|
1948
|
+
]
|
1949
|
+
] = None,
|
1950
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1951
|
+
_content_type: Optional[StrictStr] = None,
|
1952
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1953
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1954
|
+
) -> RESTResponseType:
|
1955
|
+
"""Put Retrieved Data
|
1956
|
+
|
1957
|
+
Place raw data for returning. Requires the available_dataset_put_data_retrieval permission.
|
1958
|
+
|
1959
|
+
:param available_dataset_id: (required)
|
1960
|
+
:type available_dataset_id: str
|
1961
|
+
:param operation_id: Operation ID of the raw data operation. (required)
|
1962
|
+
:type operation_id: str
|
1963
|
+
:param put_retrieved_data: (required)
|
1964
|
+
:type put_retrieved_data: PutRetrievedData
|
1965
|
+
:param _request_timeout: timeout setting for this request. If one
|
1966
|
+
number provided, it will be total request
|
1967
|
+
timeout. It can also be a pair (tuple) of
|
1968
|
+
(connection, read) timeouts.
|
1969
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1970
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1971
|
+
request; this effectively ignores the
|
1972
|
+
authentication in the spec for a single request.
|
1973
|
+
:type _request_auth: dict, optional
|
1974
|
+
:param _content_type: force content-type for the request.
|
1975
|
+
:type _content_type: str, Optional
|
1976
|
+
:param _headers: set to override the headers for a single
|
1977
|
+
request; this effectively ignores the headers
|
1978
|
+
in the spec for a single request.
|
1979
|
+
:type _headers: dict, optional
|
1980
|
+
:param _host_index: set to override the host_index for a single
|
1981
|
+
request; this effectively ignores the host_index
|
1982
|
+
in the spec for a single request.
|
1983
|
+
:type _host_index: int, optional
|
1984
|
+
:return: Returns the result object.
|
1985
|
+
""" # noqa: E501
|
1986
|
+
|
1987
|
+
_param = self._put_available_data_retrieval_data_serialize(
|
1988
|
+
available_dataset_id=available_dataset_id,
|
1989
|
+
operation_id=operation_id,
|
1990
|
+
put_retrieved_data=put_retrieved_data,
|
1991
|
+
_request_auth=_request_auth,
|
1992
|
+
_content_type=_content_type,
|
1993
|
+
_headers=_headers,
|
1994
|
+
_host_index=_host_index
|
1995
|
+
)
|
1996
|
+
|
1997
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1998
|
+
'202': "object",
|
1999
|
+
'500': "InternalServerError",
|
2000
|
+
'404': "NotFoundError",
|
2001
|
+
'422': "HTTPValidationError",
|
2002
|
+
}
|
2003
|
+
response_data = self.api_client.call_api(
|
2004
|
+
*_param,
|
2005
|
+
_request_timeout=_request_timeout
|
2006
|
+
)
|
2007
|
+
return response_data.response
|
2008
|
+
|
2009
|
+
|
2010
|
+
def _put_available_data_retrieval_data_serialize(
|
2011
|
+
self,
|
2012
|
+
available_dataset_id,
|
2013
|
+
operation_id,
|
2014
|
+
put_retrieved_data,
|
2015
|
+
_request_auth,
|
2016
|
+
_content_type,
|
2017
|
+
_headers,
|
2018
|
+
_host_index,
|
2019
|
+
) -> RequestSerialized:
|
2020
|
+
|
2021
|
+
_host = None
|
2022
|
+
|
2023
|
+
_collection_formats: Dict[str, str] = {
|
2024
|
+
}
|
2025
|
+
|
2026
|
+
_path_params: Dict[str, str] = {}
|
2027
|
+
_query_params: List[Tuple[str, str]] = []
|
2028
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
2029
|
+
_form_params: List[Tuple[str, str]] = []
|
2030
|
+
_files: Dict[
|
2031
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
2032
|
+
] = {}
|
2033
|
+
_body_params: Optional[bytes] = None
|
2034
|
+
|
2035
|
+
# process the path parameters
|
2036
|
+
if available_dataset_id is not None:
|
2037
|
+
_path_params['available_dataset_id'] = available_dataset_id
|
2038
|
+
if operation_id is not None:
|
2039
|
+
_path_params['operation_id'] = operation_id
|
2040
|
+
# process the query parameters
|
2041
|
+
# process the header parameters
|
2042
|
+
# process the form parameters
|
2043
|
+
# process the body parameter
|
2044
|
+
if put_retrieved_data is not None:
|
2045
|
+
_body_params = put_retrieved_data
|
2046
|
+
|
2047
|
+
|
2048
|
+
# set the HTTP header `Accept`
|
2049
|
+
if 'Accept' not in _header_params:
|
2050
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
2051
|
+
[
|
2052
|
+
'application/json'
|
2053
|
+
]
|
2054
|
+
)
|
2055
|
+
|
2056
|
+
# set the HTTP header `Content-Type`
|
2057
|
+
if _content_type:
|
2058
|
+
_header_params['Content-Type'] = _content_type
|
2059
|
+
else:
|
2060
|
+
_default_content_type = (
|
2061
|
+
self.api_client.select_header_content_type(
|
2062
|
+
[
|
2063
|
+
'application/json'
|
2064
|
+
]
|
2065
|
+
)
|
2066
|
+
)
|
2067
|
+
if _default_content_type is not None:
|
2068
|
+
_header_params['Content-Type'] = _default_content_type
|
2069
|
+
|
2070
|
+
# authentication setting
|
2071
|
+
_auth_settings: List[str] = [
|
2072
|
+
'OAuth2AuthorizationCode'
|
2073
|
+
]
|
2074
|
+
|
2075
|
+
return self.api_client.param_serialize(
|
2076
|
+
method='PUT',
|
2077
|
+
resource_path='/api/v1/available_dataset/{available_dataset_id}/data_retrieval/{operation_id}',
|
2078
|
+
path_params=_path_params,
|
2079
|
+
query_params=_query_params,
|
2080
|
+
header_params=_header_params,
|
2081
|
+
body=_body_params,
|
2082
|
+
post_params=_form_params,
|
2083
|
+
files=_files,
|
2084
|
+
auth_settings=_auth_settings,
|
2085
|
+
collection_formats=_collection_formats,
|
2086
|
+
_host=_host,
|
2087
|
+
_request_auth=_request_auth
|
2088
|
+
)
|
2089
|
+
|
2090
|
+
|
2091
|
+
|
2092
|
+
|
2093
|
+
@validate_call
|
2094
|
+
def put_data_retrieval_data(
|
2095
|
+
self,
|
2096
|
+
dataset_id: StrictStr,
|
2097
|
+
operation_id: Annotated[StrictStr, Field(description="Operation ID of the raw data operation.")],
|
2098
|
+
put_retrieved_data: PutRetrievedData,
|
2099
|
+
_request_timeout: Union[
|
2100
|
+
None,
|
2101
|
+
Annotated[StrictFloat, Field(gt=0)],
|
2102
|
+
Tuple[
|
2103
|
+
Annotated[StrictFloat, Field(gt=0)],
|
2104
|
+
Annotated[StrictFloat, Field(gt=0)]
|
2105
|
+
]
|
2106
|
+
] = None,
|
2107
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
2108
|
+
_content_type: Optional[StrictStr] = None,
|
2109
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2110
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2111
|
+
) -> object:
|
2112
|
+
"""Put Retrieved Data
|
2113
|
+
|
2114
|
+
Place raw data for returning. Requires the dataset_put_data_retrieval permission.
|
2115
|
+
|
2116
|
+
:param dataset_id: (required)
|
2117
|
+
:type dataset_id: str
|
2118
|
+
:param operation_id: Operation ID of the raw data operation. (required)
|
2119
|
+
:type operation_id: str
|
2120
|
+
:param put_retrieved_data: (required)
|
2121
|
+
:type put_retrieved_data: PutRetrievedData
|
2122
|
+
:param _request_timeout: timeout setting for this request. If one
|
2123
|
+
number provided, it will be total request
|
2124
|
+
timeout. It can also be a pair (tuple) of
|
2125
|
+
(connection, read) timeouts.
|
2126
|
+
:type _request_timeout: int, tuple(int, int), optional
|
2127
|
+
:param _request_auth: set to override the auth_settings for an a single
|
2128
|
+
request; this effectively ignores the
|
2129
|
+
authentication in the spec for a single request.
|
2130
|
+
:type _request_auth: dict, optional
|
2131
|
+
:param _content_type: force content-type for the request.
|
2132
|
+
:type _content_type: str, Optional
|
2133
|
+
:param _headers: set to override the headers for a single
|
2134
|
+
request; this effectively ignores the headers
|
2135
|
+
in the spec for a single request.
|
2136
|
+
:type _headers: dict, optional
|
2137
|
+
:param _host_index: set to override the host_index for a single
|
2138
|
+
request; this effectively ignores the host_index
|
2139
|
+
in the spec for a single request.
|
2140
|
+
:type _host_index: int, optional
|
2141
|
+
:return: Returns the result object.
|
2142
|
+
""" # noqa: E501
|
2143
|
+
|
2144
|
+
_param = self._put_data_retrieval_data_serialize(
|
2145
|
+
dataset_id=dataset_id,
|
2146
|
+
operation_id=operation_id,
|
2147
|
+
put_retrieved_data=put_retrieved_data,
|
2148
|
+
_request_auth=_request_auth,
|
2149
|
+
_content_type=_content_type,
|
2150
|
+
_headers=_headers,
|
2151
|
+
_host_index=_host_index
|
2152
|
+
)
|
2153
|
+
|
2154
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
2155
|
+
'202': "object",
|
2156
|
+
'500': "InternalServerError",
|
2157
|
+
'404': "NotFoundError",
|
2158
|
+
'422': "HTTPValidationError",
|
2159
|
+
}
|
2160
|
+
response_data = self.api_client.call_api(
|
2161
|
+
*_param,
|
2162
|
+
_request_timeout=_request_timeout
|
2163
|
+
)
|
2164
|
+
response_data.read()
|
2165
|
+
return self.api_client.response_deserialize(
|
2166
|
+
response_data=response_data,
|
2167
|
+
response_types_map=_response_types_map,
|
2168
|
+
).data
|
2169
|
+
|
2170
|
+
|
2171
|
+
@validate_call
|
2172
|
+
def put_data_retrieval_data_with_http_info(
|
2173
|
+
self,
|
2174
|
+
dataset_id: StrictStr,
|
2175
|
+
operation_id: Annotated[StrictStr, Field(description="Operation ID of the raw data operation.")],
|
2176
|
+
put_retrieved_data: PutRetrievedData,
|
2177
|
+
_request_timeout: Union[
|
2178
|
+
None,
|
2179
|
+
Annotated[StrictFloat, Field(gt=0)],
|
2180
|
+
Tuple[
|
2181
|
+
Annotated[StrictFloat, Field(gt=0)],
|
2182
|
+
Annotated[StrictFloat, Field(gt=0)]
|
2183
|
+
]
|
2184
|
+
] = None,
|
2185
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
2186
|
+
_content_type: Optional[StrictStr] = None,
|
2187
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2188
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2189
|
+
) -> ApiResponse[object]:
|
2190
|
+
"""Put Retrieved Data
|
2191
|
+
|
2192
|
+
Place raw data for returning. Requires the dataset_put_data_retrieval permission.
|
2193
|
+
|
2194
|
+
:param dataset_id: (required)
|
2195
|
+
:type dataset_id: str
|
2196
|
+
:param operation_id: Operation ID of the raw data operation. (required)
|
2197
|
+
:type operation_id: str
|
2198
|
+
:param put_retrieved_data: (required)
|
2199
|
+
:type put_retrieved_data: PutRetrievedData
|
2200
|
+
:param _request_timeout: timeout setting for this request. If one
|
2201
|
+
number provided, it will be total request
|
2202
|
+
timeout. It can also be a pair (tuple) of
|
2203
|
+
(connection, read) timeouts.
|
2204
|
+
:type _request_timeout: int, tuple(int, int), optional
|
2205
|
+
:param _request_auth: set to override the auth_settings for an a single
|
2206
|
+
request; this effectively ignores the
|
2207
|
+
authentication in the spec for a single request.
|
2208
|
+
:type _request_auth: dict, optional
|
2209
|
+
:param _content_type: force content-type for the request.
|
2210
|
+
:type _content_type: str, Optional
|
2211
|
+
:param _headers: set to override the headers for a single
|
2212
|
+
request; this effectively ignores the headers
|
2213
|
+
in the spec for a single request.
|
2214
|
+
:type _headers: dict, optional
|
2215
|
+
:param _host_index: set to override the host_index for a single
|
2216
|
+
request; this effectively ignores the host_index
|
2217
|
+
in the spec for a single request.
|
2218
|
+
:type _host_index: int, optional
|
2219
|
+
:return: Returns the result object.
|
2220
|
+
""" # noqa: E501
|
2221
|
+
|
2222
|
+
_param = self._put_data_retrieval_data_serialize(
|
2223
|
+
dataset_id=dataset_id,
|
2224
|
+
operation_id=operation_id,
|
2225
|
+
put_retrieved_data=put_retrieved_data,
|
2226
|
+
_request_auth=_request_auth,
|
2227
|
+
_content_type=_content_type,
|
2228
|
+
_headers=_headers,
|
2229
|
+
_host_index=_host_index
|
2230
|
+
)
|
2231
|
+
|
2232
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
2233
|
+
'202': "object",
|
2234
|
+
'500': "InternalServerError",
|
2235
|
+
'404': "NotFoundError",
|
2236
|
+
'422': "HTTPValidationError",
|
2237
|
+
}
|
2238
|
+
response_data = self.api_client.call_api(
|
2239
|
+
*_param,
|
2240
|
+
_request_timeout=_request_timeout
|
2241
|
+
)
|
2242
|
+
response_data.read()
|
2243
|
+
return self.api_client.response_deserialize(
|
2244
|
+
response_data=response_data,
|
2245
|
+
response_types_map=_response_types_map,
|
2246
|
+
)
|
2247
|
+
|
2248
|
+
|
2249
|
+
@validate_call
|
2250
|
+
def put_data_retrieval_data_without_preload_content(
|
2251
|
+
self,
|
2252
|
+
dataset_id: StrictStr,
|
2253
|
+
operation_id: Annotated[StrictStr, Field(description="Operation ID of the raw data operation.")],
|
2254
|
+
put_retrieved_data: PutRetrievedData,
|
2255
|
+
_request_timeout: Union[
|
2256
|
+
None,
|
2257
|
+
Annotated[StrictFloat, Field(gt=0)],
|
2258
|
+
Tuple[
|
2259
|
+
Annotated[StrictFloat, Field(gt=0)],
|
2260
|
+
Annotated[StrictFloat, Field(gt=0)]
|
2261
|
+
]
|
2262
|
+
] = None,
|
2263
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
2264
|
+
_content_type: Optional[StrictStr] = None,
|
2265
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2266
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2267
|
+
) -> RESTResponseType:
|
2268
|
+
"""Put Retrieved Data
|
2269
|
+
|
2270
|
+
Place raw data for returning. Requires the dataset_put_data_retrieval permission.
|
2271
|
+
|
2272
|
+
:param dataset_id: (required)
|
2273
|
+
:type dataset_id: str
|
2274
|
+
:param operation_id: Operation ID of the raw data operation. (required)
|
2275
|
+
:type operation_id: str
|
2276
|
+
:param put_retrieved_data: (required)
|
2277
|
+
:type put_retrieved_data: PutRetrievedData
|
2278
|
+
:param _request_timeout: timeout setting for this request. If one
|
2279
|
+
number provided, it will be total request
|
2280
|
+
timeout. It can also be a pair (tuple) of
|
2281
|
+
(connection, read) timeouts.
|
2282
|
+
:type _request_timeout: int, tuple(int, int), optional
|
2283
|
+
:param _request_auth: set to override the auth_settings for an a single
|
2284
|
+
request; this effectively ignores the
|
2285
|
+
authentication in the spec for a single request.
|
2286
|
+
:type _request_auth: dict, optional
|
2287
|
+
:param _content_type: force content-type for the request.
|
2288
|
+
:type _content_type: str, Optional
|
2289
|
+
:param _headers: set to override the headers for a single
|
2290
|
+
request; this effectively ignores the headers
|
2291
|
+
in the spec for a single request.
|
2292
|
+
:type _headers: dict, optional
|
2293
|
+
:param _host_index: set to override the host_index for a single
|
2294
|
+
request; this effectively ignores the host_index
|
2295
|
+
in the spec for a single request.
|
2296
|
+
:type _host_index: int, optional
|
2297
|
+
:return: Returns the result object.
|
2298
|
+
""" # noqa: E501
|
2299
|
+
|
2300
|
+
_param = self._put_data_retrieval_data_serialize(
|
2301
|
+
dataset_id=dataset_id,
|
2302
|
+
operation_id=operation_id,
|
2303
|
+
put_retrieved_data=put_retrieved_data,
|
2304
|
+
_request_auth=_request_auth,
|
2305
|
+
_content_type=_content_type,
|
2306
|
+
_headers=_headers,
|
2307
|
+
_host_index=_host_index
|
2308
|
+
)
|
2309
|
+
|
2310
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
2311
|
+
'202': "object",
|
2312
|
+
'500': "InternalServerError",
|
2313
|
+
'404': "NotFoundError",
|
2314
|
+
'422': "HTTPValidationError",
|
2315
|
+
}
|
2316
|
+
response_data = self.api_client.call_api(
|
2317
|
+
*_param,
|
2318
|
+
_request_timeout=_request_timeout
|
2319
|
+
)
|
2320
|
+
return response_data.response
|
2321
|
+
|
2322
|
+
|
2323
|
+
def _put_data_retrieval_data_serialize(
|
2324
|
+
self,
|
2325
|
+
dataset_id,
|
2326
|
+
operation_id,
|
2327
|
+
put_retrieved_data,
|
2328
|
+
_request_auth,
|
2329
|
+
_content_type,
|
2330
|
+
_headers,
|
2331
|
+
_host_index,
|
2332
|
+
) -> RequestSerialized:
|
2333
|
+
|
2334
|
+
_host = None
|
2335
|
+
|
2336
|
+
_collection_formats: Dict[str, str] = {
|
2337
|
+
}
|
2338
|
+
|
2339
|
+
_path_params: Dict[str, str] = {}
|
2340
|
+
_query_params: List[Tuple[str, str]] = []
|
2341
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
2342
|
+
_form_params: List[Tuple[str, str]] = []
|
2343
|
+
_files: Dict[
|
2344
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
2345
|
+
] = {}
|
2346
|
+
_body_params: Optional[bytes] = None
|
2347
|
+
|
2348
|
+
# process the path parameters
|
2349
|
+
if dataset_id is not None:
|
2350
|
+
_path_params['dataset_id'] = dataset_id
|
2351
|
+
if operation_id is not None:
|
2352
|
+
_path_params['operation_id'] = operation_id
|
2353
|
+
# process the query parameters
|
2354
|
+
# process the header parameters
|
2355
|
+
# process the form parameters
|
2356
|
+
# process the body parameter
|
2357
|
+
if put_retrieved_data is not None:
|
2358
|
+
_body_params = put_retrieved_data
|
2359
|
+
|
2360
|
+
|
2361
|
+
# set the HTTP header `Accept`
|
2362
|
+
if 'Accept' not in _header_params:
|
2363
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
2364
|
+
[
|
2365
|
+
'application/json'
|
2366
|
+
]
|
2367
|
+
)
|
2368
|
+
|
2369
|
+
# set the HTTP header `Content-Type`
|
2370
|
+
if _content_type:
|
2371
|
+
_header_params['Content-Type'] = _content_type
|
2372
|
+
else:
|
2373
|
+
_default_content_type = (
|
2374
|
+
self.api_client.select_header_content_type(
|
2375
|
+
[
|
2376
|
+
'application/json'
|
2377
|
+
]
|
2378
|
+
)
|
2379
|
+
)
|
2380
|
+
if _default_content_type is not None:
|
2381
|
+
_header_params['Content-Type'] = _default_content_type
|
2382
|
+
|
2383
|
+
# authentication setting
|
2384
|
+
_auth_settings: List[str] = [
|
2385
|
+
'OAuth2AuthorizationCode'
|
2386
|
+
]
|
2387
|
+
|
2388
|
+
return self.api_client.param_serialize(
|
2389
|
+
method='PUT',
|
2390
|
+
resource_path='/api/v1/datasets/{dataset_id}/data_retrieval/{operation_id}',
|
2391
|
+
path_params=_path_params,
|
2392
|
+
query_params=_query_params,
|
2393
|
+
header_params=_header_params,
|
2394
|
+
body=_body_params,
|
2395
|
+
post_params=_form_params,
|
2396
|
+
files=_files,
|
2397
|
+
auth_settings=_auth_settings,
|
2398
|
+
collection_formats=_collection_formats,
|
2399
|
+
_host=_host,
|
2400
|
+
_request_auth=_request_auth
|
2401
|
+
)
|
2402
|
+
|
2403
|
+
|