h2ogpte 1.6.43rc8__py3-none-any.whl → 1.6.44__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.
h2ogpte/__init__.py CHANGED
@@ -3,7 +3,7 @@ from h2ogpte.h2ogpte import H2OGPTE
3
3
  from h2ogpte.h2ogpte_async import H2OGPTEAsync
4
4
  from h2ogpte.session_async import SessionAsync
5
5
 
6
- __version__ = "1.6.43rc8"
6
+ __version__ = "1.6.44"
7
7
 
8
8
  __all__ = [
9
9
  "H2OGPTE",
h2ogpte/connectors.py CHANGED
@@ -49,22 +49,28 @@ def create_ingest_job_from_cloud_storage(
49
49
  class S3Credential:
50
50
  def __init__(
51
51
  self,
52
- access_key_id: str,
53
- secret_access_key: str,
52
+ access_key_id: str = None,
53
+ secret_access_key: str = None,
54
54
  session_token: str = None,
55
55
  role_arn: str = None,
56
+ external_id: str = None,
57
+ use_irsa: bool = False,
56
58
  ):
57
59
  """
58
60
  Creates an object with S3 credentials.
59
- :param access_key_id: Access Key ID
60
- :param secret_access_key: Secret Access Key
61
+ :param access_key_id: Access Key ID (not required when using IRSA)
62
+ :param secret_access_key: Secret Access Key (not required when using IRSA)
61
63
  :param session_token: Session Token (optional)
62
64
  :param role_arn: Role providing access to the S3 storage
65
+ :param external_id: External ID for cross-account role assumption (optional)
66
+ :param use_irsa: Enable IAM Roles for Service Accounts (IRSA) - set to True to use pod service account
63
67
  """
64
68
  self.access_key_id = access_key_id
65
69
  self.secret_access_key = secret_access_key
66
70
  self.session_token = session_token
67
71
  self.role_arn = role_arn
72
+ self.external_id = external_id
73
+ self.use_irsa = use_irsa
68
74
 
69
75
 
70
76
  def create_ingest_job_from_s3(
h2ogpte/h2ogpte.py CHANGED
@@ -1249,6 +1249,22 @@ class H2OGPTE(H2OGPTESyncBase):
1249
1249
  )
1250
1250
  return collection_id
1251
1251
 
1252
+ def reset_all_collection_expirations(self):
1253
+ """
1254
+ Reset any expiry dates and inactivity intervals that have been set for all collections (admin only). This will also reset any archived collections back to active.
1255
+ """
1256
+
1257
+ header = self._get_auth_header()
1258
+ with self._RESTClient(self) as rest_client:
1259
+ result = _get_result(
1260
+ lambda: _rest_to_client_exceptions(
1261
+ lambda: rest_client.collection_api.reset_all_collection_expirations(
1262
+ _headers=header,
1263
+ )
1264
+ )
1265
+ )
1266
+ return result
1267
+
1252
1268
  def set_collection_size_limit(
1253
1269
  self, collection_id: str, limit: Union[int, str]
1254
1270
  ) -> str:
@@ -6389,6 +6405,22 @@ class H2OGPTE(H2OGPTESyncBase):
6389
6405
  )
6390
6406
  return result
6391
6407
 
6408
+ def remove_permissions_from_role(
6409
+ self, role_id: str, permission_name: str
6410
+ ) -> Result:
6411
+ header = self._get_auth_header()
6412
+ with self._RESTClient(self) as rest_client:
6413
+ result = _get_result(
6414
+ lambda: _rest_to_client_exceptions(
6415
+ lambda: rest_client.permission_api.remove_permission_from_role(
6416
+ role_id=role_id,
6417
+ permission_name=permission_name,
6418
+ _headers=header,
6419
+ )
6420
+ )
6421
+ )
6422
+ return result
6423
+
6392
6424
  def set_global_configuration(
6393
6425
  self,
6394
6426
  key_name: str,
@@ -6927,6 +6959,37 @@ class H2OGPTE(H2OGPTESyncBase):
6927
6959
  )
6928
6960
 
6929
6961
  def add_agent_key(self, agent_keys: List[dict]) -> List[dict]:
6962
+ """Create one or more agent keys for use with agent tools.
6963
+
6964
+ Processes a list of agent key configurations and creates each key.
6965
+ Continues processing remaining keys if individual key creation fails.
6966
+
6967
+ Args:
6968
+ agent_keys: List of key configuration dictionaries.
6969
+
6970
+ Expected structure::
6971
+
6972
+ [
6973
+ {
6974
+ "name": str,
6975
+ # Display name for the key
6976
+
6977
+ "value": str,
6978
+ # The actual key/token value
6979
+
6980
+ "key_type": str,
6981
+ # Type of key ("private" or "shared")
6982
+
6983
+ "description": str,
6984
+ # (Optional) Description of the key's purpose
6985
+ }
6986
+ ]
6987
+
6988
+ Returns:
6989
+ List[dict]: List of created key results. Each successful creation
6990
+ returns {"agent_key_id": str}. Failed creations are logged but
6991
+ don't appear in results.
6992
+ """
6930
6993
  result = []
6931
6994
  header = self._get_auth_header()
6932
6995
  with self._RESTClient(self) as rest_client:
@@ -6993,6 +7056,29 @@ class H2OGPTE(H2OGPTESyncBase):
6993
7056
  def assign_agent_key_for_tool(
6994
7057
  self, tool_dict_list: List[dict]
6995
7058
  ) -> Optional[List[Tuple]]:
7059
+ """Assign agent keys to tools by creating associations between them.
7060
+
7061
+ Args:
7062
+ tool_dict_list: List of dictionaries containing tool association data.
7063
+ Each dictionary should have a "tool_dict" key with the association
7064
+ configuration data for creating agent tool key associations.
7065
+
7066
+ Expected tool_dict structure::
7067
+
7068
+ {
7069
+ "tool": str, # Name of the tool (for example, "test_tool").
7070
+ "keys": list[dict], # List of key definitions. Each item is a dictionary with:
7071
+ # - "name": str
7072
+ # Environment variable name (for example, "TEST_KEY").
7073
+ # - "key_id": Any
7074
+ # Identifier assigned to the key (for example, agent_key_id).
7075
+ }
7076
+
7077
+ Returns:
7078
+ Optional[List[Tuple]]: List of tuples containing association details.
7079
+ Each tuple contains (associate_id, tool, key_name, key_id, user_id).
7080
+ Returns None if no associations were created.
7081
+ """
6996
7082
  result = []
6997
7083
  header = self._get_auth_header()
6998
7084
  with self._RESTClient(self) as rest_client:
h2ogpte/h2ogpte_async.py CHANGED
@@ -1449,6 +1449,22 @@ class H2OGPTEAsync:
1449
1449
  )
1450
1450
  return collection_id
1451
1451
 
1452
+ async def reset_all_collection_expirations(self):
1453
+ """
1454
+ Reset any expiry dates and inactivity intervals that have been set for all collections (admin only). This will also reset any archived collections back to active.
1455
+ """
1456
+
1457
+ header = await self._get_auth_header()
1458
+ async with self._RESTClient(self) as rest_client:
1459
+ result = _get_result(
1460
+ await _rest_to_client_exceptions(
1461
+ rest_client.collection_api.reset_all_collection_expirations(
1462
+ _headers=header,
1463
+ )
1464
+ )
1465
+ )
1466
+ return result
1467
+
1452
1468
  async def set_collection_size_limit(
1453
1469
  self, collection_id: str, limit: Union[int, str]
1454
1470
  ) -> str:
@@ -6650,6 +6666,22 @@ class H2OGPTEAsync:
6650
6666
  )
6651
6667
  return result
6652
6668
 
6669
+ async def remove_permissions_from_role(
6670
+ self, role_id: str, permission_name: str
6671
+ ) -> Result:
6672
+ header = await self._get_auth_header()
6673
+ async with self._RESTClient(self) as rest_client:
6674
+ result = await _get_result(
6675
+ _rest_to_client_exceptions(
6676
+ rest_client.permission_api.remove_permission_from_role(
6677
+ role_id=role_id,
6678
+ permission_name=permission_name,
6679
+ _headers=header,
6680
+ )
6681
+ )
6682
+ )
6683
+ return result
6684
+
6653
6685
  async def set_global_configuration(
6654
6686
  self,
6655
6687
  key_name: str,
@@ -7184,6 +7216,37 @@ class H2OGPTEAsync:
7184
7216
  )
7185
7217
 
7186
7218
  async def add_agent_key(self, agent_keys: List[dict]) -> List[dict]:
7219
+ """Create one or more agent keys for use with agent tools.
7220
+
7221
+ Processes a list of agent key configurations and creates each key.
7222
+ Continues processing remaining keys if individual key creation fails.
7223
+
7224
+ Args:
7225
+ agent_keys: List of key configuration dictionaries.
7226
+
7227
+ Expected structure::
7228
+
7229
+ [
7230
+ {
7231
+ "name": str,
7232
+ # Display name for the key
7233
+
7234
+ "value": str,
7235
+ # The actual key/token value
7236
+
7237
+ "key_type": str,
7238
+ # Type of key ("private" or "shared")
7239
+
7240
+ "description": str,
7241
+ # (Optional) Description of the key's purpose
7242
+ }
7243
+ ]
7244
+
7245
+ Returns:
7246
+ List[dict]: List of created key results. Each successful creation
7247
+ returns {"agent_key_id": str}. Failed creations are logged but
7248
+ don't appear in results.
7249
+ """
7187
7250
  result = []
7188
7251
  header = await self._get_auth_header()
7189
7252
  async with self._RESTClient(self) as rest_client:
@@ -7250,6 +7313,29 @@ class H2OGPTEAsync:
7250
7313
  async def assign_agent_key_for_tool(
7251
7314
  self, tool_dict_list: List[dict]
7252
7315
  ) -> Optional[List[Tuple]]:
7316
+ """Assign agent keys to tools by creating associations between them.
7317
+
7318
+ Args:
7319
+ tool_dict_list: List of dictionaries containing tool association data.
7320
+ Each dictionary should have a "tool_dict" key with the association
7321
+ configuration data for creating agent tool key associations.
7322
+
7323
+ Expected tool_dict structure::
7324
+
7325
+ {
7326
+ "tool": str, # Name of the tool (for example, "test_tool").
7327
+ "keys": list[dict], # List of key definitions. Each item is a dictionary with:
7328
+ # - "name": str
7329
+ # Environment variable name (for example, "TEST_KEY").
7330
+ # - "key_id": Any
7331
+ # Identifier assigned to the key (for example, agent_key_id).
7332
+ }
7333
+
7334
+ Returns:
7335
+ Optional[List[Tuple]]: List of tuples containing association details.
7336
+ Each tuple contains (associate_id, tool, key_name, key_id, user_id).
7337
+ Returns None if no associations were created.
7338
+ """
7253
7339
  result = []
7254
7340
  header = await self._get_auth_header()
7255
7341
  async with self._RESTClient(self) as rest_client:
@@ -14,7 +14,7 @@
14
14
  """ # noqa: E501
15
15
 
16
16
 
17
- __version__ = "1.6.43-dev8"
17
+ __version__ = "1.6.44"
18
18
 
19
19
  # import apis into sdk package
20
20
  from h2ogpte.rest_async.api.api_keys_api import APIKeysApi
@@ -9559,6 +9559,255 @@ class CollectionsApi:
9559
9559
 
9560
9560
 
9561
9561
 
9562
+ @validate_call
9563
+ async def reset_all_collection_expirations(
9564
+ self,
9565
+ _request_timeout: Union[
9566
+ None,
9567
+ Annotated[StrictFloat, Field(gt=0)],
9568
+ Tuple[
9569
+ Annotated[StrictFloat, Field(gt=0)],
9570
+ Annotated[StrictFloat, Field(gt=0)]
9571
+ ]
9572
+ ] = None,
9573
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
9574
+ _content_type: Optional[StrictStr] = None,
9575
+ _headers: Optional[Dict[StrictStr, Any]] = None,
9576
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
9577
+ ) -> None:
9578
+ """Reset all collection expiry dates and inactivity intervals that have been set.
9579
+
9580
+ Reset any expiry dates and inactivity intervals that have been set for all collections (admin only). This will also reset any archived collections back to active.
9581
+
9582
+ :param _request_timeout: timeout setting for this request. If one
9583
+ number provided, it will be total request
9584
+ timeout. It can also be a pair (tuple) of
9585
+ (connection, read) timeouts.
9586
+ :type _request_timeout: int, tuple(int, int), optional
9587
+ :param _request_auth: set to override the auth_settings for an a single
9588
+ request; this effectively ignores the
9589
+ authentication in the spec for a single request.
9590
+ :type _request_auth: dict, optional
9591
+ :param _content_type: force content-type for the request.
9592
+ :type _content_type: str, Optional
9593
+ :param _headers: set to override the headers for a single
9594
+ request; this effectively ignores the headers
9595
+ in the spec for a single request.
9596
+ :type _headers: dict, optional
9597
+ :param _host_index: set to override the host_index for a single
9598
+ request; this effectively ignores the host_index
9599
+ in the spec for a single request.
9600
+ :type _host_index: int, optional
9601
+ :return: Returns the result object.
9602
+ """ # noqa: E501
9603
+
9604
+ _param = self._reset_all_collection_expirations_serialize(
9605
+ _request_auth=_request_auth,
9606
+ _content_type=_content_type,
9607
+ _headers=_headers,
9608
+ _host_index=_host_index
9609
+ )
9610
+
9611
+ _response_types_map: Dict[str, Optional[str]] = {
9612
+ '204': None,
9613
+ '401': "EndpointError",
9614
+ }
9615
+ response_data = await self.api_client.call_api(
9616
+ *_param,
9617
+ _request_timeout=_request_timeout
9618
+ )
9619
+ await response_data.read()
9620
+ return self.api_client.response_deserialize(
9621
+ response_data=response_data,
9622
+ response_types_map=_response_types_map,
9623
+ ).data
9624
+
9625
+
9626
+ @validate_call
9627
+ async def reset_all_collection_expirations_with_http_info(
9628
+ self,
9629
+ _request_timeout: Union[
9630
+ None,
9631
+ Annotated[StrictFloat, Field(gt=0)],
9632
+ Tuple[
9633
+ Annotated[StrictFloat, Field(gt=0)],
9634
+ Annotated[StrictFloat, Field(gt=0)]
9635
+ ]
9636
+ ] = None,
9637
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
9638
+ _content_type: Optional[StrictStr] = None,
9639
+ _headers: Optional[Dict[StrictStr, Any]] = None,
9640
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
9641
+ ) -> ApiResponse[None]:
9642
+ """Reset all collection expiry dates and inactivity intervals that have been set.
9643
+
9644
+ Reset any expiry dates and inactivity intervals that have been set for all collections (admin only). This will also reset any archived collections back to active.
9645
+
9646
+ :param _request_timeout: timeout setting for this request. If one
9647
+ number provided, it will be total request
9648
+ timeout. It can also be a pair (tuple) of
9649
+ (connection, read) timeouts.
9650
+ :type _request_timeout: int, tuple(int, int), optional
9651
+ :param _request_auth: set to override the auth_settings for an a single
9652
+ request; this effectively ignores the
9653
+ authentication in the spec for a single request.
9654
+ :type _request_auth: dict, optional
9655
+ :param _content_type: force content-type for the request.
9656
+ :type _content_type: str, Optional
9657
+ :param _headers: set to override the headers for a single
9658
+ request; this effectively ignores the headers
9659
+ in the spec for a single request.
9660
+ :type _headers: dict, optional
9661
+ :param _host_index: set to override the host_index for a single
9662
+ request; this effectively ignores the host_index
9663
+ in the spec for a single request.
9664
+ :type _host_index: int, optional
9665
+ :return: Returns the result object.
9666
+ """ # noqa: E501
9667
+
9668
+ _param = self._reset_all_collection_expirations_serialize(
9669
+ _request_auth=_request_auth,
9670
+ _content_type=_content_type,
9671
+ _headers=_headers,
9672
+ _host_index=_host_index
9673
+ )
9674
+
9675
+ _response_types_map: Dict[str, Optional[str]] = {
9676
+ '204': None,
9677
+ '401': "EndpointError",
9678
+ }
9679
+ response_data = await self.api_client.call_api(
9680
+ *_param,
9681
+ _request_timeout=_request_timeout
9682
+ )
9683
+ await response_data.read()
9684
+ return self.api_client.response_deserialize(
9685
+ response_data=response_data,
9686
+ response_types_map=_response_types_map,
9687
+ )
9688
+
9689
+
9690
+ @validate_call
9691
+ async def reset_all_collection_expirations_without_preload_content(
9692
+ self,
9693
+ _request_timeout: Union[
9694
+ None,
9695
+ Annotated[StrictFloat, Field(gt=0)],
9696
+ Tuple[
9697
+ Annotated[StrictFloat, Field(gt=0)],
9698
+ Annotated[StrictFloat, Field(gt=0)]
9699
+ ]
9700
+ ] = None,
9701
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
9702
+ _content_type: Optional[StrictStr] = None,
9703
+ _headers: Optional[Dict[StrictStr, Any]] = None,
9704
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
9705
+ ) -> RESTResponseType:
9706
+ """Reset all collection expiry dates and inactivity intervals that have been set.
9707
+
9708
+ Reset any expiry dates and inactivity intervals that have been set for all collections (admin only). This will also reset any archived collections back to active.
9709
+
9710
+ :param _request_timeout: timeout setting for this request. If one
9711
+ number provided, it will be total request
9712
+ timeout. It can also be a pair (tuple) of
9713
+ (connection, read) timeouts.
9714
+ :type _request_timeout: int, tuple(int, int), optional
9715
+ :param _request_auth: set to override the auth_settings for an a single
9716
+ request; this effectively ignores the
9717
+ authentication in the spec for a single request.
9718
+ :type _request_auth: dict, optional
9719
+ :param _content_type: force content-type for the request.
9720
+ :type _content_type: str, Optional
9721
+ :param _headers: set to override the headers for a single
9722
+ request; this effectively ignores the headers
9723
+ in the spec for a single request.
9724
+ :type _headers: dict, optional
9725
+ :param _host_index: set to override the host_index for a single
9726
+ request; this effectively ignores the host_index
9727
+ in the spec for a single request.
9728
+ :type _host_index: int, optional
9729
+ :return: Returns the result object.
9730
+ """ # noqa: E501
9731
+
9732
+ _param = self._reset_all_collection_expirations_serialize(
9733
+ _request_auth=_request_auth,
9734
+ _content_type=_content_type,
9735
+ _headers=_headers,
9736
+ _host_index=_host_index
9737
+ )
9738
+
9739
+ _response_types_map: Dict[str, Optional[str]] = {
9740
+ '204': None,
9741
+ '401': "EndpointError",
9742
+ }
9743
+ response_data = await self.api_client.call_api(
9744
+ *_param,
9745
+ _request_timeout=_request_timeout
9746
+ )
9747
+ return response_data.response
9748
+
9749
+
9750
+ def _reset_all_collection_expirations_serialize(
9751
+ self,
9752
+ _request_auth,
9753
+ _content_type,
9754
+ _headers,
9755
+ _host_index,
9756
+ ) -> RequestSerialized:
9757
+
9758
+ _host = None
9759
+
9760
+ _collection_formats: Dict[str, str] = {
9761
+ }
9762
+
9763
+ _path_params: Dict[str, str] = {}
9764
+ _query_params: List[Tuple[str, str]] = []
9765
+ _header_params: Dict[str, Optional[str]] = _headers or {}
9766
+ _form_params: List[Tuple[str, str]] = []
9767
+ _files: Dict[
9768
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
9769
+ ] = {}
9770
+ _body_params: Optional[bytes] = None
9771
+
9772
+ # process the path parameters
9773
+ # process the query parameters
9774
+ # process the header parameters
9775
+ # process the form parameters
9776
+ # process the body parameter
9777
+
9778
+
9779
+ # set the HTTP header `Accept`
9780
+ if 'Accept' not in _header_params:
9781
+ _header_params['Accept'] = self.api_client.select_header_accept(
9782
+ [
9783
+ 'application/json'
9784
+ ]
9785
+ )
9786
+
9787
+
9788
+ # authentication setting
9789
+ _auth_settings: List[str] = [
9790
+ 'bearerAuth'
9791
+ ]
9792
+
9793
+ return self.api_client.param_serialize(
9794
+ method='POST',
9795
+ resource_path='/collections/reset_all_collection_expirations',
9796
+ path_params=_path_params,
9797
+ query_params=_query_params,
9798
+ header_params=_header_params,
9799
+ body=_body_params,
9800
+ post_params=_form_params,
9801
+ files=_files,
9802
+ auth_settings=_auth_settings,
9803
+ collection_formats=_collection_formats,
9804
+ _host=_host,
9805
+ _request_auth=_request_auth
9806
+ )
9807
+
9808
+
9809
+
9810
+
9562
9811
  @validate_call
9563
9812
  async def reset_collection_prompt_settings(
9564
9813
  self,
@@ -7082,7 +7082,7 @@ class PermissionsApi:
7082
7082
  @validate_call
7083
7083
  async def remove_permission_from_role(
7084
7084
  self,
7085
- role_id: Annotated[StrictStr, Field(description="The unique identifier of an user.")],
7085
+ role_id: Annotated[StrictStr, Field(description="The unique identifier of the role.")],
7086
7086
  permission_name: Annotated[StrictStr, Field(description="The permission name.")],
7087
7087
  _request_timeout: Union[
7088
7088
  None,
@@ -7101,7 +7101,7 @@ class PermissionsApi:
7101
7101
 
7102
7102
  Removes permission from a given role.
7103
7103
 
7104
- :param role_id: The unique identifier of an user. (required)
7104
+ :param role_id: The unique identifier of the role. (required)
7105
7105
  :type role_id: str
7106
7106
  :param permission_name: The permission name. (required)
7107
7107
  :type permission_name: str
@@ -7155,7 +7155,7 @@ class PermissionsApi:
7155
7155
  @validate_call
7156
7156
  async def remove_permission_from_role_with_http_info(
7157
7157
  self,
7158
- role_id: Annotated[StrictStr, Field(description="The unique identifier of an user.")],
7158
+ role_id: Annotated[StrictStr, Field(description="The unique identifier of the role.")],
7159
7159
  permission_name: Annotated[StrictStr, Field(description="The permission name.")],
7160
7160
  _request_timeout: Union[
7161
7161
  None,
@@ -7174,7 +7174,7 @@ class PermissionsApi:
7174
7174
 
7175
7175
  Removes permission from a given role.
7176
7176
 
7177
- :param role_id: The unique identifier of an user. (required)
7177
+ :param role_id: The unique identifier of the role. (required)
7178
7178
  :type role_id: str
7179
7179
  :param permission_name: The permission name. (required)
7180
7180
  :type permission_name: str
@@ -7228,7 +7228,7 @@ class PermissionsApi:
7228
7228
  @validate_call
7229
7229
  async def remove_permission_from_role_without_preload_content(
7230
7230
  self,
7231
- role_id: Annotated[StrictStr, Field(description="The unique identifier of an user.")],
7231
+ role_id: Annotated[StrictStr, Field(description="The unique identifier of the role.")],
7232
7232
  permission_name: Annotated[StrictStr, Field(description="The permission name.")],
7233
7233
  _request_timeout: Union[
7234
7234
  None,
@@ -7247,7 +7247,7 @@ class PermissionsApi:
7247
7247
 
7248
7248
  Removes permission from a given role.
7249
7249
 
7250
- :param role_id: The unique identifier of an user. (required)
7250
+ :param role_id: The unique identifier of the role. (required)
7251
7251
  :type role_id: str
7252
7252
  :param permission_name: The permission name. (required)
7253
7253
  :type permission_name: str
@@ -90,7 +90,7 @@ class ApiClient:
90
90
  self.default_headers[header_name] = header_value
91
91
  self.cookie = cookie
92
92
  # Set default User-Agent.
93
- self.user_agent = 'OpenAPI-Generator/1.6.43-dev8/python'
93
+ self.user_agent = 'OpenAPI-Generator/1.6.44/python'
94
94
  self.client_side_validation = configuration.client_side_validation
95
95
 
96
96
  async def __aenter__(self):
@@ -499,7 +499,7 @@ class Configuration:
499
499
  "OS: {env}\n"\
500
500
  "Python Version: {pyversion}\n"\
501
501
  "Version of the API: v1.0.0\n"\
502
- "SDK Package Version: 1.6.43-dev8".\
502
+ "SDK Package Version: 1.6.44".\
503
503
  format(env=sys.platform, pyversion=sys.version)
504
504
 
505
505
  def get_host_settings(self) -> List[HostSetting]:
@@ -32,7 +32,11 @@ class GlobalConfigurationItem(BaseModel):
32
32
  can_overwrite: StrictBool
33
33
  upper_bound: Optional[Union[StrictFloat, StrictInt]] = None
34
34
  is_public: StrictBool
35
- __properties: ClassVar[List[str]] = ["key_name", "string_value", "value_type", "can_overwrite", "upper_bound", "is_public"]
35
+ is_read_only: Optional[StrictBool] = None
36
+ is_encrypted: Optional[StrictBool] = None
37
+ description: Optional[StrictStr] = None
38
+ category: Optional[StrictStr] = None
39
+ __properties: ClassVar[List[str]] = ["key_name", "string_value", "value_type", "can_overwrite", "upper_bound", "is_public", "is_read_only", "is_encrypted", "description", "category"]
36
40
 
37
41
  model_config = ConfigDict(
38
42
  populate_by_name=True,
@@ -90,7 +94,11 @@ class GlobalConfigurationItem(BaseModel):
90
94
  "value_type": obj.get("value_type"),
91
95
  "can_overwrite": obj.get("can_overwrite"),
92
96
  "upper_bound": obj.get("upper_bound"),
93
- "is_public": obj.get("is_public")
97
+ "is_public": obj.get("is_public"),
98
+ "is_read_only": obj.get("is_read_only"),
99
+ "is_encrypted": obj.get("is_encrypted"),
100
+ "description": obj.get("description"),
101
+ "category": obj.get("category")
94
102
  })
95
103
  return _obj
96
104