neurograph-core 1.202509152210__py3-none-any.whl → 1.202509191907__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 +6 -3
- neurograph/v1/api/authentication_api.py +12 -20
- neurograph/v1/api/knowledge_api.py +3 -3
- neurograph/v1/api/persona_api.py +12 -12
- neurograph/v1/models/__init__.py +4 -2
- neurograph/v1/models/auth_service_token_response.py +93 -0
- neurograph/v1/models/{personas_persona_seed_create_response.py → personas_persona_seed.py} +4 -4
- neurograph/v1/models/personas_persona_seed_get_many_response.py +3 -3
- {neurograph_core-1.202509152210.dist-info → neurograph_core-1.202509191907.dist-info}/METADATA +1 -1
- {neurograph_core-1.202509152210.dist-info → neurograph_core-1.202509191907.dist-info}/RECORD +12 -11
- {neurograph_core-1.202509152210.dist-info → neurograph_core-1.202509191907.dist-info}/WHEEL +0 -0
- {neurograph_core-1.202509152210.dist-info → neurograph_core-1.202509191907.dist-info}/top_level.txt +0 -0
neurograph/v1/__init__.py
CHANGED
|
@@ -40,6 +40,7 @@ __all__ = [
|
|
|
40
40
|
"ApiAttributeError",
|
|
41
41
|
"ApiException",
|
|
42
42
|
"AuthServiceTokenRequest",
|
|
43
|
+
"AuthServiceTokenResponse",
|
|
43
44
|
"AuthTestServiceTokenRequest",
|
|
44
45
|
"AuthTestServiceTokenResponse",
|
|
45
46
|
"AuthTestTokenResponse",
|
|
@@ -168,8 +169,8 @@ __all__ = [
|
|
|
168
169
|
"PersonasPersonaMatchCriteriaRequest",
|
|
169
170
|
"PersonasPersonaMatchCriteriaResponse",
|
|
170
171
|
"PersonasPersonaPersonalityTrait",
|
|
172
|
+
"PersonasPersonaSeed",
|
|
171
173
|
"PersonasPersonaSeedCreateRequest",
|
|
172
|
-
"PersonasPersonaSeedCreateResponse",
|
|
173
174
|
"PersonasPersonaSeedGetManyResponse",
|
|
174
175
|
"PersonasPersonaSeedsDeleteRequest",
|
|
175
176
|
"PersonasPersonaSeedsDeleteResponse",
|
|
@@ -217,6 +218,7 @@ if __import__("typing").TYPE_CHECKING:
|
|
|
217
218
|
|
|
218
219
|
# import models into sdk package
|
|
219
220
|
from neurograph.v1.models.auth_service_token_request import AuthServiceTokenRequest as AuthServiceTokenRequest
|
|
221
|
+
from neurograph.v1.models.auth_service_token_response import AuthServiceTokenResponse as AuthServiceTokenResponse
|
|
220
222
|
from neurograph.v1.models.auth_test_service_token_request import AuthTestServiceTokenRequest as AuthTestServiceTokenRequest
|
|
221
223
|
from neurograph.v1.models.auth_test_service_token_response import AuthTestServiceTokenResponse as AuthTestServiceTokenResponse
|
|
222
224
|
from neurograph.v1.models.auth_test_token_response import AuthTestTokenResponse as AuthTestTokenResponse
|
|
@@ -345,8 +347,8 @@ if __import__("typing").TYPE_CHECKING:
|
|
|
345
347
|
from neurograph.v1.models.personas_persona_match_criteria_request import PersonasPersonaMatchCriteriaRequest as PersonasPersonaMatchCriteriaRequest
|
|
346
348
|
from neurograph.v1.models.personas_persona_match_criteria_response import PersonasPersonaMatchCriteriaResponse as PersonasPersonaMatchCriteriaResponse
|
|
347
349
|
from neurograph.v1.models.personas_persona_personality_trait import PersonasPersonaPersonalityTrait as PersonasPersonaPersonalityTrait
|
|
350
|
+
from neurograph.v1.models.personas_persona_seed import PersonasPersonaSeed as PersonasPersonaSeed
|
|
348
351
|
from neurograph.v1.models.personas_persona_seed_create_request import PersonasPersonaSeedCreateRequest as PersonasPersonaSeedCreateRequest
|
|
349
|
-
from neurograph.v1.models.personas_persona_seed_create_response import PersonasPersonaSeedCreateResponse as PersonasPersonaSeedCreateResponse
|
|
350
352
|
from neurograph.v1.models.personas_persona_seed_get_many_response import PersonasPersonaSeedGetManyResponse as PersonasPersonaSeedGetManyResponse
|
|
351
353
|
from neurograph.v1.models.personas_persona_seeds_delete_request import PersonasPersonaSeedsDeleteRequest as PersonasPersonaSeedsDeleteRequest
|
|
352
354
|
from neurograph.v1.models.personas_persona_seeds_delete_response import PersonasPersonaSeedsDeleteResponse as PersonasPersonaSeedsDeleteResponse
|
|
@@ -400,6 +402,7 @@ from neurograph.v1.exceptions import ApiException as ApiException
|
|
|
400
402
|
|
|
401
403
|
# import models into sdk package
|
|
402
404
|
from neurograph.v1.models.auth_service_token_request import AuthServiceTokenRequest as AuthServiceTokenRequest
|
|
405
|
+
from neurograph.v1.models.auth_service_token_response import AuthServiceTokenResponse as AuthServiceTokenResponse
|
|
403
406
|
from neurograph.v1.models.auth_test_service_token_request import AuthTestServiceTokenRequest as AuthTestServiceTokenRequest
|
|
404
407
|
from neurograph.v1.models.auth_test_service_token_response import AuthTestServiceTokenResponse as AuthTestServiceTokenResponse
|
|
405
408
|
from neurograph.v1.models.auth_test_token_response import AuthTestTokenResponse as AuthTestTokenResponse
|
|
@@ -528,8 +531,8 @@ from neurograph.v1.models.personas_persona_kpi_resp import PersonasPersonaKpiRes
|
|
|
528
531
|
from neurograph.v1.models.personas_persona_match_criteria_request import PersonasPersonaMatchCriteriaRequest as PersonasPersonaMatchCriteriaRequest
|
|
529
532
|
from neurograph.v1.models.personas_persona_match_criteria_response import PersonasPersonaMatchCriteriaResponse as PersonasPersonaMatchCriteriaResponse
|
|
530
533
|
from neurograph.v1.models.personas_persona_personality_trait import PersonasPersonaPersonalityTrait as PersonasPersonaPersonalityTrait
|
|
534
|
+
from neurograph.v1.models.personas_persona_seed import PersonasPersonaSeed as PersonasPersonaSeed
|
|
531
535
|
from neurograph.v1.models.personas_persona_seed_create_request import PersonasPersonaSeedCreateRequest as PersonasPersonaSeedCreateRequest
|
|
532
|
-
from neurograph.v1.models.personas_persona_seed_create_response import PersonasPersonaSeedCreateResponse as PersonasPersonaSeedCreateResponse
|
|
533
536
|
from neurograph.v1.models.personas_persona_seed_get_many_response import PersonasPersonaSeedGetManyResponse as PersonasPersonaSeedGetManyResponse
|
|
534
537
|
from neurograph.v1.models.personas_persona_seeds_delete_request import PersonasPersonaSeedsDeleteRequest as PersonasPersonaSeedsDeleteRequest
|
|
535
538
|
from neurograph.v1.models.personas_persona_seeds_delete_response import PersonasPersonaSeedsDeleteResponse as PersonasPersonaSeedsDeleteResponse
|
|
@@ -19,6 +19,7 @@ from typing_extensions import Annotated
|
|
|
19
19
|
from pydantic import Field
|
|
20
20
|
from typing_extensions import Annotated
|
|
21
21
|
from neurograph.v1.models.auth_service_token_request import AuthServiceTokenRequest
|
|
22
|
+
from neurograph.v1.models.auth_service_token_response import AuthServiceTokenResponse
|
|
22
23
|
from neurograph.v1.models.auth_test_service_token_request import AuthTestServiceTokenRequest
|
|
23
24
|
from neurograph.v1.models.auth_test_service_token_response import AuthTestServiceTokenResponse
|
|
24
25
|
from neurograph.v1.models.auth_test_token_response import AuthTestTokenResponse
|
|
@@ -96,9 +97,6 @@ class AuthenticationApi:
|
|
|
96
97
|
|
|
97
98
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
98
99
|
'200': "AuthTestServiceTokenResponse",
|
|
99
|
-
'400': "AuthTestServiceTokenResponse",
|
|
100
|
-
'403': "AuthTestServiceTokenResponse",
|
|
101
|
-
'500': "AuthTestServiceTokenResponse",
|
|
102
100
|
}
|
|
103
101
|
response_data = self.api_client.call_api(
|
|
104
102
|
*_param,
|
|
@@ -166,9 +164,6 @@ class AuthenticationApi:
|
|
|
166
164
|
|
|
167
165
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
168
166
|
'200': "AuthTestServiceTokenResponse",
|
|
169
|
-
'400': "AuthTestServiceTokenResponse",
|
|
170
|
-
'403': "AuthTestServiceTokenResponse",
|
|
171
|
-
'500': "AuthTestServiceTokenResponse",
|
|
172
167
|
}
|
|
173
168
|
response_data = self.api_client.call_api(
|
|
174
169
|
*_param,
|
|
@@ -236,9 +231,6 @@ class AuthenticationApi:
|
|
|
236
231
|
|
|
237
232
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
238
233
|
'200': "AuthTestServiceTokenResponse",
|
|
239
|
-
'400': "AuthTestServiceTokenResponse",
|
|
240
|
-
'403': "AuthTestServiceTokenResponse",
|
|
241
|
-
'500': "AuthTestServiceTokenResponse",
|
|
242
234
|
}
|
|
243
235
|
response_data = self.api_client.call_api(
|
|
244
236
|
*_param,
|
|
@@ -339,7 +331,7 @@ class AuthenticationApi:
|
|
|
339
331
|
_content_type: Optional[StrictStr] = None,
|
|
340
332
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
341
333
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
342
|
-
) ->
|
|
334
|
+
) -> AuthServiceTokenResponse:
|
|
343
335
|
"""Create a service token for the requesting user
|
|
344
336
|
|
|
345
337
|
A service token can be used on the `Authorization` header. eg., `Bearer <token>`.
|
|
@@ -377,9 +369,9 @@ class AuthenticationApi:
|
|
|
377
369
|
)
|
|
378
370
|
|
|
379
371
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
380
|
-
'200': "
|
|
381
|
-
'400': "
|
|
382
|
-
'500': "
|
|
372
|
+
'200': "AuthServiceTokenResponse",
|
|
373
|
+
'400': "AuthServiceTokenResponse",
|
|
374
|
+
'500': "AuthServiceTokenResponse",
|
|
383
375
|
}
|
|
384
376
|
response_data = self.api_client.call_api(
|
|
385
377
|
*_param,
|
|
@@ -408,7 +400,7 @@ class AuthenticationApi:
|
|
|
408
400
|
_content_type: Optional[StrictStr] = None,
|
|
409
401
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
410
402
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
411
|
-
) -> ApiResponse[
|
|
403
|
+
) -> ApiResponse[AuthServiceTokenResponse]:
|
|
412
404
|
"""Create a service token for the requesting user
|
|
413
405
|
|
|
414
406
|
A service token can be used on the `Authorization` header. eg., `Bearer <token>`.
|
|
@@ -446,9 +438,9 @@ class AuthenticationApi:
|
|
|
446
438
|
)
|
|
447
439
|
|
|
448
440
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
449
|
-
'200': "
|
|
450
|
-
'400': "
|
|
451
|
-
'500': "
|
|
441
|
+
'200': "AuthServiceTokenResponse",
|
|
442
|
+
'400': "AuthServiceTokenResponse",
|
|
443
|
+
'500': "AuthServiceTokenResponse",
|
|
452
444
|
}
|
|
453
445
|
response_data = self.api_client.call_api(
|
|
454
446
|
*_param,
|
|
@@ -515,9 +507,9 @@ class AuthenticationApi:
|
|
|
515
507
|
)
|
|
516
508
|
|
|
517
509
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
518
|
-
'200': "
|
|
519
|
-
'400': "
|
|
520
|
-
'500': "
|
|
510
|
+
'200': "AuthServiceTokenResponse",
|
|
511
|
+
'400': "AuthServiceTokenResponse",
|
|
512
|
+
'500': "AuthServiceTokenResponse",
|
|
521
513
|
}
|
|
522
514
|
response_data = self.api_client.call_api(
|
|
523
515
|
*_param,
|
|
@@ -637,7 +637,7 @@ class KnowledgeApi:
|
|
|
637
637
|
|
|
638
638
|
return self.api_client.param_serialize(
|
|
639
639
|
method='POST',
|
|
640
|
-
resource_path='/api/v1/knowledge/assertion',
|
|
640
|
+
resource_path='/api/v1/knowledge/assertion/',
|
|
641
641
|
path_params=_path_params,
|
|
642
642
|
query_params=_query_params,
|
|
643
643
|
header_params=_header_params,
|
|
@@ -1910,7 +1910,7 @@ class KnowledgeApi:
|
|
|
1910
1910
|
|
|
1911
1911
|
return self.api_client.param_serialize(
|
|
1912
1912
|
method='GET',
|
|
1913
|
-
resource_path='/api/v1/knowledge/enrichment/artifact',
|
|
1913
|
+
resource_path='/api/v1/knowledge/enrichment/artifact/',
|
|
1914
1914
|
path_params=_path_params,
|
|
1915
1915
|
query_params=_query_params,
|
|
1916
1916
|
header_params=_header_params,
|
|
@@ -2190,7 +2190,7 @@ class KnowledgeApi:
|
|
|
2190
2190
|
|
|
2191
2191
|
return self.api_client.param_serialize(
|
|
2192
2192
|
method='POST',
|
|
2193
|
-
resource_path='/api/v1/knowledge/enrichment/artifact',
|
|
2193
|
+
resource_path='/api/v1/knowledge/enrichment/artifact/',
|
|
2194
2194
|
path_params=_path_params,
|
|
2195
2195
|
query_params=_query_params,
|
|
2196
2196
|
header_params=_header_params,
|
neurograph/v1/api/persona_api.py
CHANGED
|
@@ -32,8 +32,8 @@ from neurograph.v1.models.personas_persona_kpi_create_request import PersonasPer
|
|
|
32
32
|
from neurograph.v1.models.personas_persona_kpi_create_response import PersonasPersonaKpiCreateResponse
|
|
33
33
|
from neurograph.v1.models.personas_persona_match_criteria_request import PersonasPersonaMatchCriteriaRequest
|
|
34
34
|
from neurograph.v1.models.personas_persona_match_criteria_response import PersonasPersonaMatchCriteriaResponse
|
|
35
|
+
from neurograph.v1.models.personas_persona_seed import PersonasPersonaSeed
|
|
35
36
|
from neurograph.v1.models.personas_persona_seed_create_request import PersonasPersonaSeedCreateRequest
|
|
36
|
-
from neurograph.v1.models.personas_persona_seed_create_response import PersonasPersonaSeedCreateResponse
|
|
37
37
|
from neurograph.v1.models.personas_persona_seed_get_many_response import PersonasPersonaSeedGetManyResponse
|
|
38
38
|
from neurograph.v1.models.personas_persona_seeds_delete_request import PersonasPersonaSeedsDeleteRequest
|
|
39
39
|
from neurograph.v1.models.personas_persona_seeds_delete_response import PersonasPersonaSeedsDeleteResponse
|
|
@@ -2784,7 +2784,7 @@ class PersonaApi:
|
|
|
2784
2784
|
_content_type: Optional[StrictStr] = None,
|
|
2785
2785
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2786
2786
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2787
|
-
) ->
|
|
2787
|
+
) -> PersonasPersonaSeed:
|
|
2788
2788
|
"""Create a Persona Seed
|
|
2789
2789
|
|
|
2790
2790
|
A Persona Seed is the top level concept of a Persona. Each seed may have multiple persona instances, or copies, that reflect that person at some point in time.
|
|
@@ -2822,9 +2822,9 @@ class PersonaApi:
|
|
|
2822
2822
|
)
|
|
2823
2823
|
|
|
2824
2824
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2825
|
-
'200': "
|
|
2826
|
-
'400': "
|
|
2827
|
-
'503': "
|
|
2825
|
+
'200': "PersonasPersonaSeed",
|
|
2826
|
+
'400': "PersonasPersonaSeed",
|
|
2827
|
+
'503': "PersonasPersonaSeed",
|
|
2828
2828
|
}
|
|
2829
2829
|
response_data = self.api_client.call_api(
|
|
2830
2830
|
*_param,
|
|
@@ -2853,7 +2853,7 @@ class PersonaApi:
|
|
|
2853
2853
|
_content_type: Optional[StrictStr] = None,
|
|
2854
2854
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2855
2855
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2856
|
-
) -> ApiResponse[
|
|
2856
|
+
) -> ApiResponse[PersonasPersonaSeed]:
|
|
2857
2857
|
"""Create a Persona Seed
|
|
2858
2858
|
|
|
2859
2859
|
A Persona Seed is the top level concept of a Persona. Each seed may have multiple persona instances, or copies, that reflect that person at some point in time.
|
|
@@ -2891,9 +2891,9 @@ class PersonaApi:
|
|
|
2891
2891
|
)
|
|
2892
2892
|
|
|
2893
2893
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2894
|
-
'200': "
|
|
2895
|
-
'400': "
|
|
2896
|
-
'503': "
|
|
2894
|
+
'200': "PersonasPersonaSeed",
|
|
2895
|
+
'400': "PersonasPersonaSeed",
|
|
2896
|
+
'503': "PersonasPersonaSeed",
|
|
2897
2897
|
}
|
|
2898
2898
|
response_data = self.api_client.call_api(
|
|
2899
2899
|
*_param,
|
|
@@ -2960,9 +2960,9 @@ class PersonaApi:
|
|
|
2960
2960
|
)
|
|
2961
2961
|
|
|
2962
2962
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2963
|
-
'200': "
|
|
2964
|
-
'400': "
|
|
2965
|
-
'503': "
|
|
2963
|
+
'200': "PersonasPersonaSeed",
|
|
2964
|
+
'400': "PersonasPersonaSeed",
|
|
2965
|
+
'503': "PersonasPersonaSeed",
|
|
2966
2966
|
}
|
|
2967
2967
|
response_data = self.api_client.call_api(
|
|
2968
2968
|
*_param,
|
neurograph/v1/models/__init__.py
CHANGED
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
if __import__("typing").TYPE_CHECKING:
|
|
17
17
|
# import models into model package
|
|
18
18
|
from neurograph.v1.models.auth_service_token_request import AuthServiceTokenRequest
|
|
19
|
+
from neurograph.v1.models.auth_service_token_response import AuthServiceTokenResponse
|
|
19
20
|
from neurograph.v1.models.auth_test_service_token_request import AuthTestServiceTokenRequest
|
|
20
21
|
from neurograph.v1.models.auth_test_service_token_response import AuthTestServiceTokenResponse
|
|
21
22
|
from neurograph.v1.models.auth_test_token_response import AuthTestTokenResponse
|
|
@@ -144,8 +145,8 @@ if __import__("typing").TYPE_CHECKING:
|
|
|
144
145
|
from neurograph.v1.models.personas_persona_match_criteria_request import PersonasPersonaMatchCriteriaRequest
|
|
145
146
|
from neurograph.v1.models.personas_persona_match_criteria_response import PersonasPersonaMatchCriteriaResponse
|
|
146
147
|
from neurograph.v1.models.personas_persona_personality_trait import PersonasPersonaPersonalityTrait
|
|
148
|
+
from neurograph.v1.models.personas_persona_seed import PersonasPersonaSeed
|
|
147
149
|
from neurograph.v1.models.personas_persona_seed_create_request import PersonasPersonaSeedCreateRequest
|
|
148
|
-
from neurograph.v1.models.personas_persona_seed_create_response import PersonasPersonaSeedCreateResponse
|
|
149
150
|
from neurograph.v1.models.personas_persona_seed_get_many_response import PersonasPersonaSeedGetManyResponse
|
|
150
151
|
from neurograph.v1.models.personas_persona_seeds_delete_request import PersonasPersonaSeedsDeleteRequest
|
|
151
152
|
from neurograph.v1.models.personas_persona_seeds_delete_response import PersonasPersonaSeedsDeleteResponse
|
|
@@ -172,6 +173,7 @@ else:
|
|
|
172
173
|
*as_package(__file__),
|
|
173
174
|
"""# import models into model package
|
|
174
175
|
from neurograph.v1.models.auth_service_token_request import AuthServiceTokenRequest
|
|
176
|
+
from neurograph.v1.models.auth_service_token_response import AuthServiceTokenResponse
|
|
175
177
|
from neurograph.v1.models.auth_test_service_token_request import AuthTestServiceTokenRequest
|
|
176
178
|
from neurograph.v1.models.auth_test_service_token_response import AuthTestServiceTokenResponse
|
|
177
179
|
from neurograph.v1.models.auth_test_token_response import AuthTestTokenResponse
|
|
@@ -300,8 +302,8 @@ from neurograph.v1.models.personas_persona_kpi_resp import PersonasPersonaKpiRes
|
|
|
300
302
|
from neurograph.v1.models.personas_persona_match_criteria_request import PersonasPersonaMatchCriteriaRequest
|
|
301
303
|
from neurograph.v1.models.personas_persona_match_criteria_response import PersonasPersonaMatchCriteriaResponse
|
|
302
304
|
from neurograph.v1.models.personas_persona_personality_trait import PersonasPersonaPersonalityTrait
|
|
305
|
+
from neurograph.v1.models.personas_persona_seed import PersonasPersonaSeed
|
|
303
306
|
from neurograph.v1.models.personas_persona_seed_create_request import PersonasPersonaSeedCreateRequest
|
|
304
|
-
from neurograph.v1.models.personas_persona_seed_create_response import PersonasPersonaSeedCreateResponse
|
|
305
307
|
from neurograph.v1.models.personas_persona_seed_get_many_response import PersonasPersonaSeedGetManyResponse
|
|
306
308
|
from neurograph.v1.models.personas_persona_seeds_delete_request import PersonasPersonaSeedsDeleteRequest
|
|
307
309
|
from neurograph.v1.models.personas_persona_seeds_delete_response import PersonasPersonaSeedsDeleteResponse
|
|
@@ -0,0 +1,93 @@
|
|
|
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
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, StrictStr
|
|
21
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
+
from typing import Optional, Set
|
|
23
|
+
from typing_extensions import Self
|
|
24
|
+
|
|
25
|
+
class AuthServiceTokenResponse(BaseModel):
|
|
26
|
+
"""
|
|
27
|
+
AuthServiceTokenResponse
|
|
28
|
+
""" # noqa: E501
|
|
29
|
+
error: Optional[StrictStr] = None
|
|
30
|
+
scopes: Optional[List[StrictStr]] = None
|
|
31
|
+
token: Optional[StrictStr] = None
|
|
32
|
+
ts_expires: Optional[StrictStr] = None
|
|
33
|
+
__properties: ClassVar[List[str]] = ["error", "scopes", "token", "ts_expires"]
|
|
34
|
+
|
|
35
|
+
model_config = ConfigDict(
|
|
36
|
+
populate_by_name=True,
|
|
37
|
+
validate_assignment=True,
|
|
38
|
+
protected_namespaces=(),
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
def to_str(self) -> str:
|
|
43
|
+
"""Returns the string representation of the model using alias"""
|
|
44
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
45
|
+
|
|
46
|
+
def to_json(self) -> str:
|
|
47
|
+
"""Returns the JSON representation of the model using alias"""
|
|
48
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
49
|
+
return json.dumps(self.to_dict())
|
|
50
|
+
|
|
51
|
+
@classmethod
|
|
52
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
53
|
+
"""Create an instance of AuthServiceTokenResponse from a JSON string"""
|
|
54
|
+
return cls.from_dict(json.loads(json_str))
|
|
55
|
+
|
|
56
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
57
|
+
"""Return the dictionary representation of the model using alias.
|
|
58
|
+
|
|
59
|
+
This has the following differences from calling pydantic's
|
|
60
|
+
`self.model_dump(by_alias=True)`:
|
|
61
|
+
|
|
62
|
+
* `None` is only added to the output dict for nullable fields that
|
|
63
|
+
were set at model initialization. Other fields with value `None`
|
|
64
|
+
are ignored.
|
|
65
|
+
"""
|
|
66
|
+
excluded_fields: Set[str] = set([
|
|
67
|
+
])
|
|
68
|
+
|
|
69
|
+
_dict = self.model_dump(
|
|
70
|
+
by_alias=True,
|
|
71
|
+
exclude=excluded_fields,
|
|
72
|
+
exclude_none=True,
|
|
73
|
+
)
|
|
74
|
+
return _dict
|
|
75
|
+
|
|
76
|
+
@classmethod
|
|
77
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
78
|
+
"""Create an instance of AuthServiceTokenResponse from a dict"""
|
|
79
|
+
if obj is None:
|
|
80
|
+
return None
|
|
81
|
+
|
|
82
|
+
if not isinstance(obj, dict):
|
|
83
|
+
return cls.model_validate(obj)
|
|
84
|
+
|
|
85
|
+
_obj = cls.model_validate({
|
|
86
|
+
"error": obj.get("error"),
|
|
87
|
+
"scopes": obj.get("scopes"),
|
|
88
|
+
"token": obj.get("token"),
|
|
89
|
+
"ts_expires": obj.get("ts_expires")
|
|
90
|
+
})
|
|
91
|
+
return _obj
|
|
92
|
+
|
|
93
|
+
|
|
@@ -22,9 +22,9 @@ from typing import Any, ClassVar, Dict, List, Optional
|
|
|
22
22
|
from typing import Optional, Set
|
|
23
23
|
from typing_extensions import Self
|
|
24
24
|
|
|
25
|
-
class
|
|
25
|
+
class PersonasPersonaSeed(BaseModel):
|
|
26
26
|
"""
|
|
27
|
-
|
|
27
|
+
PersonasPersonaSeed
|
|
28
28
|
""" # noqa: E501
|
|
29
29
|
client_id: Optional[StrictStr] = None
|
|
30
30
|
error: Optional[StrictStr] = None
|
|
@@ -52,7 +52,7 @@ class PersonasPersonaSeedCreateResponse(BaseModel):
|
|
|
52
52
|
|
|
53
53
|
@classmethod
|
|
54
54
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
55
|
-
"""Create an instance of
|
|
55
|
+
"""Create an instance of PersonasPersonaSeed from a JSON string"""
|
|
56
56
|
return cls.from_dict(json.loads(json_str))
|
|
57
57
|
|
|
58
58
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -77,7 +77,7 @@ class PersonasPersonaSeedCreateResponse(BaseModel):
|
|
|
77
77
|
|
|
78
78
|
@classmethod
|
|
79
79
|
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
80
|
-
"""Create an instance of
|
|
80
|
+
"""Create an instance of PersonasPersonaSeed from a dict"""
|
|
81
81
|
if obj is None:
|
|
82
82
|
return None
|
|
83
83
|
|
|
@@ -19,7 +19,7 @@ import json
|
|
|
19
19
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
-
from neurograph.v1.models.
|
|
22
|
+
from neurograph.v1.models.personas_persona_seed import PersonasPersonaSeed
|
|
23
23
|
from typing import Optional, Set
|
|
24
24
|
from typing_extensions import Self
|
|
25
25
|
|
|
@@ -28,7 +28,7 @@ class PersonasPersonaSeedGetManyResponse(BaseModel):
|
|
|
28
28
|
PersonasPersonaSeedGetManyResponse
|
|
29
29
|
""" # noqa: E501
|
|
30
30
|
client_id: Optional[StrictInt] = None
|
|
31
|
-
data: Optional[List[
|
|
31
|
+
data: Optional[List[PersonasPersonaSeed]] = None
|
|
32
32
|
error: Optional[StrictStr] = None
|
|
33
33
|
query_limit: Optional[StrictInt] = None
|
|
34
34
|
query_offset: Optional[StrictInt] = None
|
|
@@ -94,7 +94,7 @@ class PersonasPersonaSeedGetManyResponse(BaseModel):
|
|
|
94
94
|
|
|
95
95
|
_obj = cls.model_validate({
|
|
96
96
|
"client_id": obj.get("client_id"),
|
|
97
|
-
"data": [
|
|
97
|
+
"data": [PersonasPersonaSeed.from_dict(_item) for _item in obj["data"]] if obj.get("data") is not None else None,
|
|
98
98
|
"error": obj.get("error"),
|
|
99
99
|
"query_limit": obj.get("query_limit"),
|
|
100
100
|
"query_offset": obj.get("query_offset"),
|
{neurograph_core-1.202509152210.dist-info → neurograph_core-1.202509191907.dist-info}/RECORD
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
neurograph/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
neurograph/v1/__init__.py,sha256=
|
|
2
|
+
neurograph/v1/__init__.py,sha256=aJ8YKeIf1__WFEn3ttEZP6f0gSwTk9yD5yPVzBVTQgE,46321
|
|
3
3
|
neurograph/v1/api_client.py,sha256=E7Ee4FJDhsq1MSZx1Xhaaabln3Ww8DZhzK7rk7Z4Evc,27790
|
|
4
4
|
neurograph/v1/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
5
5
|
neurograph/v1/configuration.py,sha256=Z9W6H5lLIHbBY8hJwTw9Zd26kLWVOaoPwnc3daBOIVM,19190
|
|
@@ -7,20 +7,21 @@ neurograph/v1/exceptions.py,sha256=I4t1fFbhv-J1GCFTfEPCwpt44WyqWNjLwQCVafRLMB4,6
|
|
|
7
7
|
neurograph/v1/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
8
|
neurograph/v1/rest.py,sha256=76e_8kyCWAYYFmtCFJajhCm7clvTTufaidBiNl6pNEA,9473
|
|
9
9
|
neurograph/v1/api/__init__.py,sha256=SBCkx7qN8BurI5Oj4lTqwAJDJGUmYaiNgX5itaP_0t0,1839
|
|
10
|
-
neurograph/v1/api/authentication_api.py,sha256=
|
|
10
|
+
neurograph/v1/api/authentication_api.py,sha256=5Qzs_TMzcjrPAQxbWAZ6HHXM80Fqfv42hq9_uzkKRAI,33388
|
|
11
11
|
neurograph/v1/api/client_api.py,sha256=o6C0TvcjqvRwd00MqeJyAcbttkcL2ZpqvVxkx6liAgU,88288
|
|
12
12
|
neurograph/v1/api/client_metadata_api.py,sha256=qrP-w-83sxqx3PoNbWTLwQNjl6kEK41ExFx-wA9qeBA,45978
|
|
13
13
|
neurograph/v1/api/dagster_api.py,sha256=iKXG-WzcJNmeUqYhPv3NPPbzNgn4sZ0_HZLtF74ysKc,22283
|
|
14
|
-
neurograph/v1/api/knowledge_api.py,sha256=
|
|
14
|
+
neurograph/v1/api/knowledge_api.py,sha256=WDQQc159W4Iw6rxRzTL630316A9m_OiAxvlYzuB5thA,175368
|
|
15
15
|
neurograph/v1/api/knowledge_extract_api.py,sha256=SkaITyaEukSt3murGIv2vT993-XvELaftmItV4rIng4,69067
|
|
16
16
|
neurograph/v1/api/lookup_api.py,sha256=ZzkcLriepFRUW-bnKuU8ZMLP7TLhoUD6mnvLkYxpw-4,40274
|
|
17
17
|
neurograph/v1/api/organization_api.py,sha256=iwP8jda6osBlQ0GtvOUlAcozG8B3LOtU1_KhkzrCmGY,78940
|
|
18
18
|
neurograph/v1/api/organization_metadata_api.py,sha256=mZP1V0vFIuOSY07z8YikW-gOGFLeL4NV4lUoZTM4xjs,35246
|
|
19
|
-
neurograph/v1/api/persona_api.py,sha256=
|
|
19
|
+
neurograph/v1/api/persona_api.py,sha256=lK4mKAvcQQcE08vo3QwtZjXgWfpEnKhg5Sb9T8VxByY,133509
|
|
20
20
|
neurograph/v1/api/system_api.py,sha256=IIy_ywuthVoa9e_Mrhf34ZsPemMTFm-3lMxVT6DgaKI,10864
|
|
21
21
|
neurograph/v1/api/workbench_api.py,sha256=BMhqbbd_PSZ27br7idOgyZFdxMQ0N7O4fFQq8n_6JVs,34221
|
|
22
|
-
neurograph/v1/models/__init__.py,sha256=
|
|
22
|
+
neurograph/v1/models/__init__.py,sha256=XdtQOu6lBzGapVYB4JzSQj6Fp1qfOgLTZAbfy1qOb90,28272
|
|
23
23
|
neurograph/v1/models/auth_service_token_request.py,sha256=xm8UyKQ-BlU-DvP94s5q7Rkn0lX1Nv4URh1ZemH4V7U,2545
|
|
24
|
+
neurograph/v1/models/auth_service_token_response.py,sha256=TZz64r4N0RNjSVADmPizQbITYcGRFfO9PzN_3-O-s-w,2837
|
|
24
25
|
neurograph/v1/models/auth_test_service_token_request.py,sha256=HfqU8-Bd96mr1t9sp7JQKtz_yCenxI4xWXsCUmUDcX0,2561
|
|
25
26
|
neurograph/v1/models/auth_test_service_token_response.py,sha256=XqS28d5LvmrM-_qvaPtCfADV2YwDzjkl6LMmb4IaXxg,2676
|
|
26
27
|
neurograph/v1/models/auth_test_token_response.py,sha256=HB9P4liewjASjN_oMQ2VFvr0HuEFVjtsYFolVKEht_w,2545
|
|
@@ -149,9 +150,9 @@ neurograph/v1/models/personas_persona_kpi_resp.py,sha256=PQkSzkSaVASYs4iqewcVCWg
|
|
|
149
150
|
neurograph/v1/models/personas_persona_match_criteria_request.py,sha256=0Zpy51cuRWEupYuEcrc2Du2QktrljdLO5dfR0KnA_PM,3096
|
|
150
151
|
neurograph/v1/models/personas_persona_match_criteria_response.py,sha256=Ljh_SC3dVw-8a0MqHdJ6rJPTtlRv7LSoaGTZMSTgKnw,3188
|
|
151
152
|
neurograph/v1/models/personas_persona_personality_trait.py,sha256=Pnp0k0wmMvWHo4w4kV4ewAgbMTQjLFe9OPvovX5bCI8,2896
|
|
153
|
+
neurograph/v1/models/personas_persona_seed.py,sha256=B9crwyft7RaL_z0Wvji9SOjQlKigi6VU6Ukj5JszIco,3015
|
|
152
154
|
neurograph/v1/models/personas_persona_seed_create_request.py,sha256=u2H5DsFZwp2d7scTMChiSe3tSs3b3XGaUV1ioo3UGA4,2675
|
|
153
|
-
neurograph/v1/models/
|
|
154
|
-
neurograph/v1/models/personas_persona_seed_get_many_response.py,sha256=OTXyDnf4_GA7Gdm0udgb1XR1aglm-6qJxtBcq40-y3s,3660
|
|
155
|
+
neurograph/v1/models/personas_persona_seed_get_many_response.py,sha256=ZMjKJFWMDQuTKaw9G7vMD3nSI8kxHRw2dyZCTMvCHhc,3602
|
|
155
156
|
neurograph/v1/models/personas_persona_seeds_delete_request.py,sha256=R-fbBbstLdRWPrnj5-M-gcspQ3TXjPC6ST2PdCGkfN4,2603
|
|
156
157
|
neurograph/v1/models/personas_persona_seeds_delete_response.py,sha256=vbRG_L3dJgUzHbvyJj8-olmO-5tSlMsznkd6XCu6Haw,2725
|
|
157
158
|
neurograph/v1/models/personas_persona_trait_create_request.py,sha256=t1_rCx4T_sUW2nague7zL2zV2r7TCaEU2oRmqL_Ipfw,3087
|
|
@@ -168,7 +169,7 @@ neurograph/v1/models/workbench_workbench_version.py,sha256=AsgikzRU6BRj99gRFGGTl
|
|
|
168
169
|
neurograph/v1/models/workbench_workbench_version_many_response.py,sha256=xuOxnMscyIo8DhsR-yyir1rruExSgNWMu3yMWzgWbc0,3195
|
|
169
170
|
neurograph/v1/models/workbench_workbench_version_response.py,sha256=nMupKXBsoi4eXD-fsp_5PHrMislATwoBpVIZU7mG9RM,3283
|
|
170
171
|
neurograph/v1/models/workbench_workbench_version_upsert_request.py,sha256=bAxjBeFe8EG3bXPUrLjfntlC65lK5p_ddPs_0yX3A9g,2994
|
|
171
|
-
neurograph_core-1.
|
|
172
|
-
neurograph_core-1.
|
|
173
|
-
neurograph_core-1.
|
|
174
|
-
neurograph_core-1.
|
|
172
|
+
neurograph_core-1.202509191907.dist-info/METADATA,sha256=tdzjj-iUis3rF_nIcE04Pf5SSVUBeuK8N8ulidZt100,1936
|
|
173
|
+
neurograph_core-1.202509191907.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
174
|
+
neurograph_core-1.202509191907.dist-info/top_level.txt,sha256=iajcSUfGanaBq4McklJQ4IXVuwV24WJhY7FRzlQybxI,11
|
|
175
|
+
neurograph_core-1.202509191907.dist-info/RECORD,,
|
|
File without changes
|
{neurograph_core-1.202509152210.dist-info → neurograph_core-1.202509191907.dist-info}/top_level.txt
RENAMED
|
File without changes
|