neurograph-core 1.202508112256__py3-none-any.whl → 1.202508152055__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 +24 -16
- neurograph/v1/api/__init__.py +0 -1
- neurograph/v1/api/authentication_api.py +36 -8
- neurograph/v1/api/client_api.py +9 -3
- neurograph/v1/api/client_metadata_api.py +287 -1
- neurograph/v1/api/lookup_api.py +2 -0
- neurograph/v1/api/organization_api.py +9 -272
- neurograph/v1/api/organization_metadata_api.py +3 -0
- neurograph/v1/api/persona_api.py +1249 -135
- neurograph/v1/api/tasks_api.py +1 -0
- neurograph/v1/api/workbench_api.py +3 -0
- neurograph/v1/models/__init__.py +12 -7
- neurograph/v1/models/auth_test_service_token_request.py +87 -0
- neurograph/v1/models/organizations_organization_detail_response.py +1 -7
- neurograph/v1/models/organizations_organization_set_workbench_request.py +10 -10
- neurograph/v1/models/organizations_organization_set_workbench_response.py +12 -10
- neurograph/v1/models/organizations_workbench_config.py +12 -10
- neurograph/v1/models/personas_delete_many_persona_instances_request.py +87 -0
- neurograph/v1/models/personas_kpi.py +93 -0
- neurograph/v1/models/personas_persona.py +171 -0
- neurograph/v1/models/personas_persona_factor.py +1 -3
- 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_instances_delete_response.py +89 -0
- neurograph/v1/models/personas_persona_instances_response.py +103 -0
- neurograph/v1/models/personas_persona_personality_trait.py +93 -0
- 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_core-1.202508112256.dist-info → neurograph_core-1.202508152055.dist-info}/METADATA +2 -2
- {neurograph_core-1.202508112256.dist-info → neurograph_core-1.202508152055.dist-info}/RECORD +34 -22
- {neurograph_core-1.202508112256.dist-info → neurograph_core-1.202508152055.dist-info}/WHEEL +0 -0
- {neurograph_core-1.202508112256.dist-info → neurograph_core-1.202508152055.dist-info}/top_level.txt +0 -0
neurograph/v1/api/lookup_api.py
CHANGED
|
@@ -268,6 +268,7 @@ class LookupApi:
|
|
|
268
268
|
|
|
269
269
|
# authentication setting
|
|
270
270
|
_auth_settings: List[str] = [
|
|
271
|
+
'TokenAuth',
|
|
271
272
|
'ApiKeyAuth'
|
|
272
273
|
]
|
|
273
274
|
|
|
@@ -517,6 +518,7 @@ class LookupApi:
|
|
|
517
518
|
|
|
518
519
|
# authentication setting
|
|
519
520
|
_auth_settings: List[str] = [
|
|
521
|
+
'TokenAuth',
|
|
520
522
|
'ApiKeyAuth'
|
|
521
523
|
]
|
|
522
524
|
|
|
@@ -24,8 +24,6 @@ from neurograph.v1.models.organizations_brand_upsert_request import Organization
|
|
|
24
24
|
from neurograph.v1.models.organizations_organization_create_request import OrganizationsOrganizationCreateRequest
|
|
25
25
|
from neurograph.v1.models.organizations_organization_detail_response import OrganizationsOrganizationDetailResponse
|
|
26
26
|
from neurograph.v1.models.organizations_organization_get_many_response import OrganizationsOrganizationGetManyResponse
|
|
27
|
-
from neurograph.v1.models.organizations_organization_set_atlas_request import OrganizationsOrganizationSetAtlasRequest
|
|
28
|
-
from neurograph.v1.models.organizations_organization_set_atlas_response import OrganizationsOrganizationSetAtlasResponse
|
|
29
27
|
from neurograph.v1.models.organizations_organization_set_workbench_request import OrganizationsOrganizationSetWorkbenchRequest
|
|
30
28
|
from neurograph.v1.models.organizations_organization_set_workbench_response import OrganizationsOrganizationSetWorkbenchResponse
|
|
31
29
|
from neurograph.v1.models.organizations_organization_update_request import OrganizationsOrganizationUpdateRequest
|
|
@@ -48,273 +46,6 @@ class OrganizationApi:
|
|
|
48
46
|
self.api_client = api_client
|
|
49
47
|
|
|
50
48
|
|
|
51
|
-
@validate_call
|
|
52
|
-
def api_v1_organizations_atlas_post(
|
|
53
|
-
self,
|
|
54
|
-
request: Annotated[OrganizationsOrganizationSetAtlasRequest, Field(description="Body")],
|
|
55
|
-
_request_timeout: Union[
|
|
56
|
-
None,
|
|
57
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
58
|
-
Tuple[
|
|
59
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
60
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
61
|
-
]
|
|
62
|
-
] = None,
|
|
63
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
64
|
-
_content_type: Optional[StrictStr] = None,
|
|
65
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
66
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
67
|
-
) -> OrganizationsOrganizationSetAtlasResponse:
|
|
68
|
-
"""Set Organization's Atlas Version
|
|
69
|
-
|
|
70
|
-
Set Organization's Atlas Version
|
|
71
|
-
|
|
72
|
-
:param request: Body (required)
|
|
73
|
-
:type request: OrganizationsOrganizationSetAtlasRequest
|
|
74
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
75
|
-
number provided, it will be total request
|
|
76
|
-
timeout. It can also be a pair (tuple) of
|
|
77
|
-
(connection, read) timeouts.
|
|
78
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
79
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
80
|
-
request; this effectively ignores the
|
|
81
|
-
authentication in the spec for a single request.
|
|
82
|
-
:type _request_auth: dict, optional
|
|
83
|
-
:param _content_type: force content-type for the request.
|
|
84
|
-
:type _content_type: str, Optional
|
|
85
|
-
:param _headers: set to override the headers for a single
|
|
86
|
-
request; this effectively ignores the headers
|
|
87
|
-
in the spec for a single request.
|
|
88
|
-
:type _headers: dict, optional
|
|
89
|
-
:param _host_index: set to override the host_index for a single
|
|
90
|
-
request; this effectively ignores the host_index
|
|
91
|
-
in the spec for a single request.
|
|
92
|
-
:type _host_index: int, optional
|
|
93
|
-
:return: Returns the result object.
|
|
94
|
-
""" # noqa: E501
|
|
95
|
-
|
|
96
|
-
_param = self._api_v1_organizations_atlas_post_serialize(
|
|
97
|
-
request=request,
|
|
98
|
-
_request_auth=_request_auth,
|
|
99
|
-
_content_type=_content_type,
|
|
100
|
-
_headers=_headers,
|
|
101
|
-
_host_index=_host_index
|
|
102
|
-
)
|
|
103
|
-
|
|
104
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
105
|
-
'200': "OrganizationsOrganizationSetAtlasResponse",
|
|
106
|
-
'400': "OrganizationsOrganizationSetAtlasResponse",
|
|
107
|
-
'503': "OrganizationsOrganizationSetAtlasResponse",
|
|
108
|
-
}
|
|
109
|
-
response_data = self.api_client.call_api(
|
|
110
|
-
*_param,
|
|
111
|
-
_request_timeout=_request_timeout
|
|
112
|
-
)
|
|
113
|
-
response_data.read()
|
|
114
|
-
return self.api_client.response_deserialize(
|
|
115
|
-
response_data=response_data,
|
|
116
|
-
response_types_map=_response_types_map,
|
|
117
|
-
).data
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
@validate_call
|
|
121
|
-
def api_v1_organizations_atlas_post_with_http_info(
|
|
122
|
-
self,
|
|
123
|
-
request: Annotated[OrganizationsOrganizationSetAtlasRequest, Field(description="Body")],
|
|
124
|
-
_request_timeout: Union[
|
|
125
|
-
None,
|
|
126
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
127
|
-
Tuple[
|
|
128
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
129
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
130
|
-
]
|
|
131
|
-
] = None,
|
|
132
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
133
|
-
_content_type: Optional[StrictStr] = None,
|
|
134
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
135
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
136
|
-
) -> ApiResponse[OrganizationsOrganizationSetAtlasResponse]:
|
|
137
|
-
"""Set Organization's Atlas Version
|
|
138
|
-
|
|
139
|
-
Set Organization's Atlas Version
|
|
140
|
-
|
|
141
|
-
:param request: Body (required)
|
|
142
|
-
:type request: OrganizationsOrganizationSetAtlasRequest
|
|
143
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
144
|
-
number provided, it will be total request
|
|
145
|
-
timeout. It can also be a pair (tuple) of
|
|
146
|
-
(connection, read) timeouts.
|
|
147
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
148
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
149
|
-
request; this effectively ignores the
|
|
150
|
-
authentication in the spec for a single request.
|
|
151
|
-
:type _request_auth: dict, optional
|
|
152
|
-
:param _content_type: force content-type for the request.
|
|
153
|
-
:type _content_type: str, Optional
|
|
154
|
-
:param _headers: set to override the headers for a single
|
|
155
|
-
request; this effectively ignores the headers
|
|
156
|
-
in the spec for a single request.
|
|
157
|
-
:type _headers: dict, optional
|
|
158
|
-
:param _host_index: set to override the host_index for a single
|
|
159
|
-
request; this effectively ignores the host_index
|
|
160
|
-
in the spec for a single request.
|
|
161
|
-
:type _host_index: int, optional
|
|
162
|
-
:return: Returns the result object.
|
|
163
|
-
""" # noqa: E501
|
|
164
|
-
|
|
165
|
-
_param = self._api_v1_organizations_atlas_post_serialize(
|
|
166
|
-
request=request,
|
|
167
|
-
_request_auth=_request_auth,
|
|
168
|
-
_content_type=_content_type,
|
|
169
|
-
_headers=_headers,
|
|
170
|
-
_host_index=_host_index
|
|
171
|
-
)
|
|
172
|
-
|
|
173
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
174
|
-
'200': "OrganizationsOrganizationSetAtlasResponse",
|
|
175
|
-
'400': "OrganizationsOrganizationSetAtlasResponse",
|
|
176
|
-
'503': "OrganizationsOrganizationSetAtlasResponse",
|
|
177
|
-
}
|
|
178
|
-
response_data = self.api_client.call_api(
|
|
179
|
-
*_param,
|
|
180
|
-
_request_timeout=_request_timeout
|
|
181
|
-
)
|
|
182
|
-
response_data.read()
|
|
183
|
-
return self.api_client.response_deserialize(
|
|
184
|
-
response_data=response_data,
|
|
185
|
-
response_types_map=_response_types_map,
|
|
186
|
-
)
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
@validate_call
|
|
190
|
-
def api_v1_organizations_atlas_post_without_preload_content(
|
|
191
|
-
self,
|
|
192
|
-
request: Annotated[OrganizationsOrganizationSetAtlasRequest, Field(description="Body")],
|
|
193
|
-
_request_timeout: Union[
|
|
194
|
-
None,
|
|
195
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
196
|
-
Tuple[
|
|
197
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
198
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
199
|
-
]
|
|
200
|
-
] = None,
|
|
201
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
202
|
-
_content_type: Optional[StrictStr] = None,
|
|
203
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
204
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
205
|
-
) -> RESTResponseType:
|
|
206
|
-
"""Set Organization's Atlas Version
|
|
207
|
-
|
|
208
|
-
Set Organization's Atlas Version
|
|
209
|
-
|
|
210
|
-
:param request: Body (required)
|
|
211
|
-
:type request: OrganizationsOrganizationSetAtlasRequest
|
|
212
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
213
|
-
number provided, it will be total request
|
|
214
|
-
timeout. It can also be a pair (tuple) of
|
|
215
|
-
(connection, read) timeouts.
|
|
216
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
217
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
218
|
-
request; this effectively ignores the
|
|
219
|
-
authentication in the spec for a single request.
|
|
220
|
-
:type _request_auth: dict, optional
|
|
221
|
-
:param _content_type: force content-type for the request.
|
|
222
|
-
:type _content_type: str, Optional
|
|
223
|
-
:param _headers: set to override the headers for a single
|
|
224
|
-
request; this effectively ignores the headers
|
|
225
|
-
in the spec for a single request.
|
|
226
|
-
:type _headers: dict, optional
|
|
227
|
-
:param _host_index: set to override the host_index for a single
|
|
228
|
-
request; this effectively ignores the host_index
|
|
229
|
-
in the spec for a single request.
|
|
230
|
-
:type _host_index: int, optional
|
|
231
|
-
:return: Returns the result object.
|
|
232
|
-
""" # noqa: E501
|
|
233
|
-
|
|
234
|
-
_param = self._api_v1_organizations_atlas_post_serialize(
|
|
235
|
-
request=request,
|
|
236
|
-
_request_auth=_request_auth,
|
|
237
|
-
_content_type=_content_type,
|
|
238
|
-
_headers=_headers,
|
|
239
|
-
_host_index=_host_index
|
|
240
|
-
)
|
|
241
|
-
|
|
242
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
243
|
-
'200': "OrganizationsOrganizationSetAtlasResponse",
|
|
244
|
-
'400': "OrganizationsOrganizationSetAtlasResponse",
|
|
245
|
-
'503': "OrganizationsOrganizationSetAtlasResponse",
|
|
246
|
-
}
|
|
247
|
-
response_data = self.api_client.call_api(
|
|
248
|
-
*_param,
|
|
249
|
-
_request_timeout=_request_timeout
|
|
250
|
-
)
|
|
251
|
-
return response_data.response
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
def _api_v1_organizations_atlas_post_serialize(
|
|
255
|
-
self,
|
|
256
|
-
request,
|
|
257
|
-
_request_auth,
|
|
258
|
-
_content_type,
|
|
259
|
-
_headers,
|
|
260
|
-
_host_index,
|
|
261
|
-
) -> RequestSerialized:
|
|
262
|
-
|
|
263
|
-
_host = None
|
|
264
|
-
|
|
265
|
-
_collection_formats: Dict[str, str] = {
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
_path_params: Dict[str, str] = {}
|
|
269
|
-
_query_params: List[Tuple[str, str]] = []
|
|
270
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
271
|
-
_form_params: List[Tuple[str, str]] = []
|
|
272
|
-
_files: Dict[
|
|
273
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
274
|
-
] = {}
|
|
275
|
-
_body_params: Optional[bytes] = None
|
|
276
|
-
|
|
277
|
-
# process the path parameters
|
|
278
|
-
# process the query parameters
|
|
279
|
-
# process the header parameters
|
|
280
|
-
# process the form parameters
|
|
281
|
-
# process the body parameter
|
|
282
|
-
if request is not None:
|
|
283
|
-
_body_params = request
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
# set the HTTP header `Accept`
|
|
287
|
-
if 'Accept' not in _header_params:
|
|
288
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
289
|
-
[
|
|
290
|
-
'application/json'
|
|
291
|
-
]
|
|
292
|
-
)
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
# authentication setting
|
|
296
|
-
_auth_settings: List[str] = [
|
|
297
|
-
'ApiKeyAuth'
|
|
298
|
-
]
|
|
299
|
-
|
|
300
|
-
return self.api_client.param_serialize(
|
|
301
|
-
method='POST',
|
|
302
|
-
resource_path='/api/v1/organizations/atlas/',
|
|
303
|
-
path_params=_path_params,
|
|
304
|
-
query_params=_query_params,
|
|
305
|
-
header_params=_header_params,
|
|
306
|
-
body=_body_params,
|
|
307
|
-
post_params=_form_params,
|
|
308
|
-
files=_files,
|
|
309
|
-
auth_settings=_auth_settings,
|
|
310
|
-
collection_formats=_collection_formats,
|
|
311
|
-
_host=_host,
|
|
312
|
-
_request_auth=_request_auth
|
|
313
|
-
)
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
49
|
@validate_call
|
|
319
50
|
def api_v1_organizations_branding_post(
|
|
320
51
|
self,
|
|
@@ -574,6 +305,7 @@ class OrganizationApi:
|
|
|
574
305
|
|
|
575
306
|
# authentication setting
|
|
576
307
|
_auth_settings: List[str] = [
|
|
308
|
+
'TokenAuth',
|
|
577
309
|
'ApiKeyAuth'
|
|
578
310
|
]
|
|
579
311
|
|
|
@@ -860,6 +592,7 @@ class OrganizationApi:
|
|
|
860
592
|
|
|
861
593
|
# authentication setting
|
|
862
594
|
_auth_settings: List[str] = [
|
|
595
|
+
'TokenAuth',
|
|
863
596
|
'ApiKeyAuth'
|
|
864
597
|
]
|
|
865
598
|
|
|
@@ -1127,6 +860,7 @@ class OrganizationApi:
|
|
|
1127
860
|
|
|
1128
861
|
# authentication setting
|
|
1129
862
|
_auth_settings: List[str] = [
|
|
863
|
+
'TokenAuth',
|
|
1130
864
|
'ApiKeyAuth'
|
|
1131
865
|
]
|
|
1132
866
|
|
|
@@ -1407,6 +1141,7 @@ class OrganizationApi:
|
|
|
1407
1141
|
|
|
1408
1142
|
# authentication setting
|
|
1409
1143
|
_auth_settings: List[str] = [
|
|
1144
|
+
'TokenAuth',
|
|
1410
1145
|
'ApiKeyAuth'
|
|
1411
1146
|
]
|
|
1412
1147
|
|
|
@@ -1687,6 +1422,7 @@ class OrganizationApi:
|
|
|
1687
1422
|
|
|
1688
1423
|
# authentication setting
|
|
1689
1424
|
_auth_settings: List[str] = [
|
|
1425
|
+
'TokenAuth',
|
|
1690
1426
|
'ApiKeyAuth'
|
|
1691
1427
|
]
|
|
1692
1428
|
|
|
@@ -1727,7 +1463,7 @@ class OrganizationApi:
|
|
|
1727
1463
|
) -> OrganizationsOrganizationSetWorkbenchResponse:
|
|
1728
1464
|
"""Set Organization's Workbench Version
|
|
1729
1465
|
|
|
1730
|
-
Set Organization's Workbench Version
|
|
1466
|
+
Set Organization's Workbench Version.
|
|
1731
1467
|
|
|
1732
1468
|
:param request: Body (required)
|
|
1733
1469
|
:type request: OrganizationsOrganizationSetWorkbenchRequest
|
|
@@ -1796,7 +1532,7 @@ class OrganizationApi:
|
|
|
1796
1532
|
) -> ApiResponse[OrganizationsOrganizationSetWorkbenchResponse]:
|
|
1797
1533
|
"""Set Organization's Workbench Version
|
|
1798
1534
|
|
|
1799
|
-
Set Organization's Workbench Version
|
|
1535
|
+
Set Organization's Workbench Version.
|
|
1800
1536
|
|
|
1801
1537
|
:param request: Body (required)
|
|
1802
1538
|
:type request: OrganizationsOrganizationSetWorkbenchRequest
|
|
@@ -1865,7 +1601,7 @@ class OrganizationApi:
|
|
|
1865
1601
|
) -> RESTResponseType:
|
|
1866
1602
|
"""Set Organization's Workbench Version
|
|
1867
1603
|
|
|
1868
|
-
Set Organization's Workbench Version
|
|
1604
|
+
Set Organization's Workbench Version.
|
|
1869
1605
|
|
|
1870
1606
|
:param request: Body (required)
|
|
1871
1607
|
:type request: OrganizationsOrganizationSetWorkbenchRequest
|
|
@@ -1954,6 +1690,7 @@ class OrganizationApi:
|
|
|
1954
1690
|
|
|
1955
1691
|
# authentication setting
|
|
1956
1692
|
_auth_settings: List[str] = [
|
|
1693
|
+
'TokenAuth',
|
|
1957
1694
|
'ApiKeyAuth'
|
|
1958
1695
|
]
|
|
1959
1696
|
|
|
@@ -302,6 +302,7 @@ class OrganizationMetadataApi:
|
|
|
302
302
|
|
|
303
303
|
# authentication setting
|
|
304
304
|
_auth_settings: List[str] = [
|
|
305
|
+
'TokenAuth',
|
|
305
306
|
'ApiKeyAuth'
|
|
306
307
|
]
|
|
307
308
|
|
|
@@ -569,6 +570,7 @@ class OrganizationMetadataApi:
|
|
|
569
570
|
|
|
570
571
|
# authentication setting
|
|
571
572
|
_auth_settings: List[str] = [
|
|
573
|
+
'TokenAuth',
|
|
572
574
|
'ApiKeyAuth'
|
|
573
575
|
]
|
|
574
576
|
|
|
@@ -851,6 +853,7 @@ class OrganizationMetadataApi:
|
|
|
851
853
|
|
|
852
854
|
# authentication setting
|
|
853
855
|
_auth_settings: List[str] = [
|
|
856
|
+
'TokenAuth',
|
|
854
857
|
'ApiKeyAuth'
|
|
855
858
|
]
|
|
856
859
|
|