neurograph-core 1.202508112256__py3-none-any.whl → 1.202508201827__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.
- neurograph/v1/__init__.py +38 -20
- neurograph/v1/api/__init__.py +1 -1
- neurograph/v1/api/authentication_api.py +36 -8
- neurograph/v1/api/client_api.py +62 -56
- neurograph/v1/api/client_metadata_api.py +305 -19
- neurograph/v1/api/dagster_api.py +306 -0
- neurograph/v1/api/lookup_api.py +2 -0
- neurograph/v1/api/organization_api.py +257 -252
- neurograph/v1/api/organization_metadata_api.py +22 -19
- neurograph/v1/api/persona_api.py +1249 -135
- neurograph/v1/api/tasks_api.py +1 -0
- neurograph/v1/api/workbench_api.py +6 -3
- neurograph/v1/models/__init__.py +18 -9
- neurograph/v1/models/auth_test_service_token_request.py +87 -0
- neurograph/v1/models/client_client.py +4 -4
- neurograph/v1/models/client_client_upsert_request.py +95 -0
- neurograph/v1/models/client_client_upsert_response.py +111 -0
- neurograph/v1/models/client_client_url_upsert_request.py +4 -4
- neurograph/v1/models/client_client_url_upsert_response.py +14 -7
- neurograph/v1/models/client_client_urls_response.py +1 -1
- neurograph/v1/models/client_kpi.py +1 -1
- neurograph/v1/models/client_metadata.py +3 -3
- neurograph/v1/models/client_persona.py +4 -4
- neurograph/v1/models/client_persona_factor.py +1 -1
- neurograph/v1/models/client_persona_personality_trait.py +1 -1
- neurograph/v1/models/client_query.py +1 -1
- neurograph/v1/models/dagster_dagster_log_create_request.py +93 -0
- neurograph/v1/models/dagster_dagster_log_create_response.py +91 -0
- neurograph/v1/models/db_client_url.py +14 -7
- neurograph/v1/models/db_persona_factor_create_params.py +1 -1
- neurograph/v1/models/organizations_brand_detail_response.py +2 -2
- neurograph/v1/models/organizations_brand_upsert_request.py +2 -2
- neurograph/v1/models/organizations_metadata.py +3 -3
- neurograph/v1/models/organizations_organization.py +1 -1
- neurograph/v1/models/organizations_organization_detail_response.py +2 -8
- neurograph/v1/models/organizations_organization_set_workbench_request.py +10 -10
- neurograph/v1/models/organizations_organization_set_workbench_response.py +13 -11
- neurograph/v1/models/organizations_organization_update_request.py +4 -4
- neurograph/v1/models/organizations_workbench_config.py +13 -11
- neurograph/v1/models/personas_delete_many_persona_instances_request.py +87 -0
- neurograph/v1/models/personas_kpi.py +93 -0
- neurograph/v1/models/personas_match_criteria_row.py +1 -1
- neurograph/v1/models/personas_match_criteria_row_in.py +2 -2
- neurograph/v1/models/personas_persona.py +171 -0
- neurograph/v1/models/personas_persona_factor.py +2 -4
- neurograph/v1/models/personas_persona_factor_create_response.py +3 -3
- neurograph/v1/models/personas_persona_factor_resp.py +101 -0
- neurograph/v1/models/personas_persona_insight.py +93 -0
- neurograph/v1/models/personas_persona_insight_create_request.py +2 -2
- neurograph/v1/models/personas_persona_insight_create_response.py +1 -1
- neurograph/v1/models/personas_persona_instance_create_request.py +1 -1
- neurograph/v1/models/personas_persona_instance_create_response.py +2 -2
- neurograph/v1/models/personas_persona_instances_delete_response.py +89 -0
- neurograph/v1/models/personas_persona_instances_response.py +103 -0
- neurograph/v1/models/personas_persona_kpi_req.py +2 -2
- neurograph/v1/models/personas_persona_kpi_resp.py +1 -1
- neurograph/v1/models/personas_persona_personality_trait.py +93 -0
- neurograph/v1/models/personas_persona_seed_create_request.py +2 -2
- neurograph/v1/models/personas_persona_seed_create_response.py +3 -3
- neurograph/v1/models/personas_persona_seed_get_many_response.py +105 -0
- neurograph/v1/models/personas_persona_seeds_delete_request.py +87 -0
- neurograph/v1/models/personas_persona_seeds_delete_response.py +89 -0
- neurograph/v1/models/personas_personality_trait_in.py +2 -2
- neurograph/v1/models/personas_personality_trait_out.py +1 -1
- neurograph/v1/models/pgtype_infinity_modifier.py +38 -0
- neurograph/v1/models/pgtype_timestamp.py +92 -0
- neurograph/v1/models/workbench_workbench_version.py +3 -3
- neurograph/v1/models/workbench_workbench_version_response.py +3 -3
- neurograph/v1/models/workbench_workbench_version_upsert_request.py +2 -2
- {neurograph_core-1.202508112256.dist-info → neurograph_core-1.202508201827.dist-info}/METADATA +2 -2
- {neurograph_core-1.202508112256.dist-info → neurograph_core-1.202508201827.dist-info}/RECORD +73 -54
- {neurograph_core-1.202508112256.dist-info → neurograph_core-1.202508201827.dist-info}/WHEEL +0 -0
- {neurograph_core-1.202508112256.dist-info → neurograph_core-1.202508201827.dist-info}/top_level.txt +0 -0
|
@@ -16,7 +16,7 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
|
16
16
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
17
17
|
from typing_extensions import Annotated
|
|
18
18
|
|
|
19
|
-
from pydantic import Field,
|
|
19
|
+
from pydantic import Field, StrictStr
|
|
20
20
|
from typing_extensions import Annotated
|
|
21
21
|
from neurograph.v1.models.client_client_metadata_request import ClientClientMetadataRequest
|
|
22
22
|
from neurograph.v1.models.client_client_metadata_response import ClientClientMetadataResponse
|
|
@@ -43,7 +43,7 @@ class ClientMetadataApi:
|
|
|
43
43
|
@validate_call
|
|
44
44
|
def api_v1_client_metadata_client_id_delete(
|
|
45
45
|
self,
|
|
46
|
-
client_id: Annotated[
|
|
46
|
+
client_id: Annotated[StrictStr, Field(description="Client ID")],
|
|
47
47
|
request: Annotated[ClientDeleteMetadataRequest, Field(description="Body")],
|
|
48
48
|
_request_timeout: Union[
|
|
49
49
|
None,
|
|
@@ -63,7 +63,7 @@ class ClientMetadataApi:
|
|
|
63
63
|
Delete's the given row and returns the remaining metadata
|
|
64
64
|
|
|
65
65
|
:param client_id: Client ID (required)
|
|
66
|
-
:type client_id:
|
|
66
|
+
:type client_id: str
|
|
67
67
|
:param request: Body (required)
|
|
68
68
|
:type request: ClientDeleteMetadataRequest
|
|
69
69
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -116,7 +116,7 @@ class ClientMetadataApi:
|
|
|
116
116
|
@validate_call
|
|
117
117
|
def api_v1_client_metadata_client_id_delete_with_http_info(
|
|
118
118
|
self,
|
|
119
|
-
client_id: Annotated[
|
|
119
|
+
client_id: Annotated[StrictStr, Field(description="Client ID")],
|
|
120
120
|
request: Annotated[ClientDeleteMetadataRequest, Field(description="Body")],
|
|
121
121
|
_request_timeout: Union[
|
|
122
122
|
None,
|
|
@@ -136,7 +136,7 @@ class ClientMetadataApi:
|
|
|
136
136
|
Delete's the given row and returns the remaining metadata
|
|
137
137
|
|
|
138
138
|
:param client_id: Client ID (required)
|
|
139
|
-
:type client_id:
|
|
139
|
+
:type client_id: str
|
|
140
140
|
:param request: Body (required)
|
|
141
141
|
:type request: ClientDeleteMetadataRequest
|
|
142
142
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -189,7 +189,7 @@ class ClientMetadataApi:
|
|
|
189
189
|
@validate_call
|
|
190
190
|
def api_v1_client_metadata_client_id_delete_without_preload_content(
|
|
191
191
|
self,
|
|
192
|
-
client_id: Annotated[
|
|
192
|
+
client_id: Annotated[StrictStr, Field(description="Client ID")],
|
|
193
193
|
request: Annotated[ClientDeleteMetadataRequest, Field(description="Body")],
|
|
194
194
|
_request_timeout: Union[
|
|
195
195
|
None,
|
|
@@ -209,7 +209,7 @@ class ClientMetadataApi:
|
|
|
209
209
|
Delete's the given row and returns the remaining metadata
|
|
210
210
|
|
|
211
211
|
:param client_id: Client ID (required)
|
|
212
|
-
:type client_id:
|
|
212
|
+
:type client_id: str
|
|
213
213
|
:param request: Body (required)
|
|
214
214
|
:type request: ClientDeleteMetadataRequest
|
|
215
215
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -301,6 +301,7 @@ class ClientMetadataApi:
|
|
|
301
301
|
|
|
302
302
|
# authentication setting
|
|
303
303
|
_auth_settings: List[str] = [
|
|
304
|
+
'TokenAuth',
|
|
304
305
|
'ApiKeyAuth'
|
|
305
306
|
]
|
|
306
307
|
|
|
@@ -325,7 +326,7 @@ class ClientMetadataApi:
|
|
|
325
326
|
@validate_call
|
|
326
327
|
def api_v1_client_metadata_client_id_get(
|
|
327
328
|
self,
|
|
328
|
-
client_id: Annotated[
|
|
329
|
+
client_id: Annotated[StrictStr, Field(description="Client ID")],
|
|
329
330
|
_request_timeout: Union[
|
|
330
331
|
None,
|
|
331
332
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -344,7 +345,7 @@ class ClientMetadataApi:
|
|
|
344
345
|
Returns all metadata for a given client ID
|
|
345
346
|
|
|
346
347
|
:param client_id: Client ID (required)
|
|
347
|
-
:type client_id:
|
|
348
|
+
:type client_id: str
|
|
348
349
|
:param _request_timeout: timeout setting for this request. If one
|
|
349
350
|
number provided, it will be total request
|
|
350
351
|
timeout. It can also be a pair (tuple) of
|
|
@@ -394,7 +395,7 @@ class ClientMetadataApi:
|
|
|
394
395
|
@validate_call
|
|
395
396
|
def api_v1_client_metadata_client_id_get_with_http_info(
|
|
396
397
|
self,
|
|
397
|
-
client_id: Annotated[
|
|
398
|
+
client_id: Annotated[StrictStr, Field(description="Client ID")],
|
|
398
399
|
_request_timeout: Union[
|
|
399
400
|
None,
|
|
400
401
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -413,7 +414,7 @@ class ClientMetadataApi:
|
|
|
413
414
|
Returns all metadata for a given client ID
|
|
414
415
|
|
|
415
416
|
:param client_id: Client ID (required)
|
|
416
|
-
:type client_id:
|
|
417
|
+
:type client_id: str
|
|
417
418
|
:param _request_timeout: timeout setting for this request. If one
|
|
418
419
|
number provided, it will be total request
|
|
419
420
|
timeout. It can also be a pair (tuple) of
|
|
@@ -463,7 +464,7 @@ class ClientMetadataApi:
|
|
|
463
464
|
@validate_call
|
|
464
465
|
def api_v1_client_metadata_client_id_get_without_preload_content(
|
|
465
466
|
self,
|
|
466
|
-
client_id: Annotated[
|
|
467
|
+
client_id: Annotated[StrictStr, Field(description="Client ID")],
|
|
467
468
|
_request_timeout: Union[
|
|
468
469
|
None,
|
|
469
470
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -482,7 +483,7 @@ class ClientMetadataApi:
|
|
|
482
483
|
Returns all metadata for a given client ID
|
|
483
484
|
|
|
484
485
|
:param client_id: Client ID (required)
|
|
485
|
-
:type client_id:
|
|
486
|
+
:type client_id: str
|
|
486
487
|
:param _request_timeout: timeout setting for this request. If one
|
|
487
488
|
number provided, it will be total request
|
|
488
489
|
timeout. It can also be a pair (tuple) of
|
|
@@ -568,6 +569,7 @@ class ClientMetadataApi:
|
|
|
568
569
|
|
|
569
570
|
# authentication setting
|
|
570
571
|
_auth_settings: List[str] = [
|
|
572
|
+
'TokenAuth',
|
|
571
573
|
'ApiKeyAuth'
|
|
572
574
|
]
|
|
573
575
|
|
|
@@ -592,7 +594,7 @@ class ClientMetadataApi:
|
|
|
592
594
|
@validate_call
|
|
593
595
|
def api_v1_client_metadata_client_id_post(
|
|
594
596
|
self,
|
|
595
|
-
client_id: Annotated[
|
|
597
|
+
client_id: Annotated[StrictStr, Field(description="Client ID")],
|
|
596
598
|
request: Annotated[ClientClientMetadataRequest, Field(description="Body")],
|
|
597
599
|
_request_timeout: Union[
|
|
598
600
|
None,
|
|
@@ -612,7 +614,7 @@ class ClientMetadataApi:
|
|
|
612
614
|
Returns all of the client's urls for the given client id
|
|
613
615
|
|
|
614
616
|
:param client_id: Client ID (required)
|
|
615
|
-
:type client_id:
|
|
617
|
+
:type client_id: str
|
|
616
618
|
:param request: Body (required)
|
|
617
619
|
:type request: ClientClientMetadataRequest
|
|
618
620
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -665,7 +667,7 @@ class ClientMetadataApi:
|
|
|
665
667
|
@validate_call
|
|
666
668
|
def api_v1_client_metadata_client_id_post_with_http_info(
|
|
667
669
|
self,
|
|
668
|
-
client_id: Annotated[
|
|
670
|
+
client_id: Annotated[StrictStr, Field(description="Client ID")],
|
|
669
671
|
request: Annotated[ClientClientMetadataRequest, Field(description="Body")],
|
|
670
672
|
_request_timeout: Union[
|
|
671
673
|
None,
|
|
@@ -685,7 +687,7 @@ class ClientMetadataApi:
|
|
|
685
687
|
Returns all of the client's urls for the given client id
|
|
686
688
|
|
|
687
689
|
:param client_id: Client ID (required)
|
|
688
|
-
:type client_id:
|
|
690
|
+
:type client_id: str
|
|
689
691
|
:param request: Body (required)
|
|
690
692
|
:type request: ClientClientMetadataRequest
|
|
691
693
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -738,7 +740,7 @@ class ClientMetadataApi:
|
|
|
738
740
|
@validate_call
|
|
739
741
|
def api_v1_client_metadata_client_id_post_without_preload_content(
|
|
740
742
|
self,
|
|
741
|
-
client_id: Annotated[
|
|
743
|
+
client_id: Annotated[StrictStr, Field(description="Client ID")],
|
|
742
744
|
request: Annotated[ClientClientMetadataRequest, Field(description="Body")],
|
|
743
745
|
_request_timeout: Union[
|
|
744
746
|
None,
|
|
@@ -758,7 +760,7 @@ class ClientMetadataApi:
|
|
|
758
760
|
Returns all of the client's urls for the given client id
|
|
759
761
|
|
|
760
762
|
:param client_id: Client ID (required)
|
|
761
|
-
:type client_id:
|
|
763
|
+
:type client_id: str
|
|
762
764
|
:param request: Body (required)
|
|
763
765
|
:type request: ClientClientMetadataRequest
|
|
764
766
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -850,6 +852,7 @@ class ClientMetadataApi:
|
|
|
850
852
|
|
|
851
853
|
# authentication setting
|
|
852
854
|
_auth_settings: List[str] = [
|
|
855
|
+
'TokenAuth',
|
|
853
856
|
'ApiKeyAuth'
|
|
854
857
|
]
|
|
855
858
|
|
|
@@ -869,3 +872,286 @@ class ClientMetadataApi:
|
|
|
869
872
|
)
|
|
870
873
|
|
|
871
874
|
|
|
875
|
+
|
|
876
|
+
|
|
877
|
+
@validate_call
|
|
878
|
+
def api_v1_client_metadata_org_uid_client_uid_get(
|
|
879
|
+
self,
|
|
880
|
+
org_uid: Annotated[StrictStr, Field(description="Organization UID")],
|
|
881
|
+
client_uid: Annotated[StrictStr, Field(description="Client UID")],
|
|
882
|
+
_request_timeout: Union[
|
|
883
|
+
None,
|
|
884
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
885
|
+
Tuple[
|
|
886
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
887
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
888
|
+
]
|
|
889
|
+
] = None,
|
|
890
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
891
|
+
_content_type: Optional[StrictStr] = None,
|
|
892
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
893
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
894
|
+
) -> ClientClientMetadataResponse:
|
|
895
|
+
"""Get client metadata by organization UID and client UID
|
|
896
|
+
|
|
897
|
+
Returns all metadata for a given organization UID and client UID
|
|
898
|
+
|
|
899
|
+
:param org_uid: Organization UID (required)
|
|
900
|
+
:type org_uid: str
|
|
901
|
+
:param client_uid: Client UID (required)
|
|
902
|
+
:type client_uid: str
|
|
903
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
904
|
+
number provided, it will be total request
|
|
905
|
+
timeout. It can also be a pair (tuple) of
|
|
906
|
+
(connection, read) timeouts.
|
|
907
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
908
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
909
|
+
request; this effectively ignores the
|
|
910
|
+
authentication in the spec for a single request.
|
|
911
|
+
:type _request_auth: dict, optional
|
|
912
|
+
:param _content_type: force content-type for the request.
|
|
913
|
+
:type _content_type: str, Optional
|
|
914
|
+
:param _headers: set to override the headers for a single
|
|
915
|
+
request; this effectively ignores the headers
|
|
916
|
+
in the spec for a single request.
|
|
917
|
+
:type _headers: dict, optional
|
|
918
|
+
:param _host_index: set to override the host_index for a single
|
|
919
|
+
request; this effectively ignores the host_index
|
|
920
|
+
in the spec for a single request.
|
|
921
|
+
:type _host_index: int, optional
|
|
922
|
+
:return: Returns the result object.
|
|
923
|
+
""" # noqa: E501
|
|
924
|
+
|
|
925
|
+
_param = self._api_v1_client_metadata_org_uid_client_uid_get_serialize(
|
|
926
|
+
org_uid=org_uid,
|
|
927
|
+
client_uid=client_uid,
|
|
928
|
+
_request_auth=_request_auth,
|
|
929
|
+
_content_type=_content_type,
|
|
930
|
+
_headers=_headers,
|
|
931
|
+
_host_index=_host_index
|
|
932
|
+
)
|
|
933
|
+
|
|
934
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
935
|
+
'200': "ClientClientMetadataResponse",
|
|
936
|
+
'400': "ClientClientMetadataResponse",
|
|
937
|
+
'503': "ClientClientMetadataResponse",
|
|
938
|
+
}
|
|
939
|
+
response_data = self.api_client.call_api(
|
|
940
|
+
*_param,
|
|
941
|
+
_request_timeout=_request_timeout
|
|
942
|
+
)
|
|
943
|
+
response_data.read()
|
|
944
|
+
return self.api_client.response_deserialize(
|
|
945
|
+
response_data=response_data,
|
|
946
|
+
response_types_map=_response_types_map,
|
|
947
|
+
).data
|
|
948
|
+
|
|
949
|
+
|
|
950
|
+
@validate_call
|
|
951
|
+
def api_v1_client_metadata_org_uid_client_uid_get_with_http_info(
|
|
952
|
+
self,
|
|
953
|
+
org_uid: Annotated[StrictStr, Field(description="Organization UID")],
|
|
954
|
+
client_uid: Annotated[StrictStr, Field(description="Client UID")],
|
|
955
|
+
_request_timeout: Union[
|
|
956
|
+
None,
|
|
957
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
958
|
+
Tuple[
|
|
959
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
960
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
961
|
+
]
|
|
962
|
+
] = None,
|
|
963
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
964
|
+
_content_type: Optional[StrictStr] = None,
|
|
965
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
966
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
967
|
+
) -> ApiResponse[ClientClientMetadataResponse]:
|
|
968
|
+
"""Get client metadata by organization UID and client UID
|
|
969
|
+
|
|
970
|
+
Returns all metadata for a given organization UID and client UID
|
|
971
|
+
|
|
972
|
+
:param org_uid: Organization UID (required)
|
|
973
|
+
:type org_uid: str
|
|
974
|
+
:param client_uid: Client UID (required)
|
|
975
|
+
:type client_uid: str
|
|
976
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
977
|
+
number provided, it will be total request
|
|
978
|
+
timeout. It can also be a pair (tuple) of
|
|
979
|
+
(connection, read) timeouts.
|
|
980
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
981
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
982
|
+
request; this effectively ignores the
|
|
983
|
+
authentication in the spec for a single request.
|
|
984
|
+
:type _request_auth: dict, optional
|
|
985
|
+
:param _content_type: force content-type for the request.
|
|
986
|
+
:type _content_type: str, Optional
|
|
987
|
+
:param _headers: set to override the headers for a single
|
|
988
|
+
request; this effectively ignores the headers
|
|
989
|
+
in the spec for a single request.
|
|
990
|
+
:type _headers: dict, optional
|
|
991
|
+
:param _host_index: set to override the host_index for a single
|
|
992
|
+
request; this effectively ignores the host_index
|
|
993
|
+
in the spec for a single request.
|
|
994
|
+
:type _host_index: int, optional
|
|
995
|
+
:return: Returns the result object.
|
|
996
|
+
""" # noqa: E501
|
|
997
|
+
|
|
998
|
+
_param = self._api_v1_client_metadata_org_uid_client_uid_get_serialize(
|
|
999
|
+
org_uid=org_uid,
|
|
1000
|
+
client_uid=client_uid,
|
|
1001
|
+
_request_auth=_request_auth,
|
|
1002
|
+
_content_type=_content_type,
|
|
1003
|
+
_headers=_headers,
|
|
1004
|
+
_host_index=_host_index
|
|
1005
|
+
)
|
|
1006
|
+
|
|
1007
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1008
|
+
'200': "ClientClientMetadataResponse",
|
|
1009
|
+
'400': "ClientClientMetadataResponse",
|
|
1010
|
+
'503': "ClientClientMetadataResponse",
|
|
1011
|
+
}
|
|
1012
|
+
response_data = self.api_client.call_api(
|
|
1013
|
+
*_param,
|
|
1014
|
+
_request_timeout=_request_timeout
|
|
1015
|
+
)
|
|
1016
|
+
response_data.read()
|
|
1017
|
+
return self.api_client.response_deserialize(
|
|
1018
|
+
response_data=response_data,
|
|
1019
|
+
response_types_map=_response_types_map,
|
|
1020
|
+
)
|
|
1021
|
+
|
|
1022
|
+
|
|
1023
|
+
@validate_call
|
|
1024
|
+
def api_v1_client_metadata_org_uid_client_uid_get_without_preload_content(
|
|
1025
|
+
self,
|
|
1026
|
+
org_uid: Annotated[StrictStr, Field(description="Organization UID")],
|
|
1027
|
+
client_uid: Annotated[StrictStr, Field(description="Client UID")],
|
|
1028
|
+
_request_timeout: Union[
|
|
1029
|
+
None,
|
|
1030
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1031
|
+
Tuple[
|
|
1032
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1033
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1034
|
+
]
|
|
1035
|
+
] = None,
|
|
1036
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1037
|
+
_content_type: Optional[StrictStr] = None,
|
|
1038
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1039
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1040
|
+
) -> RESTResponseType:
|
|
1041
|
+
"""Get client metadata by organization UID and client UID
|
|
1042
|
+
|
|
1043
|
+
Returns all metadata for a given organization UID and client UID
|
|
1044
|
+
|
|
1045
|
+
:param org_uid: Organization UID (required)
|
|
1046
|
+
:type org_uid: str
|
|
1047
|
+
:param client_uid: Client UID (required)
|
|
1048
|
+
:type client_uid: str
|
|
1049
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1050
|
+
number provided, it will be total request
|
|
1051
|
+
timeout. It can also be a pair (tuple) of
|
|
1052
|
+
(connection, read) timeouts.
|
|
1053
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1054
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1055
|
+
request; this effectively ignores the
|
|
1056
|
+
authentication in the spec for a single request.
|
|
1057
|
+
:type _request_auth: dict, optional
|
|
1058
|
+
:param _content_type: force content-type for the request.
|
|
1059
|
+
:type _content_type: str, Optional
|
|
1060
|
+
:param _headers: set to override the headers for a single
|
|
1061
|
+
request; this effectively ignores the headers
|
|
1062
|
+
in the spec for a single request.
|
|
1063
|
+
:type _headers: dict, optional
|
|
1064
|
+
:param _host_index: set to override the host_index for a single
|
|
1065
|
+
request; this effectively ignores the host_index
|
|
1066
|
+
in the spec for a single request.
|
|
1067
|
+
:type _host_index: int, optional
|
|
1068
|
+
:return: Returns the result object.
|
|
1069
|
+
""" # noqa: E501
|
|
1070
|
+
|
|
1071
|
+
_param = self._api_v1_client_metadata_org_uid_client_uid_get_serialize(
|
|
1072
|
+
org_uid=org_uid,
|
|
1073
|
+
client_uid=client_uid,
|
|
1074
|
+
_request_auth=_request_auth,
|
|
1075
|
+
_content_type=_content_type,
|
|
1076
|
+
_headers=_headers,
|
|
1077
|
+
_host_index=_host_index
|
|
1078
|
+
)
|
|
1079
|
+
|
|
1080
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1081
|
+
'200': "ClientClientMetadataResponse",
|
|
1082
|
+
'400': "ClientClientMetadataResponse",
|
|
1083
|
+
'503': "ClientClientMetadataResponse",
|
|
1084
|
+
}
|
|
1085
|
+
response_data = self.api_client.call_api(
|
|
1086
|
+
*_param,
|
|
1087
|
+
_request_timeout=_request_timeout
|
|
1088
|
+
)
|
|
1089
|
+
return response_data.response
|
|
1090
|
+
|
|
1091
|
+
|
|
1092
|
+
def _api_v1_client_metadata_org_uid_client_uid_get_serialize(
|
|
1093
|
+
self,
|
|
1094
|
+
org_uid,
|
|
1095
|
+
client_uid,
|
|
1096
|
+
_request_auth,
|
|
1097
|
+
_content_type,
|
|
1098
|
+
_headers,
|
|
1099
|
+
_host_index,
|
|
1100
|
+
) -> RequestSerialized:
|
|
1101
|
+
|
|
1102
|
+
_host = None
|
|
1103
|
+
|
|
1104
|
+
_collection_formats: Dict[str, str] = {
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
_path_params: Dict[str, str] = {}
|
|
1108
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1109
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1110
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1111
|
+
_files: Dict[
|
|
1112
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1113
|
+
] = {}
|
|
1114
|
+
_body_params: Optional[bytes] = None
|
|
1115
|
+
|
|
1116
|
+
# process the path parameters
|
|
1117
|
+
if org_uid is not None:
|
|
1118
|
+
_path_params['org_uid'] = org_uid
|
|
1119
|
+
if client_uid is not None:
|
|
1120
|
+
_path_params['client_uid'] = client_uid
|
|
1121
|
+
# process the query parameters
|
|
1122
|
+
# process the header parameters
|
|
1123
|
+
# process the form parameters
|
|
1124
|
+
# process the body parameter
|
|
1125
|
+
|
|
1126
|
+
|
|
1127
|
+
# set the HTTP header `Accept`
|
|
1128
|
+
if 'Accept' not in _header_params:
|
|
1129
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1130
|
+
[
|
|
1131
|
+
'application/json'
|
|
1132
|
+
]
|
|
1133
|
+
)
|
|
1134
|
+
|
|
1135
|
+
|
|
1136
|
+
# authentication setting
|
|
1137
|
+
_auth_settings: List[str] = [
|
|
1138
|
+
'TokenAuth',
|
|
1139
|
+
'ApiKeyAuth'
|
|
1140
|
+
]
|
|
1141
|
+
|
|
1142
|
+
return self.api_client.param_serialize(
|
|
1143
|
+
method='GET',
|
|
1144
|
+
resource_path='/api/v1/client/metadata/{org_uid}/{client_uid}',
|
|
1145
|
+
path_params=_path_params,
|
|
1146
|
+
query_params=_query_params,
|
|
1147
|
+
header_params=_header_params,
|
|
1148
|
+
body=_body_params,
|
|
1149
|
+
post_params=_form_params,
|
|
1150
|
+
files=_files,
|
|
1151
|
+
auth_settings=_auth_settings,
|
|
1152
|
+
collection_formats=_collection_formats,
|
|
1153
|
+
_host=_host,
|
|
1154
|
+
_request_auth=_request_auth
|
|
1155
|
+
)
|
|
1156
|
+
|
|
1157
|
+
|