arthur-client 1.4.1500__py3-none-any.whl → 1.4.1502__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.

Potentially problematic release.


This version of arthur-client might be problematic. Click here for more details.

@@ -353,3 +353,4 @@ from arthur_client.api_bindings.models.webhook_result import WebhookResult
353
353
  from arthur_client.api_bindings.models.webhook_sort import WebhookSort
354
354
  from arthur_client.api_bindings.models.workspace import Workspace
355
355
  from arthur_client.api_bindings.models.workspace_sort import WorkspaceSort
356
+ from arthur_client.api_bindings.models.workspace_statistics import WorkspaceStatistics
@@ -25,6 +25,7 @@ from arthur_client.api_bindings.models.resource_list_workspace import ResourceLi
25
25
  from arthur_client.api_bindings.models.sort_order import SortOrder
26
26
  from arthur_client.api_bindings.models.workspace import Workspace
27
27
  from arthur_client.api_bindings.models.workspace_sort import WorkspaceSort
28
+ from arthur_client.api_bindings.models.workspace_statistics import WorkspaceStatistics
28
29
 
29
30
  from arthur_client.api_bindings.api_client import ApiClient, RequestSerialized
30
31
  from arthur_client.api_bindings.api_response import ApiResponse
@@ -1509,3 +1510,273 @@ class WorkspacesV1Api:
1509
1510
  )
1510
1511
 
1511
1512
 
1513
+
1514
+
1515
+ @validate_call
1516
+ def workspace_get_statistics(
1517
+ self,
1518
+ workspace_id: StrictStr,
1519
+ _request_timeout: Union[
1520
+ None,
1521
+ Annotated[StrictFloat, Field(gt=0)],
1522
+ Tuple[
1523
+ Annotated[StrictFloat, Field(gt=0)],
1524
+ Annotated[StrictFloat, Field(gt=0)]
1525
+ ]
1526
+ ] = None,
1527
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1528
+ _content_type: Optional[StrictStr] = None,
1529
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1530
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1531
+ ) -> WorkspaceStatistics:
1532
+ """Get Workspace Statistics
1533
+
1534
+ Gets workspace information for data plane, projects, custom aggregations, and user count. Requires workspace_get_statistics permission
1535
+
1536
+ :param workspace_id: (required)
1537
+ :type workspace_id: str
1538
+ :param _request_timeout: timeout setting for this request. If one
1539
+ number provided, it will be total request
1540
+ timeout. It can also be a pair (tuple) of
1541
+ (connection, read) timeouts.
1542
+ :type _request_timeout: int, tuple(int, int), optional
1543
+ :param _request_auth: set to override the auth_settings for an a single
1544
+ request; this effectively ignores the
1545
+ authentication in the spec for a single request.
1546
+ :type _request_auth: dict, optional
1547
+ :param _content_type: force content-type for the request.
1548
+ :type _content_type: str, Optional
1549
+ :param _headers: set to override the headers for a single
1550
+ request; this effectively ignores the headers
1551
+ in the spec for a single request.
1552
+ :type _headers: dict, optional
1553
+ :param _host_index: set to override the host_index for a single
1554
+ request; this effectively ignores the host_index
1555
+ in the spec for a single request.
1556
+ :type _host_index: int, optional
1557
+ :return: Returns the result object.
1558
+ """ # noqa: E501
1559
+
1560
+ _param = self._workspace_get_statistics_serialize(
1561
+ workspace_id=workspace_id,
1562
+ _request_auth=_request_auth,
1563
+ _content_type=_content_type,
1564
+ _headers=_headers,
1565
+ _host_index=_host_index
1566
+ )
1567
+
1568
+ _response_types_map: Dict[str, Optional[str]] = {
1569
+ '200': "WorkspaceStatistics",
1570
+ '500': "InternalServerError",
1571
+ '404': "NotFoundError",
1572
+ '422': "HTTPValidationError",
1573
+ }
1574
+ response_data = self.api_client.call_api(
1575
+ *_param,
1576
+ _request_timeout=_request_timeout
1577
+ )
1578
+ response_data.read()
1579
+ return self.api_client.response_deserialize(
1580
+ response_data=response_data,
1581
+ response_types_map=_response_types_map,
1582
+ ).data
1583
+
1584
+
1585
+ @validate_call
1586
+ def workspace_get_statistics_with_http_info(
1587
+ self,
1588
+ workspace_id: StrictStr,
1589
+ _request_timeout: Union[
1590
+ None,
1591
+ Annotated[StrictFloat, Field(gt=0)],
1592
+ Tuple[
1593
+ Annotated[StrictFloat, Field(gt=0)],
1594
+ Annotated[StrictFloat, Field(gt=0)]
1595
+ ]
1596
+ ] = None,
1597
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1598
+ _content_type: Optional[StrictStr] = None,
1599
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1600
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1601
+ ) -> ApiResponse[WorkspaceStatistics]:
1602
+ """Get Workspace Statistics
1603
+
1604
+ Gets workspace information for data plane, projects, custom aggregations, and user count. Requires workspace_get_statistics permission
1605
+
1606
+ :param workspace_id: (required)
1607
+ :type workspace_id: str
1608
+ :param _request_timeout: timeout setting for this request. If one
1609
+ number provided, it will be total request
1610
+ timeout. It can also be a pair (tuple) of
1611
+ (connection, read) timeouts.
1612
+ :type _request_timeout: int, tuple(int, int), optional
1613
+ :param _request_auth: set to override the auth_settings for an a single
1614
+ request; this effectively ignores the
1615
+ authentication in the spec for a single request.
1616
+ :type _request_auth: dict, optional
1617
+ :param _content_type: force content-type for the request.
1618
+ :type _content_type: str, Optional
1619
+ :param _headers: set to override the headers for a single
1620
+ request; this effectively ignores the headers
1621
+ in the spec for a single request.
1622
+ :type _headers: dict, optional
1623
+ :param _host_index: set to override the host_index for a single
1624
+ request; this effectively ignores the host_index
1625
+ in the spec for a single request.
1626
+ :type _host_index: int, optional
1627
+ :return: Returns the result object.
1628
+ """ # noqa: E501
1629
+
1630
+ _param = self._workspace_get_statistics_serialize(
1631
+ workspace_id=workspace_id,
1632
+ _request_auth=_request_auth,
1633
+ _content_type=_content_type,
1634
+ _headers=_headers,
1635
+ _host_index=_host_index
1636
+ )
1637
+
1638
+ _response_types_map: Dict[str, Optional[str]] = {
1639
+ '200': "WorkspaceStatistics",
1640
+ '500': "InternalServerError",
1641
+ '404': "NotFoundError",
1642
+ '422': "HTTPValidationError",
1643
+ }
1644
+ response_data = self.api_client.call_api(
1645
+ *_param,
1646
+ _request_timeout=_request_timeout
1647
+ )
1648
+ response_data.read()
1649
+ return self.api_client.response_deserialize(
1650
+ response_data=response_data,
1651
+ response_types_map=_response_types_map,
1652
+ )
1653
+
1654
+
1655
+ @validate_call
1656
+ def workspace_get_statistics_without_preload_content(
1657
+ self,
1658
+ workspace_id: StrictStr,
1659
+ _request_timeout: Union[
1660
+ None,
1661
+ Annotated[StrictFloat, Field(gt=0)],
1662
+ Tuple[
1663
+ Annotated[StrictFloat, Field(gt=0)],
1664
+ Annotated[StrictFloat, Field(gt=0)]
1665
+ ]
1666
+ ] = None,
1667
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1668
+ _content_type: Optional[StrictStr] = None,
1669
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1670
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1671
+ ) -> RESTResponseType:
1672
+ """Get Workspace Statistics
1673
+
1674
+ Gets workspace information for data plane, projects, custom aggregations, and user count. Requires workspace_get_statistics permission
1675
+
1676
+ :param workspace_id: (required)
1677
+ :type workspace_id: str
1678
+ :param _request_timeout: timeout setting for this request. If one
1679
+ number provided, it will be total request
1680
+ timeout. It can also be a pair (tuple) of
1681
+ (connection, read) timeouts.
1682
+ :type _request_timeout: int, tuple(int, int), optional
1683
+ :param _request_auth: set to override the auth_settings for an a single
1684
+ request; this effectively ignores the
1685
+ authentication in the spec for a single request.
1686
+ :type _request_auth: dict, optional
1687
+ :param _content_type: force content-type for the request.
1688
+ :type _content_type: str, Optional
1689
+ :param _headers: set to override the headers for a single
1690
+ request; this effectively ignores the headers
1691
+ in the spec for a single request.
1692
+ :type _headers: dict, optional
1693
+ :param _host_index: set to override the host_index for a single
1694
+ request; this effectively ignores the host_index
1695
+ in the spec for a single request.
1696
+ :type _host_index: int, optional
1697
+ :return: Returns the result object.
1698
+ """ # noqa: E501
1699
+
1700
+ _param = self._workspace_get_statistics_serialize(
1701
+ workspace_id=workspace_id,
1702
+ _request_auth=_request_auth,
1703
+ _content_type=_content_type,
1704
+ _headers=_headers,
1705
+ _host_index=_host_index
1706
+ )
1707
+
1708
+ _response_types_map: Dict[str, Optional[str]] = {
1709
+ '200': "WorkspaceStatistics",
1710
+ '500': "InternalServerError",
1711
+ '404': "NotFoundError",
1712
+ '422': "HTTPValidationError",
1713
+ }
1714
+ response_data = self.api_client.call_api(
1715
+ *_param,
1716
+ _request_timeout=_request_timeout
1717
+ )
1718
+ return response_data.response
1719
+
1720
+
1721
+ def _workspace_get_statistics_serialize(
1722
+ self,
1723
+ workspace_id,
1724
+ _request_auth,
1725
+ _content_type,
1726
+ _headers,
1727
+ _host_index,
1728
+ ) -> RequestSerialized:
1729
+
1730
+ _host = None
1731
+
1732
+ _collection_formats: Dict[str, str] = {
1733
+ }
1734
+
1735
+ _path_params: Dict[str, str] = {}
1736
+ _query_params: List[Tuple[str, str]] = []
1737
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1738
+ _form_params: List[Tuple[str, str]] = []
1739
+ _files: Dict[
1740
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1741
+ ] = {}
1742
+ _body_params: Optional[bytes] = None
1743
+
1744
+ # process the path parameters
1745
+ if workspace_id is not None:
1746
+ _path_params['workspace_id'] = workspace_id
1747
+ # process the query parameters
1748
+ # process the header parameters
1749
+ # process the form parameters
1750
+ # process the body parameter
1751
+
1752
+
1753
+ # set the HTTP header `Accept`
1754
+ if 'Accept' not in _header_params:
1755
+ _header_params['Accept'] = self.api_client.select_header_accept(
1756
+ [
1757
+ 'application/json'
1758
+ ]
1759
+ )
1760
+
1761
+
1762
+ # authentication setting
1763
+ _auth_settings: List[str] = [
1764
+ 'OAuth2AuthorizationCode'
1765
+ ]
1766
+
1767
+ return self.api_client.param_serialize(
1768
+ method='GET',
1769
+ resource_path='/api/v1/workspaces/{workspace_id}/statistics',
1770
+ path_params=_path_params,
1771
+ query_params=_query_params,
1772
+ header_params=_header_params,
1773
+ body=_body_params,
1774
+ post_params=_form_params,
1775
+ files=_files,
1776
+ auth_settings=_auth_settings,
1777
+ collection_formats=_collection_formats,
1778
+ _host=_host,
1779
+ _request_auth=_request_auth
1780
+ )
1781
+
1782
+
@@ -95,6 +95,8 @@
95
95
 
96
96
  * `WORKSPACE_LIST_CUSTOM_AGGREGATIONS` (value: `'workspace_list_custom_aggregations'`)
97
97
 
98
+ * `WORKSPACE_GET_STATISTICS` (value: `'workspace_get_statistics'`)
99
+
98
100
  * `PROJECT_READ` (value: `'project_read'`)
99
101
 
100
102
  * `PROJECT_UPDATE` (value: `'project_update'`)
@@ -0,0 +1,33 @@
1
+ # WorkspaceStatistics
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **active_engine_count** | **int** | |
9
+ **total_engine_count** | **int** | |
10
+ **projects_count** | **int** | |
11
+ **custom_agg_count** | **int** | |
12
+ **workspace_user_count** | **int** | |
13
+
14
+ ## Example
15
+
16
+ ```python
17
+ from arthur_client.api_bindings.models.workspace_statistics import WorkspaceStatistics
18
+
19
+ # TODO update the JSON string below
20
+ json = "{}"
21
+ # create an instance of WorkspaceStatistics from a JSON string
22
+ workspace_statistics_instance = WorkspaceStatistics.from_json(json)
23
+ # print the JSON string representation of the object
24
+ print(WorkspaceStatistics.to_json())
25
+
26
+ # convert the object into a dict
27
+ workspace_statistics_dict = workspace_statistics_instance.to_dict()
28
+ # create an instance of WorkspaceStatistics from a dict
29
+ workspace_statistics_from_dict = WorkspaceStatistics.from_dict(workspace_statistics_dict)
30
+ ```
31
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
32
+
33
+
@@ -9,6 +9,7 @@ Method | HTTP request | Description
9
9
  [**get_workspaces**](WorkspacesV1Api.md#get_workspaces) | **GET** /api/v1/organization/workspaces | Get Workspaces.
10
10
  [**patch_workspace**](WorkspacesV1Api.md#patch_workspace) | **PATCH** /api/v1/workspaces/{workspace_id} | Patch Workspace.
11
11
  [**post_workspace**](WorkspacesV1Api.md#post_workspace) | **POST** /api/v1/organization/workspaces | Post Workspace.
12
+ [**workspace_get_statistics**](WorkspacesV1Api.md#workspace_get_statistics) | **GET** /api/v1/workspaces/{workspace_id}/statistics | Get Workspace Statistics
12
13
 
13
14
 
14
15
  # **delete_workspace**
@@ -414,3 +415,81 @@ Name | Type | Description | Notes
414
415
 
415
416
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
416
417
 
418
+ # **workspace_get_statistics**
419
+ > WorkspaceStatistics workspace_get_statistics(workspace_id)
420
+
421
+ Get Workspace Statistics
422
+
423
+ Gets workspace information for data plane, projects, custom aggregations, and user count. Requires workspace_get_statistics permission
424
+
425
+ ### Example
426
+
427
+ * OAuth Authentication (OAuth2AuthorizationCode):
428
+
429
+ ```python
430
+ import arthur_client.api_bindings
431
+ from arthur_client.api_bindings.models.workspace_statistics import WorkspaceStatistics
432
+ from arthur_client.api_bindings.rest import ApiException
433
+ from pprint import pprint
434
+
435
+ # Defining the host is optional and defaults to http://localhost
436
+ # See configuration.py for a list of all supported configuration parameters.
437
+ configuration = arthur_client.api_bindings.Configuration(
438
+ host = "http://localhost"
439
+ )
440
+
441
+ # The client must configure the authentication and authorization parameters
442
+ # in accordance with the API server security policy.
443
+ # Examples for each auth method are provided below, use the example that
444
+ # satisfies your auth use case.
445
+
446
+ configuration.access_token = os.environ["ACCESS_TOKEN"]
447
+
448
+ # Enter a context with an instance of the API client
449
+ with arthur_client.api_bindings.ApiClient(configuration) as api_client:
450
+ # Create an instance of the API class
451
+ api_instance = arthur_client.api_bindings.WorkspacesV1Api(api_client)
452
+ workspace_id = 'workspace_id_example' # str |
453
+
454
+ try:
455
+ # Get Workspace Statistics
456
+ api_response = api_instance.workspace_get_statistics(workspace_id)
457
+ print("The response of WorkspacesV1Api->workspace_get_statistics:\n")
458
+ pprint(api_response)
459
+ except Exception as e:
460
+ print("Exception when calling WorkspacesV1Api->workspace_get_statistics: %s\n" % e)
461
+ ```
462
+
463
+
464
+
465
+ ### Parameters
466
+
467
+
468
+ Name | Type | Description | Notes
469
+ ------------- | ------------- | ------------- | -------------
470
+ **workspace_id** | **str**| |
471
+
472
+ ### Return type
473
+
474
+ [**WorkspaceStatistics**](WorkspaceStatistics.md)
475
+
476
+ ### Authorization
477
+
478
+ [OAuth2AuthorizationCode](../README.md#OAuth2AuthorizationCode)
479
+
480
+ ### HTTP request headers
481
+
482
+ - **Content-Type**: Not defined
483
+ - **Accept**: application/json
484
+
485
+ ### HTTP response details
486
+
487
+ | Status code | Description | Response headers |
488
+ |-------------|-------------|------------------|
489
+ **200** | Successful Response | - |
490
+ **500** | Internal Server Error | - |
491
+ **404** | Not Found | - |
492
+ **422** | Validation Error | - |
493
+
494
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
495
+
@@ -310,3 +310,4 @@ from arthur_client.api_bindings.models.webhook_result import WebhookResult
310
310
  from arthur_client.api_bindings.models.webhook_sort import WebhookSort
311
311
  from arthur_client.api_bindings.models.workspace import Workspace
312
312
  from arthur_client.api_bindings.models.workspace_sort import WorkspaceSort
313
+ from arthur_client.api_bindings.models.workspace_statistics import WorkspaceStatistics
@@ -72,6 +72,7 @@ class PermissionName(str, Enum):
72
72
  WORKSPACE_VALIDATE_CUSTOM_AGGREGATION = 'workspace_validate_custom_aggregation'
73
73
  WORKSPACE_LIST_DATASETS = 'workspace_list_datasets'
74
74
  WORKSPACE_LIST_CUSTOM_AGGREGATIONS = 'workspace_list_custom_aggregations'
75
+ WORKSPACE_GET_STATISTICS = 'workspace_get_statistics'
75
76
  PROJECT_READ = 'project_read'
76
77
  PROJECT_UPDATE = 'project_update'
77
78
  PROJECT_DELETE = 'project_delete'
@@ -0,0 +1,95 @@
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
+
15
+ from __future__ import annotations
16
+ import pprint
17
+ import re # noqa: F401
18
+ import json
19
+
20
+ from pydantic import BaseModel, ConfigDict, StrictInt
21
+ from typing import Any, ClassVar, Dict, List
22
+ from typing import Optional, Set
23
+ from typing_extensions import Self
24
+
25
+ class WorkspaceStatistics(BaseModel):
26
+ """
27
+ WorkspaceStatistics
28
+ """ # noqa: E501
29
+ active_engine_count: StrictInt
30
+ total_engine_count: StrictInt
31
+ projects_count: StrictInt
32
+ custom_agg_count: StrictInt
33
+ workspace_user_count: StrictInt
34
+ __properties: ClassVar[List[str]] = ["active_engine_count", "total_engine_count", "projects_count", "custom_agg_count", "workspace_user_count"]
35
+
36
+ model_config = ConfigDict(
37
+ populate_by_name=True,
38
+ validate_assignment=True,
39
+ protected_namespaces=(),
40
+ )
41
+
42
+
43
+ def to_str(self) -> str:
44
+ """Returns the string representation of the model using alias"""
45
+ return pprint.pformat(self.model_dump(by_alias=True))
46
+
47
+ def to_json(self) -> str:
48
+ """Returns the JSON representation of the model using alias"""
49
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
50
+ return json.dumps(self.to_dict())
51
+
52
+ @classmethod
53
+ def from_json(cls, json_str: str) -> Optional[Self]:
54
+ """Create an instance of WorkspaceStatistics from a JSON string"""
55
+ return cls.from_dict(json.loads(json_str))
56
+
57
+ def to_dict(self) -> Dict[str, Any]:
58
+ """Return the dictionary representation of the model using alias.
59
+
60
+ This has the following differences from calling pydantic's
61
+ `self.model_dump(by_alias=True)`:
62
+
63
+ * `None` is only added to the output dict for nullable fields that
64
+ were set at model initialization. Other fields with value `None`
65
+ are ignored.
66
+ """
67
+ excluded_fields: Set[str] = set([
68
+ ])
69
+
70
+ _dict = self.model_dump(
71
+ by_alias=True,
72
+ exclude=excluded_fields,
73
+ exclude_none=True,
74
+ )
75
+ return _dict
76
+
77
+ @classmethod
78
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
79
+ """Create an instance of WorkspaceStatistics from a dict"""
80
+ if obj is None:
81
+ return None
82
+
83
+ if not isinstance(obj, dict):
84
+ return cls.model_validate(obj)
85
+
86
+ _obj = cls.model_validate({
87
+ "active_engine_count": obj.get("active_engine_count"),
88
+ "total_engine_count": obj.get("total_engine_count"),
89
+ "projects_count": obj.get("projects_count"),
90
+ "custom_agg_count": obj.get("custom_agg_count"),
91
+ "workspace_user_count": obj.get("workspace_user_count")
92
+ })
93
+ return _obj
94
+
95
+
@@ -0,0 +1,60 @@
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
+
15
+ import unittest
16
+
17
+ from arthur_client.api_bindings.models.workspace_statistics import WorkspaceStatistics
18
+
19
+ class TestWorkspaceStatistics(unittest.TestCase):
20
+ """WorkspaceStatistics unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> WorkspaceStatistics:
29
+ """Test WorkspaceStatistics
30
+ include_optional is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `WorkspaceStatistics`
34
+ """
35
+ model = WorkspaceStatistics()
36
+ if include_optional:
37
+ return WorkspaceStatistics(
38
+ active_engine_count = 56,
39
+ total_engine_count = 56,
40
+ projects_count = 56,
41
+ custom_agg_count = 56,
42
+ workspace_user_count = 56
43
+ )
44
+ else:
45
+ return WorkspaceStatistics(
46
+ active_engine_count = 56,
47
+ total_engine_count = 56,
48
+ projects_count = 56,
49
+ custom_agg_count = 56,
50
+ workspace_user_count = 56,
51
+ )
52
+ """
53
+
54
+ def testWorkspaceStatistics(self):
55
+ """Test WorkspaceStatistics"""
56
+ # inst_req_only = self.make_instance(include_optional=False)
57
+ # inst_req_and_optional = self.make_instance(include_optional=True)
58
+
59
+ if __name__ == '__main__':
60
+ unittest.main()
@@ -61,6 +61,13 @@ class TestWorkspacesV1Api(unittest.TestCase):
61
61
  """
62
62
  pass
63
63
 
64
+ def test_workspace_get_statistics(self) -> None:
65
+ """Test case for workspace_get_statistics
66
+
67
+ Get Workspace Statistics
68
+ """
69
+ pass
70
+
64
71
 
65
72
  if __name__ == '__main__':
66
73
  unittest.main()
@@ -218,6 +218,7 @@ Class | Method | HTTP request | Description
218
218
  *WorkspacesV1Api* | [**get_workspaces**](arthur_client/api_bindings/docs/WorkspacesV1Api.md#get_workspaces) | **GET** /api/v1/organization/workspaces | Get Workspaces.
219
219
  *WorkspacesV1Api* | [**patch_workspace**](arthur_client/api_bindings/docs/WorkspacesV1Api.md#patch_workspace) | **PATCH** /api/v1/workspaces/{workspace_id} | Patch Workspace.
220
220
  *WorkspacesV1Api* | [**post_workspace**](arthur_client/api_bindings/docs/WorkspacesV1Api.md#post_workspace) | **POST** /api/v1/organization/workspaces | Post Workspace.
221
+ *WorkspacesV1Api* | [**workspace_get_statistics**](arthur_client/api_bindings/docs/WorkspacesV1Api.md#workspace_get_statistics) | **GET** /api/v1/workspaces/{workspace_id}/statistics | Get Workspace Statistics
221
222
  *DefaultApi* | [**health_check_api_health_get**](arthur_client/api_bindings/docs/DefaultApi.md#health_check_api_health_get) | **GET** /api/health | Health Check
222
223
 
223
224
 
@@ -519,6 +520,7 @@ Class | Method | HTTP request | Description
519
520
  - [WebhookSort](arthur_client/api_bindings/docs/WebhookSort.md)
520
521
  - [Workspace](arthur_client/api_bindings/docs/Workspace.md)
521
522
  - [WorkspaceSort](arthur_client/api_bindings/docs/WorkspaceSort.md)
523
+ - [WorkspaceStatistics](arthur_client/api_bindings/docs/WorkspaceStatistics.md)
522
524
 
523
525
 
524
526
  <a id="documentation-for-authorization"></a>
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: arthur-client
3
- Version: 1.4.1500
3
+ Version: 1.4.1502
4
4
  Summary: Arthur Python API Client Library
5
5
  License: MIT
6
6
  Keywords: api arthur client ArthurAI sdk ml model monitoring
@@ -1,6 +1,6 @@
1
1
  arthur_client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  arthur_client/__version__.py,sha256=s-q1tbKb80MgXByJ0ZY3IK-bWeC7AxqtoU_ZYmsb-qk,25
3
- arthur_client/api_bindings/__init__.py,sha256=2J93CZ45YbQJJ_cjXLr1R17rr5jTZdpor1hN4RWPM4U,27973
3
+ arthur_client/api_bindings/__init__.py,sha256=7m58RZCiK5NwI76udzVHhgUzr3yH-yxKNaoDmq9c88E,28060
4
4
  arthur_client/api_bindings/api/__init__.py,sha256=LUOVle03SD-ZkuW_-wPOHEZTW8kF_VfVPzT8DsFBKIg,2112
5
5
  arthur_client/api_bindings/api/alert_rules_v1_api.py,sha256=6bvhsumFswvhaf9Wik6heiIoYgnqy3foQ8i-K7rJWdQ,77212
6
6
  arthur_client/api_bindings/api/alerts_v1_api.py,sha256=RVP4gZUK70I7rn2B9xSeN3CRJaix3C14BLQAVvVTh2Q,41291
@@ -28,7 +28,7 @@ arthur_client/api_bindings/api/tasks_v1_api.py,sha256=GdUp_E1qreS6gRDIqaX3kVsIhm
28
28
  arthur_client/api_bindings/api/upsolve_v1_api.py,sha256=-cj-huFmC4z9UUmeYZtPA-xC5o-G9r-rteubZjm8lEE,12235
29
29
  arthur_client/api_bindings/api/users_v1_api.py,sha256=Enl-7R0jHBcw9A27Fz15ind1oCzS_grZHtLcjhCeGBs,114525
30
30
  arthur_client/api_bindings/api/webhooks_v1_api.py,sha256=tozDQeQm9dkCxEBotpBOpHsUSrdu2voxJjOsrCHFcLI,71296
31
- arthur_client/api_bindings/api/workspaces_v1_api.py,sha256=D1t3rPLtL90d7w86peDa1nyNZOqBAxpjgF31QTp9q6Q,58662
31
+ arthur_client/api_bindings/api/workspaces_v1_api.py,sha256=un5ak5QH1td9w1wLgmCeftILPaXluUXyUOxbbvac-fU,69388
32
32
  arthur_client/api_bindings/api_client.py,sha256=v_hzWJliSvCmsZ2nzW_yu_GFcRGV_ZuFEJyqd6IOTQo,27544
33
33
  arthur_client/api_bindings/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
34
34
  arthur_client/api_bindings/configuration.py,sha256=fMuF7CsSXY90OPLWc4aySWpKtGtjPCmWUkIH5ARpQGI,15339
@@ -219,7 +219,7 @@ arthur_client/api_bindings/docs/PatchUser.md,sha256=Fcd1053Y23aSfdqZED6IyRnU9ANE
219
219
  arthur_client/api_bindings/docs/PatchWebhook.md,sha256=jHwNOM3SJiLhhbytRcaoEe3jPoMlBRPBxztE3IVQHfI,1002
220
220
  arthur_client/api_bindings/docs/PatchWorkspace.md,sha256=eE29MZcSAT7B-uaqTI0G5J7AWAifqSxAgtOVOd8rVAY,912
221
221
  arthur_client/api_bindings/docs/Permission.md,sha256=EiAeK7f_rgOlGja6RJ4iRtxh9ayDKMWkoU3Pho_GJBo,1070
222
- arthur_client/api_bindings/docs/PermissionName.md,sha256=YatoBBH06dmVkO_tYLNu6fjRN_28A_iQXTXfioftwYg,9492
222
+ arthur_client/api_bindings/docs/PermissionName.md,sha256=cw5DsECvL_fB1AHEGMFP6hkz0gWfeqWfC1rMwWfhFeI,9560
223
223
  arthur_client/api_bindings/docs/PermissionRequestItem.md,sha256=CAxi_zbsM7R9aEEQUOULS4xAnTouK4-bTzD1zu_WDdg,1230
224
224
  arthur_client/api_bindings/docs/PermissionResponseItem.md,sha256=yCRdqfZWrwO7GmmgwCHJmefNTTXWgAVyJhsFI8vUoSE,1332
225
225
  arthur_client/api_bindings/docs/PermissionsRequest.md,sha256=kLsczcoS-LvL3N55hx7mYUkt26Djyo_sI5vymKG7Nco,1119
@@ -354,9 +354,10 @@ arthur_client/api_bindings/docs/WebhookSort.md,sha256=iwKg8Pn5HqqUlT0xVBKWdTFij5
354
354
  arthur_client/api_bindings/docs/WebhooksV1Api.md,sha256=k8qgx78dh6FpMgX2k784i67f2GjH533AjdnXaIqLRss,16951
355
355
  arthur_client/api_bindings/docs/Workspace.md,sha256=G4pN-rx4iU2-sxOhF-1Fp6QbHYrrHsuaSGeNAe9b3x8,1073
356
356
  arthur_client/api_bindings/docs/WorkspaceSort.md,sha256=g2lRzcM9sBnHufImJj3fvRQYgiQRt885iYZc7OkE9Mk,299
357
- arthur_client/api_bindings/docs/WorkspacesV1Api.md,sha256=WM4FbbGbsiekeP2VnFE1Em0gT9-rXb45aBoqPTiBDqI,14011
357
+ arthur_client/api_bindings/docs/WorkspaceStatistics.md,sha256=5ruADrfPaZEej3leLyXw2NZP81HhfAThFTl5Alm54-A,1122
358
+ arthur_client/api_bindings/docs/WorkspacesV1Api.md,sha256=Xll99AbhvBNsmHIgzwfCzG12GRHLB76FRSb3HF9HSb0,16714
358
359
  arthur_client/api_bindings/exceptions.py,sha256=yy0Uot-WkcM6-PbNo2KDnrKAUL_PFmeCTD2tvq_gFp4,5977
359
- arthur_client/api_bindings/models/__init__.py,sha256=nrPUUausPJcXFISi7UdQZj2F28_reMtk602gCLzlnms,25257
360
+ arthur_client/api_bindings/models/__init__.py,sha256=25ovJ6Xt6sIGXQNrHrJAOJCX-0bzXq3ENFZU5L_zWaI,25344
360
361
  arthur_client/api_bindings/models/aggregation_kind.py,sha256=HS-dSt_0CD9T47N_A6wU0BkR1D57zjE24IkwEJqPQVY,765
361
362
  arthur_client/api_bindings/models/aggregation_metric_type.py,sha256=USKpDqhX4TQ4lqIoHOp3q70mydsf1u_zc1EKus9QhYo,783
362
363
  arthur_client/api_bindings/models/aggregation_spec.py,sha256=-MpHK2VeaKjUlbrYMGe1ZMtrqh5lQwdAnoV-LuzPNUw,4825
@@ -524,7 +525,7 @@ arthur_client/api_bindings/models/patch_user.py,sha256=Q_RqYiqCFjWsHfTWK0RqpdKpJ
524
525
  arthur_client/api_bindings/models/patch_webhook.py,sha256=Nck18gezSVXn3Tsn2FgbmaVWvlajrm_rRY1Lt7XKRtU,3571
525
526
  arthur_client/api_bindings/models/patch_workspace.py,sha256=oX4U-aAgTlCZr5Xor8tyZWBZBll5BwgCeqNXyfC4rAc,2530
526
527
  arthur_client/api_bindings/models/permission.py,sha256=w-7TJQxENx0-ydmU_0ur9cP0WcF4hBqggRKbGSlSM-U,3004
527
- arthur_client/api_bindings/models/permission_name.py,sha256=_KbdS73Q4fNghE87uTKUZJT7aut9YxEvklIQo0FW_DU,8616
528
+ arthur_client/api_bindings/models/permission_name.py,sha256=ymtNSxc_tEisrEH8LA6Z-nIpLgEk6Fkoc-2oEdc3ggE,8674
528
529
  arthur_client/api_bindings/models/permission_request_item.py,sha256=eDI23WHf9UHR0MO-Zharyz-nF7M37SxYsHB1vkaQzdI,3086
529
530
  arthur_client/api_bindings/models/permission_response_item.py,sha256=kMBj_O-lse6TUPmjHOiBNX8S9cTSuZrzk24a42Nh4RU,3264
530
531
  arthur_client/api_bindings/models/permissions_request.py,sha256=RNtY39w0PapomLkkoHBLgNWGtgvgV8dodjCFmHqq28Q,3312
@@ -653,6 +654,7 @@ arthur_client/api_bindings/models/webhook_result.py,sha256=FuUQRBWavJj4oG7FMips8
653
654
  arthur_client/api_bindings/models/webhook_sort.py,sha256=9JJMoF_KMMPJrNPXqyL-r4TTTY1VpW7NeZkcJf5CkWA,785
654
655
  arthur_client/api_bindings/models/workspace.py,sha256=wChiUoX8ttdJ33xXUIUxoIGYRf2ro_NUAy5oCW_prhk,3079
655
656
  arthur_client/api_bindings/models/workspace_sort.py,sha256=lcJqTdmUuqPHz0oS_RV5MN3TKi0-GFU0rVLMvqHI2PE,791
657
+ arthur_client/api_bindings/models/workspace_statistics.py,sha256=8F_k52bpHOAF5cpskmrjKkW0heNjnEEc9ig4U7pUg0k,3025
656
658
  arthur_client/api_bindings/rest.py,sha256=us_sthHHXrRAnGdug4ZYIOMOUdjnA44beN36m_mxrPk,9429
657
659
  arthur_client/api_bindings/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
658
660
  arthur_client/api_bindings/test/test_aggregation_kind.py,sha256=kf44B02RF-vSexrTSpP2GmBCF92KB3K-t020mINwJdc,735
@@ -977,14 +979,15 @@ arthur_client/api_bindings/test/test_webhook_sort.py,sha256=w45pfvAZnG5cb0XVOm63
977
979
  arthur_client/api_bindings/test/test_webhooks_v1_api.py,sha256=7x3pb2tZdXbnSAI-wi3FUROEoumaqNKTMJ12hMShWEM,1468
978
980
  arthur_client/api_bindings/test/test_workspace.py,sha256=hDjh6CQ8oHTVk_X3fb_wKVPp_cY9bQFAGmNh7qMKpIw,1918
979
981
  arthur_client/api_bindings/test/test_workspace_sort.py,sha256=PDxv__jzX9VXu54ExqHJTLHRn9XKwGVwYjZ4OdFBmLk,721
980
- arthur_client/api_bindings/test/test_workspaces_v1_api.py,sha256=_EdT96HqIQWQ64Oy11CEP4LqcJhZPB_EYzCYbhceJG0,1345
981
- arthur_client/api_bindings_README.md,sha256=pssWrpx6zhccSO0pmp2kJDaLQbuTT6YUT3IusbL_7AA,54513
982
+ arthur_client/api_bindings/test/test_workspace_statistics.py,sha256=lKE01KGH1A3EgwEY9KRrUCiH8H0FBCBLcgw--8RC6OA,1835
983
+ arthur_client/api_bindings/test/test_workspaces_v1_api.py,sha256=z9bGcDGQyv_iSR3zanVXqD7bV8zXtHzo-QbOmtjWJN0,1508
984
+ arthur_client/api_bindings_README.md,sha256=8WAXmSdc6VF7FtCfEdFyiEB7H-Q35j3k8MF1D5uAVLw,54804
982
985
  arthur_client/auth/__init__.py,sha256=f4XqpGe9d1V0xlocq2JlNtd8l_GUoUOy6_1yTMCBsc0,210
983
986
  arthur_client/auth/constants.py,sha256=lIEdf1UujvAZhueQ8WZGjd3ErcJlCmrXRxjRhTRNb18,38
984
987
  arthur_client/auth/device_authorizer.py,sha256=bJMIZRjkwQwoSWTLEp7OoXM2MytO3ADSD97Qlc1accA,2598
985
988
  arthur_client/auth/discovery.py,sha256=hR0MglzRWHdwyi72If5hTnjO50fDJhquP_DD7OzjIQQ,1188
986
989
  arthur_client/auth/oauth_api_config.py,sha256=MB-bwm6Qo_USZD_4KVId6d_v5OtLBphwBjMjslVjTlo,1348
987
990
  arthur_client/auth/session.py,sha256=wCriib5ajfm1e1WTL_QXVCJmEOrGwQg_0v91e5qrC6g,2649
988
- arthur_client-1.4.1500.dist-info/METADATA,sha256=rqa66Fcc5Iv-IGREefvmEda2HwIjCAQtma0Y9R1pNfw,1730
989
- arthur_client-1.4.1500.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
990
- arthur_client-1.4.1500.dist-info/RECORD,,
991
+ arthur_client-1.4.1502.dist-info/METADATA,sha256=XGNJ0IQ2AYc9rJLVWU6WxCiGzQMH4A_j99mSxkRapsY,1730
992
+ arthur_client-1.4.1502.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
993
+ arthur_client-1.4.1502.dist-info/RECORD,,