scope-client 1.4.912__py3-none-any.whl → 1.4.914__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.
- scope_client/api_bindings/__init__.py +19 -0
- scope_client/api_bindings/api/__init__.py +1 -0
- scope_client/api_bindings/api/models_v1_api.py +17 -0
- scope_client/api_bindings/api/tasks_v1_api.py +1757 -0
- scope_client/api_bindings/models/__init__.py +18 -0
- scope_client/api_bindings/models/config.py +185 -0
- scope_client/api_bindings/models/config1.py +185 -0
- scope_client/api_bindings/models/example_config.py +89 -0
- scope_client/api_bindings/models/examples_config.py +102 -0
- scope_client/api_bindings/models/keywords_config.py +87 -0
- scope_client/api_bindings/models/metrics_query_result.py +2 -2
- scope_client/api_bindings/models/model.py +8 -1
- scope_client/api_bindings/models/new_rule_request.py +104 -0
- scope_client/api_bindings/models/patch_task_request.py +101 -0
- scope_client/api_bindings/models/permission_name.py +6 -0
- scope_client/api_bindings/models/pii_config.py +106 -0
- scope_client/api_bindings/models/post_model.py +9 -1
- scope_client/api_bindings/models/post_task_request.py +105 -0
- scope_client/api_bindings/models/put_task_state_cache_request.py +91 -0
- scope_client/api_bindings/models/regex_config.py +87 -0
- scope_client/api_bindings/models/rule_response.py +121 -0
- scope_client/api_bindings/models/rule_scope.py +37 -0
- scope_client/api_bindings/models/rule_type.py +44 -0
- scope_client/api_bindings/models/task_mutation_response.py +87 -0
- scope_client/api_bindings/models/task_read_response.py +106 -0
- scope_client/api_bindings/models/task_response.py +103 -0
- scope_client/api_bindings/models/toxicity_config.py +100 -0
- {scope_client-1.4.912.dist-info → scope_client-1.4.914.dist-info}/METADATA +1 -1
- {scope_client-1.4.912.dist-info → scope_client-1.4.914.dist-info}/RECORD +31 -12
- {scope_client-1.4.912.dist-info → scope_client-1.4.914.dist-info}/WHEEL +0 -0
- {scope_client-1.4.912.dist-info → scope_client-1.4.914.dist-info}/top_level.txt +0 -0
|
@@ -36,6 +36,7 @@ from scope_client.api_bindings.api.organizations_v1_api import OrganizationsV1Ap
|
|
|
36
36
|
from scope_client.api_bindings.api.projects_v1_api import ProjectsV1Api
|
|
37
37
|
from scope_client.api_bindings.api.registration_v1_api import RegistrationV1Api
|
|
38
38
|
from scope_client.api_bindings.api.roles_v1_api import RolesV1Api
|
|
39
|
+
from scope_client.api_bindings.api.tasks_v1_api import TasksV1Api
|
|
39
40
|
from scope_client.api_bindings.api.upsolve_v1_api import UpsolveV1Api
|
|
40
41
|
from scope_client.api_bindings.api.users_v1_api import UsersV1Api
|
|
41
42
|
from scope_client.api_bindings.api.webhooks_v1_api import WebhooksV1Api
|
|
@@ -75,6 +76,8 @@ from scope_client.api_bindings.models.bound_member_kind import BoundMemberKind
|
|
|
75
76
|
from scope_client.api_bindings.models.bound_resource import BoundResource
|
|
76
77
|
from scope_client.api_bindings.models.bound_resource_kind import BoundResourceKind
|
|
77
78
|
from scope_client.api_bindings.models.bound_role import BoundRole
|
|
79
|
+
from scope_client.api_bindings.models.config import Config
|
|
80
|
+
from scope_client.api_bindings.models.config1 import Config1
|
|
78
81
|
from scope_client.api_bindings.models.conflict_error import ConflictError
|
|
79
82
|
from scope_client.api_bindings.models.connector_check_job_spec import ConnectorCheckJobSpec
|
|
80
83
|
from scope_client.api_bindings.models.connector_check_outcome import ConnectorCheckOutcome
|
|
@@ -119,6 +122,8 @@ from scope_client.api_bindings.models.datasets_sort import DatasetsSort
|
|
|
119
122
|
from scope_client.api_bindings.models.definition import Definition
|
|
120
123
|
from scope_client.api_bindings.models.delete_group_membership import DeleteGroupMembership
|
|
121
124
|
from scope_client.api_bindings.models.dimension import Dimension
|
|
125
|
+
from scope_client.api_bindings.models.example_config import ExampleConfig
|
|
126
|
+
from scope_client.api_bindings.models.examples_config import ExamplesConfig
|
|
122
127
|
from scope_client.api_bindings.models.extended_role import ExtendedRole
|
|
123
128
|
from scope_client.api_bindings.models.fetch_data_job_spec import FetchDataJobSpec
|
|
124
129
|
from scope_client.api_bindings.models.generate_metrics_spec_request import GenerateMetricsSpecRequest
|
|
@@ -149,6 +154,7 @@ from scope_client.api_bindings.models.job_trigger import JobTrigger
|
|
|
149
154
|
from scope_client.api_bindings.models.jobs_batch import JobsBatch
|
|
150
155
|
from scope_client.api_bindings.models.jobs_sort import JobsSort
|
|
151
156
|
from scope_client.api_bindings.models.joined_dataset import JoinedDataset
|
|
157
|
+
from scope_client.api_bindings.models.keywords_config import KeywordsConfig
|
|
152
158
|
from scope_client.api_bindings.models.list_datasets_job_spec import ListDatasetsJobSpec
|
|
153
159
|
from scope_client.api_bindings.models.list_type import ListType
|
|
154
160
|
from scope_client.api_bindings.models.metrics_arg_spec import MetricsArgSpec
|
|
@@ -170,6 +176,7 @@ from scope_client.api_bindings.models.model_metric_spec import ModelMetricSpec
|
|
|
170
176
|
from scope_client.api_bindings.models.model_metrics_schedule import ModelMetricsSchedule
|
|
171
177
|
from scope_client.api_bindings.models.model_problem_type import ModelProblemType
|
|
172
178
|
from scope_client.api_bindings.models.models_sort import ModelsSort
|
|
179
|
+
from scope_client.api_bindings.models.new_rule_request import NewRuleRequest
|
|
173
180
|
from scope_client.api_bindings.models.not_found_error import NotFoundError
|
|
174
181
|
from scope_client.api_bindings.models.numeric_metric import NumericMetric
|
|
175
182
|
from scope_client.api_bindings.models.numeric_point import NumericPoint
|
|
@@ -177,6 +184,7 @@ from scope_client.api_bindings.models.numeric_time_series import NumericTimeSeri
|
|
|
177
184
|
from scope_client.api_bindings.models.object_type import ObjectType
|
|
178
185
|
from scope_client.api_bindings.models.object_value import ObjectValue
|
|
179
186
|
from scope_client.api_bindings.models.organization import Organization
|
|
187
|
+
from scope_client.api_bindings.models.pii_config import PIIConfig
|
|
180
188
|
from scope_client.api_bindings.models.pagination import Pagination
|
|
181
189
|
from scope_client.api_bindings.models.patch_alert_rule import PatchAlertRule
|
|
182
190
|
from scope_client.api_bindings.models.patch_connector_spec import PatchConnectorSpec
|
|
@@ -188,6 +196,7 @@ from scope_client.api_bindings.models.patch_job import PatchJob
|
|
|
188
196
|
from scope_client.api_bindings.models.patch_model import PatchModel
|
|
189
197
|
from scope_client.api_bindings.models.patch_project import PatchProject
|
|
190
198
|
from scope_client.api_bindings.models.patch_service_account_user import PatchServiceAccountUser
|
|
199
|
+
from scope_client.api_bindings.models.patch_task_request import PatchTaskRequest
|
|
191
200
|
from scope_client.api_bindings.models.patch_user import PatchUser
|
|
192
201
|
from scope_client.api_bindings.models.patch_webhook import PatchWebhook
|
|
193
202
|
from scope_client.api_bindings.models.patch_workspace import PatchWorkspace
|
|
@@ -223,6 +232,7 @@ from scope_client.api_bindings.models.post_model import PostModel
|
|
|
223
232
|
from scope_client.api_bindings.models.post_project import PostProject
|
|
224
233
|
from scope_client.api_bindings.models.post_role_binding import PostRoleBinding
|
|
225
234
|
from scope_client.api_bindings.models.post_service_account import PostServiceAccount
|
|
235
|
+
from scope_client.api_bindings.models.post_task_request import PostTaskRequest
|
|
226
236
|
from scope_client.api_bindings.models.post_upsolve_tenant import PostUpsolveTenant
|
|
227
237
|
from scope_client.api_bindings.models.post_webhook import PostWebhook
|
|
228
238
|
from scope_client.api_bindings.models.post_workspace import PostWorkspace
|
|
@@ -236,6 +246,8 @@ from scope_client.api_bindings.models.put_job_state import PutJobState
|
|
|
236
246
|
from scope_client.api_bindings.models.put_model_metric_spec import PutModelMetricSpec
|
|
237
247
|
from scope_client.api_bindings.models.put_model_metrics_schedule import PutModelMetricsSchedule
|
|
238
248
|
from scope_client.api_bindings.models.put_retrieved_data import PutRetrievedData
|
|
249
|
+
from scope_client.api_bindings.models.put_task_state_cache_request import PutTaskStateCacheRequest
|
|
250
|
+
from scope_client.api_bindings.models.regex_config import RegexConfig
|
|
239
251
|
from scope_client.api_bindings.models.register_user import RegisterUser
|
|
240
252
|
from scope_client.api_bindings.models.resource_kind import ResourceKind
|
|
241
253
|
from scope_client.api_bindings.models.resource_list_aggregation_spec_schema import ResourceListAggregationSpecSchema
|
|
@@ -264,6 +276,9 @@ from scope_client.api_bindings.models.result_filter import ResultFilter
|
|
|
264
276
|
from scope_client.api_bindings.models.role import Role
|
|
265
277
|
from scope_client.api_bindings.models.role_binding import RoleBinding
|
|
266
278
|
from scope_client.api_bindings.models.role_sort import RoleSort
|
|
279
|
+
from scope_client.api_bindings.models.rule_response import RuleResponse
|
|
280
|
+
from scope_client.api_bindings.models.rule_scope import RuleScope
|
|
281
|
+
from scope_client.api_bindings.models.rule_type import RuleType
|
|
267
282
|
from scope_client.api_bindings.models.scalar_type import ScalarType
|
|
268
283
|
from scope_client.api_bindings.models.schedule_jobs_job_spec import ScheduleJobsJobSpec
|
|
269
284
|
from scope_client.api_bindings.models.schema_inspection_job_spec import SchemaInspectionJobSpec
|
|
@@ -275,6 +290,10 @@ from scope_client.api_bindings.models.sketch_metric import SketchMetric
|
|
|
275
290
|
from scope_client.api_bindings.models.sketch_point import SketchPoint
|
|
276
291
|
from scope_client.api_bindings.models.sketch_time_series import SketchTimeSeries
|
|
277
292
|
from scope_client.api_bindings.models.sort_order import SortOrder
|
|
293
|
+
from scope_client.api_bindings.models.task_mutation_response import TaskMutationResponse
|
|
294
|
+
from scope_client.api_bindings.models.task_read_response import TaskReadResponse
|
|
295
|
+
from scope_client.api_bindings.models.task_response import TaskResponse
|
|
296
|
+
from scope_client.api_bindings.models.toxicity_config import ToxicityConfig
|
|
278
297
|
from scope_client.api_bindings.models.upsolve_token import UpsolveToken
|
|
279
298
|
from scope_client.api_bindings.models.user import User
|
|
280
299
|
from scope_client.api_bindings.models.user_credentials import UserCredentials
|
|
@@ -20,6 +20,7 @@ from scope_client.api_bindings.api.organizations_v1_api import OrganizationsV1Ap
|
|
|
20
20
|
from scope_client.api_bindings.api.projects_v1_api import ProjectsV1Api
|
|
21
21
|
from scope_client.api_bindings.api.registration_v1_api import RegistrationV1Api
|
|
22
22
|
from scope_client.api_bindings.api.roles_v1_api import RolesV1Api
|
|
23
|
+
from scope_client.api_bindings.api.tasks_v1_api import TasksV1Api
|
|
23
24
|
from scope_client.api_bindings.api.upsolve_v1_api import UpsolveV1Api
|
|
24
25
|
from scope_client.api_bindings.api.users_v1_api import UsersV1Api
|
|
25
26
|
from scope_client.api_bindings.api.webhooks_v1_api import WebhooksV1Api
|
|
@@ -1163,6 +1163,7 @@ class ModelsV1Api:
|
|
|
1163
1163
|
order: Annotated[Optional[SortOrder], Field(description="Override the sort order used. Optional.")] = None,
|
|
1164
1164
|
dataset_id: Annotated[Optional[StrictStr], Field(description="Filter the results for the models that are based on this dataset id. Optional.")] = None,
|
|
1165
1165
|
name: Annotated[Optional[StrictStr], Field(description="Filter the results for the models with a name similar to this name. Optional.")] = None,
|
|
1166
|
+
onboarding_identifier: Annotated[Optional[StrictStr], Field(description="Filter the results for models whose 'onboarding_identifier' matches the provided string.")] = None,
|
|
1166
1167
|
page: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="The page to return starting from 1 up to total_pages.")] = None,
|
|
1167
1168
|
page_size: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="The number of records per page. The max is 1000.")] = None,
|
|
1168
1169
|
_request_timeout: Union[
|
|
@@ -1192,6 +1193,8 @@ class ModelsV1Api:
|
|
|
1192
1193
|
:type dataset_id: str
|
|
1193
1194
|
:param name: Filter the results for the models with a name similar to this name. Optional.
|
|
1194
1195
|
:type name: str
|
|
1196
|
+
:param onboarding_identifier: Filter the results for models whose 'onboarding_identifier' matches the provided string.
|
|
1197
|
+
:type onboarding_identifier: str
|
|
1195
1198
|
:param page: The page to return starting from 1 up to total_pages.
|
|
1196
1199
|
:type page: int
|
|
1197
1200
|
:param page_size: The number of records per page. The max is 1000.
|
|
@@ -1224,6 +1227,7 @@ class ModelsV1Api:
|
|
|
1224
1227
|
order=order,
|
|
1225
1228
|
dataset_id=dataset_id,
|
|
1226
1229
|
name=name,
|
|
1230
|
+
onboarding_identifier=onboarding_identifier,
|
|
1227
1231
|
page=page,
|
|
1228
1232
|
page_size=page_size,
|
|
1229
1233
|
_request_auth=_request_auth,
|
|
@@ -1257,6 +1261,7 @@ class ModelsV1Api:
|
|
|
1257
1261
|
order: Annotated[Optional[SortOrder], Field(description="Override the sort order used. Optional.")] = None,
|
|
1258
1262
|
dataset_id: Annotated[Optional[StrictStr], Field(description="Filter the results for the models that are based on this dataset id. Optional.")] = None,
|
|
1259
1263
|
name: Annotated[Optional[StrictStr], Field(description="Filter the results for the models with a name similar to this name. Optional.")] = None,
|
|
1264
|
+
onboarding_identifier: Annotated[Optional[StrictStr], Field(description="Filter the results for models whose 'onboarding_identifier' matches the provided string.")] = None,
|
|
1260
1265
|
page: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="The page to return starting from 1 up to total_pages.")] = None,
|
|
1261
1266
|
page_size: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="The number of records per page. The max is 1000.")] = None,
|
|
1262
1267
|
_request_timeout: Union[
|
|
@@ -1286,6 +1291,8 @@ class ModelsV1Api:
|
|
|
1286
1291
|
:type dataset_id: str
|
|
1287
1292
|
:param name: Filter the results for the models with a name similar to this name. Optional.
|
|
1288
1293
|
:type name: str
|
|
1294
|
+
:param onboarding_identifier: Filter the results for models whose 'onboarding_identifier' matches the provided string.
|
|
1295
|
+
:type onboarding_identifier: str
|
|
1289
1296
|
:param page: The page to return starting from 1 up to total_pages.
|
|
1290
1297
|
:type page: int
|
|
1291
1298
|
:param page_size: The number of records per page. The max is 1000.
|
|
@@ -1318,6 +1325,7 @@ class ModelsV1Api:
|
|
|
1318
1325
|
order=order,
|
|
1319
1326
|
dataset_id=dataset_id,
|
|
1320
1327
|
name=name,
|
|
1328
|
+
onboarding_identifier=onboarding_identifier,
|
|
1321
1329
|
page=page,
|
|
1322
1330
|
page_size=page_size,
|
|
1323
1331
|
_request_auth=_request_auth,
|
|
@@ -1351,6 +1359,7 @@ class ModelsV1Api:
|
|
|
1351
1359
|
order: Annotated[Optional[SortOrder], Field(description="Override the sort order used. Optional.")] = None,
|
|
1352
1360
|
dataset_id: Annotated[Optional[StrictStr], Field(description="Filter the results for the models that are based on this dataset id. Optional.")] = None,
|
|
1353
1361
|
name: Annotated[Optional[StrictStr], Field(description="Filter the results for the models with a name similar to this name. Optional.")] = None,
|
|
1362
|
+
onboarding_identifier: Annotated[Optional[StrictStr], Field(description="Filter the results for models whose 'onboarding_identifier' matches the provided string.")] = None,
|
|
1354
1363
|
page: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="The page to return starting from 1 up to total_pages.")] = None,
|
|
1355
1364
|
page_size: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="The number of records per page. The max is 1000.")] = None,
|
|
1356
1365
|
_request_timeout: Union[
|
|
@@ -1380,6 +1389,8 @@ class ModelsV1Api:
|
|
|
1380
1389
|
:type dataset_id: str
|
|
1381
1390
|
:param name: Filter the results for the models with a name similar to this name. Optional.
|
|
1382
1391
|
:type name: str
|
|
1392
|
+
:param onboarding_identifier: Filter the results for models whose 'onboarding_identifier' matches the provided string.
|
|
1393
|
+
:type onboarding_identifier: str
|
|
1383
1394
|
:param page: The page to return starting from 1 up to total_pages.
|
|
1384
1395
|
:type page: int
|
|
1385
1396
|
:param page_size: The number of records per page. The max is 1000.
|
|
@@ -1412,6 +1423,7 @@ class ModelsV1Api:
|
|
|
1412
1423
|
order=order,
|
|
1413
1424
|
dataset_id=dataset_id,
|
|
1414
1425
|
name=name,
|
|
1426
|
+
onboarding_identifier=onboarding_identifier,
|
|
1415
1427
|
page=page,
|
|
1416
1428
|
page_size=page_size,
|
|
1417
1429
|
_request_auth=_request_auth,
|
|
@@ -1440,6 +1452,7 @@ class ModelsV1Api:
|
|
|
1440
1452
|
order,
|
|
1441
1453
|
dataset_id,
|
|
1442
1454
|
name,
|
|
1455
|
+
onboarding_identifier,
|
|
1443
1456
|
page,
|
|
1444
1457
|
page_size,
|
|
1445
1458
|
_request_auth,
|
|
@@ -1482,6 +1495,10 @@ class ModelsV1Api:
|
|
|
1482
1495
|
|
|
1483
1496
|
_query_params.append(('name', name))
|
|
1484
1497
|
|
|
1498
|
+
if onboarding_identifier is not None:
|
|
1499
|
+
|
|
1500
|
+
_query_params.append(('onboarding_identifier', onboarding_identifier))
|
|
1501
|
+
|
|
1485
1502
|
if page is not None:
|
|
1486
1503
|
|
|
1487
1504
|
_query_params.append(('page', page))
|