neurograph-core 1.202509252137__py3-none-any.whl → 1.202510040107__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.
Files changed (48) hide show
  1. neurograph/v1/__init__.py +63 -198
  2. neurograph/v1/api/__init__.py +4 -27
  3. neurograph/v1/api/admin_api.py +1123 -0
  4. neurograph/v1/api/client_api.py +263 -0
  5. neurograph/v1/api/dagster_api.py +2 -1
  6. neurograph/v1/api/knowledge_api.py +296 -0
  7. neurograph/v1/api/knowledge_extract_api.py +1 -1
  8. neurograph/v1/api/lookup_api.py +279 -27
  9. neurograph/v1/api/organization_api.py +128 -137
  10. neurograph/v1/api/persona_api.py +2 -1
  11. neurograph/v1/api/reporting_api.py +300 -0
  12. neurograph/v1/api/user_api.py +282 -0
  13. neurograph/v1/api_client.py +4 -4
  14. neurograph/v1/models/__init__.py +29 -170
  15. neurograph/v1/models/admin_permission_response.py +95 -0
  16. neurograph/v1/models/admin_set_permission_request.py +91 -0
  17. neurograph/v1/models/admin_upsert_user_request.py +91 -0
  18. neurograph/v1/models/admin_upsert_user_response.py +99 -0
  19. neurograph/v1/models/admin_user.py +97 -0
  20. neurograph/v1/models/admin_user_detail_response.py +121 -0
  21. neurograph/v1/models/admin_users_get_many_response.py +97 -0
  22. neurograph/v1/models/admin_users_org_response.py +97 -0
  23. neurograph/v1/models/db_account_organization_brand.py +109 -0
  24. neurograph/v1/models/db_my_client.py +99 -0
  25. neurograph/v1/models/db_my_org.py +121 -0
  26. neurograph/v1/models/db_user_client_role.py +93 -0
  27. neurograph/v1/models/db_user_in_db.py +127 -0
  28. neurograph/v1/models/db_user_org_role.py +93 -0
  29. neurograph/v1/models/db_user_role.py +91 -0
  30. neurograph/v1/models/knowledge_enrichment_artifact_create_request.py +3 -1
  31. neurograph/v1/models/knowledge_enrichment_query.py +3 -1
  32. neurograph/v1/models/knowledge_product.py +103 -0
  33. neurograph/v1/models/knowledge_product_upsert_request.py +95 -0
  34. neurograph/v1/models/knowledge_product_upsert_response.py +99 -0
  35. neurograph/v1/models/lookup_env.py +89 -0
  36. neurograph/v1/models/{lookup_lookup_language_response.py → lookup_language_response.py} +4 -4
  37. neurograph/v1/models/lookup_lookup_environments_response.py +97 -0
  38. neurograph/v1/models/lookup_role.py +89 -0
  39. neurograph/v1/models/lookup_roles_response.py +97 -0
  40. neurograph/v1/models/{lookup_lookup_state_response.py → lookup_states_response.py} +4 -4
  41. neurograph/v1/models/me_my_profile_response.py +115 -0
  42. neurograph/v1/models/reporting_daily_metric.py +95 -0
  43. neurograph/v1/models/reporting_daily_metrics_response.py +97 -0
  44. neurograph/v1/models/reporting_query.py +91 -0
  45. {neurograph_core-1.202509252137.dist-info → neurograph_core-1.202510040107.dist-info}/METADATA +2 -3
  46. {neurograph_core-1.202509252137.dist-info → neurograph_core-1.202510040107.dist-info}/RECORD +48 -19
  47. {neurograph_core-1.202509252137.dist-info → neurograph_core-1.202510040107.dist-info}/WHEEL +0 -0
  48. {neurograph_core-1.202509252137.dist-info → neurograph_core-1.202510040107.dist-info}/top_level.txt +0 -0
@@ -3282,7 +3282,8 @@ class PersonaApi:
3282
3282
 
3283
3283
  # authentication setting
3284
3284
  _auth_settings: List[str] = [
3285
- 'TokenAuth'
3285
+ 'TokenAuth',
3286
+ 'ApiKeyAuth'
3286
3287
  ]
3287
3288
 
3288
3289
  return self.api_client.param_serialize(
@@ -0,0 +1,300 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Neurograph Core
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: 1.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+ import warnings
15
+ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
16
+ from typing import Any, Dict, List, Optional, Tuple, Union
17
+ from typing_extensions import Annotated
18
+
19
+ from pydantic import Field
20
+ from typing_extensions import Annotated
21
+ from neurograph.v1.models.reporting_daily_metrics_response import ReportingDailyMetricsResponse
22
+ from neurograph.v1.models.reporting_query import ReportingQuery
23
+
24
+ from neurograph.v1.api_client import ApiClient, RequestSerialized
25
+ from neurograph.v1.api_response import ApiResponse
26
+ from neurograph.v1.rest import RESTResponseType
27
+
28
+
29
+ class ReportingApi:
30
+ """NOTE: This class is auto generated by OpenAPI Generator
31
+ Ref: https://openapi-generator.tech
32
+
33
+ Do not edit the class manually.
34
+ """
35
+
36
+ def __init__(self, api_client=None) -> None:
37
+ if api_client is None:
38
+ api_client = ApiClient.get_default()
39
+ self.api_client = api_client
40
+
41
+
42
+ @validate_call
43
+ def api_v1_reporting_daily_rollup_post(
44
+ self,
45
+ request: Annotated[ReportingQuery, Field(description="Body")],
46
+ _request_timeout: Union[
47
+ None,
48
+ Annotated[StrictFloat, Field(gt=0)],
49
+ Tuple[
50
+ Annotated[StrictFloat, Field(gt=0)],
51
+ Annotated[StrictFloat, Field(gt=0)]
52
+ ]
53
+ ] = None,
54
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
55
+ _content_type: Optional[StrictStr] = None,
56
+ _headers: Optional[Dict[StrictStr, Any]] = None,
57
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
58
+ ) -> ReportingDailyMetricsResponse:
59
+ """Get Daily Metrics for Client by Persona
60
+
61
+
62
+ :param request: Body (required)
63
+ :type request: ReportingQuery
64
+ :param _request_timeout: timeout setting for this request. If one
65
+ number provided, it will be total request
66
+ timeout. It can also be a pair (tuple) of
67
+ (connection, read) timeouts.
68
+ :type _request_timeout: int, tuple(int, int), optional
69
+ :param _request_auth: set to override the auth_settings for an a single
70
+ request; this effectively ignores the
71
+ authentication in the spec for a single request.
72
+ :type _request_auth: dict, optional
73
+ :param _content_type: force content-type for the request.
74
+ :type _content_type: str, Optional
75
+ :param _headers: set to override the headers for a single
76
+ request; this effectively ignores the headers
77
+ in the spec for a single request.
78
+ :type _headers: dict, optional
79
+ :param _host_index: set to override the host_index for a single
80
+ request; this effectively ignores the host_index
81
+ in the spec for a single request.
82
+ :type _host_index: int, optional
83
+ :return: Returns the result object.
84
+ """ # noqa: E501
85
+
86
+ _param = self._api_v1_reporting_daily_rollup_post_serialize(
87
+ request=request,
88
+ _request_auth=_request_auth,
89
+ _content_type=_content_type,
90
+ _headers=_headers,
91
+ _host_index=_host_index
92
+ )
93
+
94
+ _response_types_map: Dict[str, Optional[str]] = {
95
+ '200': "ReportingDailyMetricsResponse",
96
+ '400': "ReportingDailyMetricsResponse",
97
+ }
98
+ response_data = self.api_client.call_api(
99
+ *_param,
100
+ _request_timeout=_request_timeout
101
+ )
102
+ response_data.read()
103
+ return self.api_client.response_deserialize(
104
+ response_data=response_data,
105
+ response_types_map=_response_types_map,
106
+ ).data
107
+
108
+
109
+ @validate_call
110
+ def api_v1_reporting_daily_rollup_post_with_http_info(
111
+ self,
112
+ request: Annotated[ReportingQuery, Field(description="Body")],
113
+ _request_timeout: Union[
114
+ None,
115
+ Annotated[StrictFloat, Field(gt=0)],
116
+ Tuple[
117
+ Annotated[StrictFloat, Field(gt=0)],
118
+ Annotated[StrictFloat, Field(gt=0)]
119
+ ]
120
+ ] = None,
121
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
122
+ _content_type: Optional[StrictStr] = None,
123
+ _headers: Optional[Dict[StrictStr, Any]] = None,
124
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
125
+ ) -> ApiResponse[ReportingDailyMetricsResponse]:
126
+ """Get Daily Metrics for Client by Persona
127
+
128
+
129
+ :param request: Body (required)
130
+ :type request: ReportingQuery
131
+ :param _request_timeout: timeout setting for this request. If one
132
+ number provided, it will be total request
133
+ timeout. It can also be a pair (tuple) of
134
+ (connection, read) timeouts.
135
+ :type _request_timeout: int, tuple(int, int), optional
136
+ :param _request_auth: set to override the auth_settings for an a single
137
+ request; this effectively ignores the
138
+ authentication in the spec for a single request.
139
+ :type _request_auth: dict, optional
140
+ :param _content_type: force content-type for the request.
141
+ :type _content_type: str, Optional
142
+ :param _headers: set to override the headers for a single
143
+ request; this effectively ignores the headers
144
+ in the spec for a single request.
145
+ :type _headers: dict, optional
146
+ :param _host_index: set to override the host_index for a single
147
+ request; this effectively ignores the host_index
148
+ in the spec for a single request.
149
+ :type _host_index: int, optional
150
+ :return: Returns the result object.
151
+ """ # noqa: E501
152
+
153
+ _param = self._api_v1_reporting_daily_rollup_post_serialize(
154
+ request=request,
155
+ _request_auth=_request_auth,
156
+ _content_type=_content_type,
157
+ _headers=_headers,
158
+ _host_index=_host_index
159
+ )
160
+
161
+ _response_types_map: Dict[str, Optional[str]] = {
162
+ '200': "ReportingDailyMetricsResponse",
163
+ '400': "ReportingDailyMetricsResponse",
164
+ }
165
+ response_data = self.api_client.call_api(
166
+ *_param,
167
+ _request_timeout=_request_timeout
168
+ )
169
+ response_data.read()
170
+ return self.api_client.response_deserialize(
171
+ response_data=response_data,
172
+ response_types_map=_response_types_map,
173
+ )
174
+
175
+
176
+ @validate_call
177
+ def api_v1_reporting_daily_rollup_post_without_preload_content(
178
+ self,
179
+ request: Annotated[ReportingQuery, Field(description="Body")],
180
+ _request_timeout: Union[
181
+ None,
182
+ Annotated[StrictFloat, Field(gt=0)],
183
+ Tuple[
184
+ Annotated[StrictFloat, Field(gt=0)],
185
+ Annotated[StrictFloat, Field(gt=0)]
186
+ ]
187
+ ] = None,
188
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
189
+ _content_type: Optional[StrictStr] = None,
190
+ _headers: Optional[Dict[StrictStr, Any]] = None,
191
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
192
+ ) -> RESTResponseType:
193
+ """Get Daily Metrics for Client by Persona
194
+
195
+
196
+ :param request: Body (required)
197
+ :type request: ReportingQuery
198
+ :param _request_timeout: timeout setting for this request. If one
199
+ number provided, it will be total request
200
+ timeout. It can also be a pair (tuple) of
201
+ (connection, read) timeouts.
202
+ :type _request_timeout: int, tuple(int, int), optional
203
+ :param _request_auth: set to override the auth_settings for an a single
204
+ request; this effectively ignores the
205
+ authentication in the spec for a single request.
206
+ :type _request_auth: dict, optional
207
+ :param _content_type: force content-type for the request.
208
+ :type _content_type: str, Optional
209
+ :param _headers: set to override the headers for a single
210
+ request; this effectively ignores the headers
211
+ in the spec for a single request.
212
+ :type _headers: dict, optional
213
+ :param _host_index: set to override the host_index for a single
214
+ request; this effectively ignores the host_index
215
+ in the spec for a single request.
216
+ :type _host_index: int, optional
217
+ :return: Returns the result object.
218
+ """ # noqa: E501
219
+
220
+ _param = self._api_v1_reporting_daily_rollup_post_serialize(
221
+ request=request,
222
+ _request_auth=_request_auth,
223
+ _content_type=_content_type,
224
+ _headers=_headers,
225
+ _host_index=_host_index
226
+ )
227
+
228
+ _response_types_map: Dict[str, Optional[str]] = {
229
+ '200': "ReportingDailyMetricsResponse",
230
+ '400': "ReportingDailyMetricsResponse",
231
+ }
232
+ response_data = self.api_client.call_api(
233
+ *_param,
234
+ _request_timeout=_request_timeout
235
+ )
236
+ return response_data.response
237
+
238
+
239
+ def _api_v1_reporting_daily_rollup_post_serialize(
240
+ self,
241
+ request,
242
+ _request_auth,
243
+ _content_type,
244
+ _headers,
245
+ _host_index,
246
+ ) -> RequestSerialized:
247
+
248
+ _host = None
249
+
250
+ _collection_formats: Dict[str, str] = {
251
+ }
252
+
253
+ _path_params: Dict[str, str] = {}
254
+ _query_params: List[Tuple[str, str]] = []
255
+ _header_params: Dict[str, Optional[str]] = _headers or {}
256
+ _form_params: List[Tuple[str, str]] = []
257
+ _files: Dict[
258
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
259
+ ] = {}
260
+ _body_params: Optional[bytes] = None
261
+
262
+ # process the path parameters
263
+ # process the query parameters
264
+ # process the header parameters
265
+ # process the form parameters
266
+ # process the body parameter
267
+ if request is not None:
268
+ _body_params = request
269
+
270
+
271
+ # set the HTTP header `Accept`
272
+ if 'Accept' not in _header_params:
273
+ _header_params['Accept'] = self.api_client.select_header_accept(
274
+ [
275
+ 'application/json'
276
+ ]
277
+ )
278
+
279
+
280
+ # authentication setting
281
+ _auth_settings: List[str] = [
282
+ 'ApiKeyAuth'
283
+ ]
284
+
285
+ return self.api_client.param_serialize(
286
+ method='POST',
287
+ resource_path='/api/v1/reporting/daily-rollup/',
288
+ path_params=_path_params,
289
+ query_params=_query_params,
290
+ header_params=_header_params,
291
+ body=_body_params,
292
+ post_params=_form_params,
293
+ files=_files,
294
+ auth_settings=_auth_settings,
295
+ collection_formats=_collection_formats,
296
+ _host=_host,
297
+ _request_auth=_request_auth
298
+ )
299
+
300
+
@@ -0,0 +1,282 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Neurograph Core
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: 1.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+ import warnings
15
+ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
16
+ from typing import Any, Dict, List, Optional, Tuple, Union
17
+ from typing_extensions import Annotated
18
+
19
+ from neurograph.v1.models.me_my_profile_response import MeMyProfileResponse
20
+
21
+ from neurograph.v1.api_client import ApiClient, RequestSerialized
22
+ from neurograph.v1.api_response import ApiResponse
23
+ from neurograph.v1.rest import RESTResponseType
24
+
25
+
26
+ class UserApi:
27
+ """NOTE: This class is auto generated by OpenAPI Generator
28
+ Ref: https://openapi-generator.tech
29
+
30
+ Do not edit the class manually.
31
+ """
32
+
33
+ def __init__(self, api_client=None) -> None:
34
+ if api_client is None:
35
+ api_client = ApiClient.get_default()
36
+ self.api_client = api_client
37
+
38
+
39
+ @validate_call
40
+ def api_v1_me_get(
41
+ self,
42
+ _request_timeout: Union[
43
+ None,
44
+ Annotated[StrictFloat, Field(gt=0)],
45
+ Tuple[
46
+ Annotated[StrictFloat, Field(gt=0)],
47
+ Annotated[StrictFloat, Field(gt=0)]
48
+ ]
49
+ ] = None,
50
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
51
+ _content_type: Optional[StrictStr] = None,
52
+ _headers: Optional[Dict[StrictStr, Any]] = None,
53
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
54
+ ) -> MeMyProfileResponse:
55
+ """Get my profile
56
+
57
+
58
+ :param _request_timeout: timeout setting for this request. If one
59
+ number provided, it will be total request
60
+ timeout. It can also be a pair (tuple) of
61
+ (connection, read) timeouts.
62
+ :type _request_timeout: int, tuple(int, int), optional
63
+ :param _request_auth: set to override the auth_settings for an a single
64
+ request; this effectively ignores the
65
+ authentication in the spec for a single request.
66
+ :type _request_auth: dict, optional
67
+ :param _content_type: force content-type for the request.
68
+ :type _content_type: str, Optional
69
+ :param _headers: set to override the headers for a single
70
+ request; this effectively ignores the headers
71
+ in the spec for a single request.
72
+ :type _headers: dict, optional
73
+ :param _host_index: set to override the host_index for a single
74
+ request; this effectively ignores the host_index
75
+ in the spec for a single request.
76
+ :type _host_index: int, optional
77
+ :return: Returns the result object.
78
+ """ # noqa: E501
79
+
80
+ _param = self._api_v1_me_get_serialize(
81
+ _request_auth=_request_auth,
82
+ _content_type=_content_type,
83
+ _headers=_headers,
84
+ _host_index=_host_index
85
+ )
86
+
87
+ _response_types_map: Dict[str, Optional[str]] = {
88
+ '200': "MeMyProfileResponse",
89
+ '400': "MeMyProfileResponse",
90
+ }
91
+ response_data = self.api_client.call_api(
92
+ *_param,
93
+ _request_timeout=_request_timeout
94
+ )
95
+ response_data.read()
96
+ return self.api_client.response_deserialize(
97
+ response_data=response_data,
98
+ response_types_map=_response_types_map,
99
+ ).data
100
+
101
+
102
+ @validate_call
103
+ def api_v1_me_get_with_http_info(
104
+ self,
105
+ _request_timeout: Union[
106
+ None,
107
+ Annotated[StrictFloat, Field(gt=0)],
108
+ Tuple[
109
+ Annotated[StrictFloat, Field(gt=0)],
110
+ Annotated[StrictFloat, Field(gt=0)]
111
+ ]
112
+ ] = None,
113
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
114
+ _content_type: Optional[StrictStr] = None,
115
+ _headers: Optional[Dict[StrictStr, Any]] = None,
116
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
117
+ ) -> ApiResponse[MeMyProfileResponse]:
118
+ """Get my profile
119
+
120
+
121
+ :param _request_timeout: timeout setting for this request. If one
122
+ number provided, it will be total request
123
+ timeout. It can also be a pair (tuple) of
124
+ (connection, read) timeouts.
125
+ :type _request_timeout: int, tuple(int, int), optional
126
+ :param _request_auth: set to override the auth_settings for an a single
127
+ request; this effectively ignores the
128
+ authentication in the spec for a single request.
129
+ :type _request_auth: dict, optional
130
+ :param _content_type: force content-type for the request.
131
+ :type _content_type: str, Optional
132
+ :param _headers: set to override the headers for a single
133
+ request; this effectively ignores the headers
134
+ in the spec for a single request.
135
+ :type _headers: dict, optional
136
+ :param _host_index: set to override the host_index for a single
137
+ request; this effectively ignores the host_index
138
+ in the spec for a single request.
139
+ :type _host_index: int, optional
140
+ :return: Returns the result object.
141
+ """ # noqa: E501
142
+
143
+ _param = self._api_v1_me_get_serialize(
144
+ _request_auth=_request_auth,
145
+ _content_type=_content_type,
146
+ _headers=_headers,
147
+ _host_index=_host_index
148
+ )
149
+
150
+ _response_types_map: Dict[str, Optional[str]] = {
151
+ '200': "MeMyProfileResponse",
152
+ '400': "MeMyProfileResponse",
153
+ }
154
+ response_data = self.api_client.call_api(
155
+ *_param,
156
+ _request_timeout=_request_timeout
157
+ )
158
+ response_data.read()
159
+ return self.api_client.response_deserialize(
160
+ response_data=response_data,
161
+ response_types_map=_response_types_map,
162
+ )
163
+
164
+
165
+ @validate_call
166
+ def api_v1_me_get_without_preload_content(
167
+ self,
168
+ _request_timeout: Union[
169
+ None,
170
+ Annotated[StrictFloat, Field(gt=0)],
171
+ Tuple[
172
+ Annotated[StrictFloat, Field(gt=0)],
173
+ Annotated[StrictFloat, Field(gt=0)]
174
+ ]
175
+ ] = None,
176
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
177
+ _content_type: Optional[StrictStr] = None,
178
+ _headers: Optional[Dict[StrictStr, Any]] = None,
179
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
180
+ ) -> RESTResponseType:
181
+ """Get my profile
182
+
183
+
184
+ :param _request_timeout: timeout setting for this request. If one
185
+ number provided, it will be total request
186
+ timeout. It can also be a pair (tuple) of
187
+ (connection, read) timeouts.
188
+ :type _request_timeout: int, tuple(int, int), optional
189
+ :param _request_auth: set to override the auth_settings for an a single
190
+ request; this effectively ignores the
191
+ authentication in the spec for a single request.
192
+ :type _request_auth: dict, optional
193
+ :param _content_type: force content-type for the request.
194
+ :type _content_type: str, Optional
195
+ :param _headers: set to override the headers for a single
196
+ request; this effectively ignores the headers
197
+ in the spec for a single request.
198
+ :type _headers: dict, optional
199
+ :param _host_index: set to override the host_index for a single
200
+ request; this effectively ignores the host_index
201
+ in the spec for a single request.
202
+ :type _host_index: int, optional
203
+ :return: Returns the result object.
204
+ """ # noqa: E501
205
+
206
+ _param = self._api_v1_me_get_serialize(
207
+ _request_auth=_request_auth,
208
+ _content_type=_content_type,
209
+ _headers=_headers,
210
+ _host_index=_host_index
211
+ )
212
+
213
+ _response_types_map: Dict[str, Optional[str]] = {
214
+ '200': "MeMyProfileResponse",
215
+ '400': "MeMyProfileResponse",
216
+ }
217
+ response_data = self.api_client.call_api(
218
+ *_param,
219
+ _request_timeout=_request_timeout
220
+ )
221
+ return response_data.response
222
+
223
+
224
+ def _api_v1_me_get_serialize(
225
+ self,
226
+ _request_auth,
227
+ _content_type,
228
+ _headers,
229
+ _host_index,
230
+ ) -> RequestSerialized:
231
+
232
+ _host = None
233
+
234
+ _collection_formats: Dict[str, str] = {
235
+ }
236
+
237
+ _path_params: Dict[str, str] = {}
238
+ _query_params: List[Tuple[str, str]] = []
239
+ _header_params: Dict[str, Optional[str]] = _headers or {}
240
+ _form_params: List[Tuple[str, str]] = []
241
+ _files: Dict[
242
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
243
+ ] = {}
244
+ _body_params: Optional[bytes] = None
245
+
246
+ # process the path parameters
247
+ # process the query parameters
248
+ # process the header parameters
249
+ # process the form parameters
250
+ # process the body parameter
251
+
252
+
253
+ # set the HTTP header `Accept`
254
+ if 'Accept' not in _header_params:
255
+ _header_params['Accept'] = self.api_client.select_header_accept(
256
+ [
257
+ 'application/json'
258
+ ]
259
+ )
260
+
261
+
262
+ # authentication setting
263
+ _auth_settings: List[str] = [
264
+ 'ApiKeyAuth'
265
+ ]
266
+
267
+ return self.api_client.param_serialize(
268
+ method='GET',
269
+ resource_path='/api/v1/me/',
270
+ path_params=_path_params,
271
+ query_params=_query_params,
272
+ header_params=_header_params,
273
+ body=_body_params,
274
+ post_params=_form_params,
275
+ files=_files,
276
+ auth_settings=_auth_settings,
277
+ collection_formats=_collection_formats,
278
+ _host=_host,
279
+ _request_auth=_request_auth
280
+ )
281
+
282
+
@@ -460,13 +460,13 @@ class ApiClient:
460
460
 
461
461
  if klass in self.PRIMITIVE_TYPES:
462
462
  return self.__deserialize_primitive(data, klass)
463
- elif klass == object:
463
+ elif klass is object:
464
464
  return self.__deserialize_object(data)
465
- elif klass == datetime.date:
465
+ elif klass is datetime.date:
466
466
  return self.__deserialize_date(data)
467
- elif klass == datetime.datetime:
467
+ elif klass is datetime.datetime:
468
468
  return self.__deserialize_datetime(data)
469
- elif klass == decimal.Decimal:
469
+ elif klass is decimal.Decimal:
470
470
  return decimal.Decimal(data)
471
471
  elif issubclass(klass, Enum):
472
472
  return self.__deserialize_enum(data, klass)