neurograph-core 1.202509160244__py3-none-any.whl → 1.202509201943__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 +15 -9
- neurograph/v1/api/authentication_api.py +12 -20
- neurograph/v1/api/lookup_api.py +268 -0
- neurograph/v1/api/persona_api.py +133 -137
- neurograph/v1/models/__init__.py +10 -6
- neurograph/v1/models/{personas_persona_seeds_delete_request.py → auth_service_token_response.py} +13 -7
- neurograph/v1/models/knowledge_entity.py +3 -1
- neurograph/v1/models/knowledge_entity_in_db.py +5 -1
- neurograph/v1/models/lookup_uid.py +101 -0
- neurograph/v1/models/lookup_uids_response.py +97 -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/v1/models/{personas_persona_seed_create_request.py → personas_persona_seed_update_request.py} +4 -4
- neurograph/v1/models/personas_persona_seeds_delete_response.py +5 -5
- {neurograph_core-1.202509160244.dist-info → neurograph_core-1.202509201943.dist-info}/METADATA +1 -1
- {neurograph_core-1.202509160244.dist-info → neurograph_core-1.202509201943.dist-info}/RECORD +18 -16
- {neurograph_core-1.202509160244.dist-info → neurograph_core-1.202509201943.dist-info}/WHEEL +0 -0
- {neurograph_core-1.202509160244.dist-info → neurograph_core-1.202509201943.dist-info}/top_level.txt +0 -0
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
|
|
@@ -105,6 +106,8 @@ if __import__("typing").TYPE_CHECKING:
|
|
|
105
106
|
from neurograph.v1.models.lookup_lookup_state_response import LookupLookupStateResponse
|
|
106
107
|
from neurograph.v1.models.lookup_state import LookupState
|
|
107
108
|
from neurograph.v1.models.lookup_state_response import LookupStateResponse
|
|
109
|
+
from neurograph.v1.models.lookup_uid import LookupUid
|
|
110
|
+
from neurograph.v1.models.lookup_uids_response import LookupUidsResponse
|
|
108
111
|
from neurograph.v1.models.organizations_brand_detail_response import OrganizationsBrandDetailResponse
|
|
109
112
|
from neurograph.v1.models.organizations_brand_upsert_request import OrganizationsBrandUpsertRequest
|
|
110
113
|
from neurograph.v1.models.organizations_delete_metadata_request import OrganizationsDeleteMetadataRequest
|
|
@@ -144,10 +147,9 @@ if __import__("typing").TYPE_CHECKING:
|
|
|
144
147
|
from neurograph.v1.models.personas_persona_match_criteria_request import PersonasPersonaMatchCriteriaRequest
|
|
145
148
|
from neurograph.v1.models.personas_persona_match_criteria_response import PersonasPersonaMatchCriteriaResponse
|
|
146
149
|
from neurograph.v1.models.personas_persona_personality_trait import PersonasPersonaPersonalityTrait
|
|
147
|
-
from neurograph.v1.models.
|
|
148
|
-
from neurograph.v1.models.personas_persona_seed_create_response import PersonasPersonaSeedCreateResponse
|
|
150
|
+
from neurograph.v1.models.personas_persona_seed import PersonasPersonaSeed
|
|
149
151
|
from neurograph.v1.models.personas_persona_seed_get_many_response import PersonasPersonaSeedGetManyResponse
|
|
150
|
-
from neurograph.v1.models.
|
|
152
|
+
from neurograph.v1.models.personas_persona_seed_update_request import PersonasPersonaSeedUpdateRequest
|
|
151
153
|
from neurograph.v1.models.personas_persona_seeds_delete_response import PersonasPersonaSeedsDeleteResponse
|
|
152
154
|
from neurograph.v1.models.personas_persona_trait_create_request import PersonasPersonaTraitCreateRequest
|
|
153
155
|
from neurograph.v1.models.personas_persona_trait_create_response import PersonasPersonaTraitCreateResponse
|
|
@@ -172,6 +174,7 @@ else:
|
|
|
172
174
|
*as_package(__file__),
|
|
173
175
|
"""# import models into model package
|
|
174
176
|
from neurograph.v1.models.auth_service_token_request import AuthServiceTokenRequest
|
|
177
|
+
from neurograph.v1.models.auth_service_token_response import AuthServiceTokenResponse
|
|
175
178
|
from neurograph.v1.models.auth_test_service_token_request import AuthTestServiceTokenRequest
|
|
176
179
|
from neurograph.v1.models.auth_test_service_token_response import AuthTestServiceTokenResponse
|
|
177
180
|
from neurograph.v1.models.auth_test_token_response import AuthTestTokenResponse
|
|
@@ -261,6 +264,8 @@ from neurograph.v1.models.lookup_lookup_language_response import LookupLookupLan
|
|
|
261
264
|
from neurograph.v1.models.lookup_lookup_state_response import LookupLookupStateResponse
|
|
262
265
|
from neurograph.v1.models.lookup_state import LookupState
|
|
263
266
|
from neurograph.v1.models.lookup_state_response import LookupStateResponse
|
|
267
|
+
from neurograph.v1.models.lookup_uid import LookupUid
|
|
268
|
+
from neurograph.v1.models.lookup_uids_response import LookupUidsResponse
|
|
264
269
|
from neurograph.v1.models.organizations_brand_detail_response import OrganizationsBrandDetailResponse
|
|
265
270
|
from neurograph.v1.models.organizations_brand_upsert_request import OrganizationsBrandUpsertRequest
|
|
266
271
|
from neurograph.v1.models.organizations_delete_metadata_request import OrganizationsDeleteMetadataRequest
|
|
@@ -300,10 +305,9 @@ from neurograph.v1.models.personas_persona_kpi_resp import PersonasPersonaKpiRes
|
|
|
300
305
|
from neurograph.v1.models.personas_persona_match_criteria_request import PersonasPersonaMatchCriteriaRequest
|
|
301
306
|
from neurograph.v1.models.personas_persona_match_criteria_response import PersonasPersonaMatchCriteriaResponse
|
|
302
307
|
from neurograph.v1.models.personas_persona_personality_trait import PersonasPersonaPersonalityTrait
|
|
303
|
-
from neurograph.v1.models.
|
|
304
|
-
from neurograph.v1.models.personas_persona_seed_create_response import PersonasPersonaSeedCreateResponse
|
|
308
|
+
from neurograph.v1.models.personas_persona_seed import PersonasPersonaSeed
|
|
305
309
|
from neurograph.v1.models.personas_persona_seed_get_many_response import PersonasPersonaSeedGetManyResponse
|
|
306
|
-
from neurograph.v1.models.
|
|
310
|
+
from neurograph.v1.models.personas_persona_seed_update_request import PersonasPersonaSeedUpdateRequest
|
|
307
311
|
from neurograph.v1.models.personas_persona_seeds_delete_response import PersonasPersonaSeedsDeleteResponse
|
|
308
312
|
from neurograph.v1.models.personas_persona_trait_create_request import PersonasPersonaTraitCreateRequest
|
|
309
313
|
from neurograph.v1.models.personas_persona_trait_create_response import PersonasPersonaTraitCreateResponse
|
neurograph/v1/models/{personas_persona_seeds_delete_request.py → auth_service_token_response.py}
RENAMED
|
@@ -22,12 +22,15 @@ 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 AuthServiceTokenResponse(BaseModel):
|
|
26
26
|
"""
|
|
27
|
-
|
|
27
|
+
AuthServiceTokenResponse
|
|
28
28
|
""" # noqa: E501
|
|
29
|
-
|
|
30
|
-
|
|
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"]
|
|
31
34
|
|
|
32
35
|
model_config = ConfigDict(
|
|
33
36
|
populate_by_name=True,
|
|
@@ -47,7 +50,7 @@ class PersonasPersonaSeedsDeleteRequest(BaseModel):
|
|
|
47
50
|
|
|
48
51
|
@classmethod
|
|
49
52
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
50
|
-
"""Create an instance of
|
|
53
|
+
"""Create an instance of AuthServiceTokenResponse from a JSON string"""
|
|
51
54
|
return cls.from_dict(json.loads(json_str))
|
|
52
55
|
|
|
53
56
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -72,7 +75,7 @@ class PersonasPersonaSeedsDeleteRequest(BaseModel):
|
|
|
72
75
|
|
|
73
76
|
@classmethod
|
|
74
77
|
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
75
|
-
"""Create an instance of
|
|
78
|
+
"""Create an instance of AuthServiceTokenResponse from a dict"""
|
|
76
79
|
if obj is None:
|
|
77
80
|
return None
|
|
78
81
|
|
|
@@ -80,7 +83,10 @@ class PersonasPersonaSeedsDeleteRequest(BaseModel):
|
|
|
80
83
|
return cls.model_validate(obj)
|
|
81
84
|
|
|
82
85
|
_obj = cls.model_validate({
|
|
83
|
-
"
|
|
86
|
+
"error": obj.get("error"),
|
|
87
|
+
"scopes": obj.get("scopes"),
|
|
88
|
+
"token": obj.get("token"),
|
|
89
|
+
"ts_expires": obj.get("ts_expires")
|
|
84
90
|
})
|
|
85
91
|
return _obj
|
|
86
92
|
|
|
@@ -37,8 +37,9 @@ class KnowledgeEntity(BaseModel):
|
|
|
37
37
|
name: Optional[StrictStr] = None
|
|
38
38
|
relations: Optional[KnowledgeEntityRelations] = None
|
|
39
39
|
var_schema: Optional[KnowledgeEntitySchema] = Field(default=None, alias="schema")
|
|
40
|
+
source_updated_at: Optional[StrictInt] = None
|
|
40
41
|
ts_updated: Optional[StrictInt] = None
|
|
41
|
-
__properties: ClassVar[List[str]] = ["client_id", "data", "ext", "extra", "kind", "name", "relations", "schema", "ts_updated"]
|
|
42
|
+
__properties: ClassVar[List[str]] = ["client_id", "data", "ext", "extra", "kind", "name", "relations", "schema", "source_updated_at", "ts_updated"]
|
|
42
43
|
|
|
43
44
|
model_config = ConfigDict(
|
|
44
45
|
populate_by_name=True,
|
|
@@ -108,6 +109,7 @@ class KnowledgeEntity(BaseModel):
|
|
|
108
109
|
"name": obj.get("name"),
|
|
109
110
|
"relations": KnowledgeEntityRelations.from_dict(obj["relations"]) if obj.get("relations") is not None else None,
|
|
110
111
|
"schema": KnowledgeEntitySchema.from_dict(obj["schema"]) if obj.get("schema") is not None else None,
|
|
112
|
+
"source_updated_at": obj.get("source_updated_at"),
|
|
111
113
|
"ts_updated": obj.get("ts_updated")
|
|
112
114
|
})
|
|
113
115
|
return _obj
|
|
@@ -38,8 +38,10 @@ class KnowledgeEntityInDb(BaseModel):
|
|
|
38
38
|
name: Optional[StrictStr] = None
|
|
39
39
|
relations: Optional[KnowledgeEntityRelations] = None
|
|
40
40
|
var_schema: Optional[KnowledgeEntitySchema] = Field(default=None, alias="schema")
|
|
41
|
+
source_updated_at: Optional[StrictInt] = None
|
|
42
|
+
ts_created: Optional[StrictInt] = None
|
|
41
43
|
ts_updated: Optional[StrictInt] = None
|
|
42
|
-
__properties: ClassVar[List[str]] = ["client_id", "data", "ext", "extra", "id", "kind", "name", "relations", "schema", "ts_updated"]
|
|
44
|
+
__properties: ClassVar[List[str]] = ["client_id", "data", "ext", "extra", "id", "kind", "name", "relations", "schema", "source_updated_at", "ts_created", "ts_updated"]
|
|
43
45
|
|
|
44
46
|
model_config = ConfigDict(
|
|
45
47
|
populate_by_name=True,
|
|
@@ -110,6 +112,8 @@ class KnowledgeEntityInDb(BaseModel):
|
|
|
110
112
|
"name": obj.get("name"),
|
|
111
113
|
"relations": KnowledgeEntityRelations.from_dict(obj["relations"]) if obj.get("relations") is not None else None,
|
|
112
114
|
"schema": KnowledgeEntitySchema.from_dict(obj["schema"]) if obj.get("schema") is not None else None,
|
|
115
|
+
"source_updated_at": obj.get("source_updated_at"),
|
|
116
|
+
"ts_created": obj.get("ts_created"),
|
|
113
117
|
"ts_updated": obj.get("ts_updated")
|
|
114
118
|
})
|
|
115
119
|
return _obj
|
|
@@ -0,0 +1,101 @@
|
|
|
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, StrictBool, 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 LookupUid(BaseModel):
|
|
26
|
+
"""
|
|
27
|
+
LookupUid
|
|
28
|
+
""" # noqa: E501
|
|
29
|
+
client_id: Optional[StrictStr] = None
|
|
30
|
+
client_is_active: Optional[StrictBool] = None
|
|
31
|
+
client_name: Optional[StrictStr] = None
|
|
32
|
+
client_uid: Optional[StrictStr] = None
|
|
33
|
+
org_id: Optional[StrictStr] = None
|
|
34
|
+
org_is_active: Optional[StrictBool] = None
|
|
35
|
+
org_name: Optional[StrictStr] = None
|
|
36
|
+
org_uid: Optional[StrictStr] = None
|
|
37
|
+
__properties: ClassVar[List[str]] = ["client_id", "client_is_active", "client_name", "client_uid", "org_id", "org_is_active", "org_name", "org_uid"]
|
|
38
|
+
|
|
39
|
+
model_config = ConfigDict(
|
|
40
|
+
populate_by_name=True,
|
|
41
|
+
validate_assignment=True,
|
|
42
|
+
protected_namespaces=(),
|
|
43
|
+
)
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
def to_str(self) -> str:
|
|
47
|
+
"""Returns the string representation of the model using alias"""
|
|
48
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
49
|
+
|
|
50
|
+
def to_json(self) -> str:
|
|
51
|
+
"""Returns the JSON representation of the model using alias"""
|
|
52
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
53
|
+
return json.dumps(self.to_dict())
|
|
54
|
+
|
|
55
|
+
@classmethod
|
|
56
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
57
|
+
"""Create an instance of LookupUid from a JSON string"""
|
|
58
|
+
return cls.from_dict(json.loads(json_str))
|
|
59
|
+
|
|
60
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
61
|
+
"""Return the dictionary representation of the model using alias.
|
|
62
|
+
|
|
63
|
+
This has the following differences from calling pydantic's
|
|
64
|
+
`self.model_dump(by_alias=True)`:
|
|
65
|
+
|
|
66
|
+
* `None` is only added to the output dict for nullable fields that
|
|
67
|
+
were set at model initialization. Other fields with value `None`
|
|
68
|
+
are ignored.
|
|
69
|
+
"""
|
|
70
|
+
excluded_fields: Set[str] = set([
|
|
71
|
+
])
|
|
72
|
+
|
|
73
|
+
_dict = self.model_dump(
|
|
74
|
+
by_alias=True,
|
|
75
|
+
exclude=excluded_fields,
|
|
76
|
+
exclude_none=True,
|
|
77
|
+
)
|
|
78
|
+
return _dict
|
|
79
|
+
|
|
80
|
+
@classmethod
|
|
81
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
82
|
+
"""Create an instance of LookupUid from a dict"""
|
|
83
|
+
if obj is None:
|
|
84
|
+
return None
|
|
85
|
+
|
|
86
|
+
if not isinstance(obj, dict):
|
|
87
|
+
return cls.model_validate(obj)
|
|
88
|
+
|
|
89
|
+
_obj = cls.model_validate({
|
|
90
|
+
"client_id": obj.get("client_id"),
|
|
91
|
+
"client_is_active": obj.get("client_is_active"),
|
|
92
|
+
"client_name": obj.get("client_name"),
|
|
93
|
+
"client_uid": obj.get("client_uid"),
|
|
94
|
+
"org_id": obj.get("org_id"),
|
|
95
|
+
"org_is_active": obj.get("org_is_active"),
|
|
96
|
+
"org_name": obj.get("org_name"),
|
|
97
|
+
"org_uid": obj.get("org_uid")
|
|
98
|
+
})
|
|
99
|
+
return _obj
|
|
100
|
+
|
|
101
|
+
|
|
@@ -0,0 +1,97 @@
|
|
|
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 neurograph.v1.models.lookup_uid import LookupUid
|
|
23
|
+
from typing import Optional, Set
|
|
24
|
+
from typing_extensions import Self
|
|
25
|
+
|
|
26
|
+
class LookupUidsResponse(BaseModel):
|
|
27
|
+
"""
|
|
28
|
+
LookupUidsResponse
|
|
29
|
+
""" # noqa: E501
|
|
30
|
+
data: Optional[List[LookupUid]] = None
|
|
31
|
+
error: Optional[StrictStr] = None
|
|
32
|
+
__properties: ClassVar[List[str]] = ["data", "error"]
|
|
33
|
+
|
|
34
|
+
model_config = ConfigDict(
|
|
35
|
+
populate_by_name=True,
|
|
36
|
+
validate_assignment=True,
|
|
37
|
+
protected_namespaces=(),
|
|
38
|
+
)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def to_str(self) -> str:
|
|
42
|
+
"""Returns the string representation of the model using alias"""
|
|
43
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
44
|
+
|
|
45
|
+
def to_json(self) -> str:
|
|
46
|
+
"""Returns the JSON representation of the model using alias"""
|
|
47
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
48
|
+
return json.dumps(self.to_dict())
|
|
49
|
+
|
|
50
|
+
@classmethod
|
|
51
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
52
|
+
"""Create an instance of LookupUidsResponse from a JSON string"""
|
|
53
|
+
return cls.from_dict(json.loads(json_str))
|
|
54
|
+
|
|
55
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
56
|
+
"""Return the dictionary representation of the model using alias.
|
|
57
|
+
|
|
58
|
+
This has the following differences from calling pydantic's
|
|
59
|
+
`self.model_dump(by_alias=True)`:
|
|
60
|
+
|
|
61
|
+
* `None` is only added to the output dict for nullable fields that
|
|
62
|
+
were set at model initialization. Other fields with value `None`
|
|
63
|
+
are ignored.
|
|
64
|
+
"""
|
|
65
|
+
excluded_fields: Set[str] = set([
|
|
66
|
+
])
|
|
67
|
+
|
|
68
|
+
_dict = self.model_dump(
|
|
69
|
+
by_alias=True,
|
|
70
|
+
exclude=excluded_fields,
|
|
71
|
+
exclude_none=True,
|
|
72
|
+
)
|
|
73
|
+
# override the default output from pydantic by calling `to_dict()` of each item in data (list)
|
|
74
|
+
_items = []
|
|
75
|
+
if self.data:
|
|
76
|
+
for _item_data in self.data:
|
|
77
|
+
if _item_data:
|
|
78
|
+
_items.append(_item_data.to_dict())
|
|
79
|
+
_dict['data'] = _items
|
|
80
|
+
return _dict
|
|
81
|
+
|
|
82
|
+
@classmethod
|
|
83
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
84
|
+
"""Create an instance of LookupUidsResponse from a dict"""
|
|
85
|
+
if obj is None:
|
|
86
|
+
return None
|
|
87
|
+
|
|
88
|
+
if not isinstance(obj, dict):
|
|
89
|
+
return cls.model_validate(obj)
|
|
90
|
+
|
|
91
|
+
_obj = cls.model_validate({
|
|
92
|
+
"data": [LookupUid.from_dict(_item) for _item in obj["data"]] if obj.get("data") is not None else None,
|
|
93
|
+
"error": obj.get("error")
|
|
94
|
+
})
|
|
95
|
+
return _obj
|
|
96
|
+
|
|
97
|
+
|
|
@@ -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"),
|
|
@@ -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 PersonasPersonaSeedUpdateRequest(BaseModel):
|
|
26
26
|
"""
|
|
27
|
-
|
|
27
|
+
PersonasPersonaSeedUpdateRequest
|
|
28
28
|
""" # noqa: E501
|
|
29
29
|
client_id: Optional[StrictStr] = None
|
|
30
30
|
uid: Optional[StrictStr] = None
|
|
@@ -48,7 +48,7 @@ class PersonasPersonaSeedCreateRequest(BaseModel):
|
|
|
48
48
|
|
|
49
49
|
@classmethod
|
|
50
50
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
51
|
-
"""Create an instance of
|
|
51
|
+
"""Create an instance of PersonasPersonaSeedUpdateRequest from a JSON string"""
|
|
52
52
|
return cls.from_dict(json.loads(json_str))
|
|
53
53
|
|
|
54
54
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -73,7 +73,7 @@ class PersonasPersonaSeedCreateRequest(BaseModel):
|
|
|
73
73
|
|
|
74
74
|
@classmethod
|
|
75
75
|
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
76
|
-
"""Create an instance of
|
|
76
|
+
"""Create an instance of PersonasPersonaSeedUpdateRequest from a dict"""
|
|
77
77
|
if obj is None:
|
|
78
78
|
return None
|
|
79
79
|
|
|
@@ -17,7 +17,7 @@ import pprint
|
|
|
17
17
|
import re # noqa: F401
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
|
-
from pydantic import BaseModel, ConfigDict, StrictStr
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, StrictBool, StrictStr
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
22
|
from typing import Optional, Set
|
|
23
23
|
from typing_extensions import Self
|
|
@@ -26,9 +26,9 @@ class PersonasPersonaSeedsDeleteResponse(BaseModel):
|
|
|
26
26
|
"""
|
|
27
27
|
PersonasPersonaSeedsDeleteResponse
|
|
28
28
|
""" # noqa: E501
|
|
29
|
-
deleted_seed_ids: Optional[List[StrictStr]] = None
|
|
30
29
|
error: Optional[StrictStr] = None
|
|
31
|
-
|
|
30
|
+
success: Optional[StrictBool] = None
|
|
31
|
+
__properties: ClassVar[List[str]] = ["error", "success"]
|
|
32
32
|
|
|
33
33
|
model_config = ConfigDict(
|
|
34
34
|
populate_by_name=True,
|
|
@@ -81,8 +81,8 @@ class PersonasPersonaSeedsDeleteResponse(BaseModel):
|
|
|
81
81
|
return cls.model_validate(obj)
|
|
82
82
|
|
|
83
83
|
_obj = cls.model_validate({
|
|
84
|
-
"
|
|
85
|
-
"
|
|
84
|
+
"error": obj.get("error"),
|
|
85
|
+
"success": obj.get("success")
|
|
86
86
|
})
|
|
87
87
|
return _obj
|
|
88
88
|
|
{neurograph_core-1.202509160244.dist-info → neurograph_core-1.202509201943.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=dzMtHx9AzQhIu5eIioY0yQCoNR7__EtRHWO8NOmWy3M,46367
|
|
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
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
|
-
neurograph/v1/api/lookup_api.py,sha256=
|
|
16
|
+
neurograph/v1/api/lookup_api.py,sha256=tHr-4nTp8-ZB3YN7pv53N14zCmPcLMwbuxJZv2w75sI,50977
|
|
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=4P46OQyPJMmti3kWKsYdreFQPgpjmTocy_GD8TBtBNs,133181
|
|
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=oHNWtm3QdGOJNBDq5k_MC2l0KPNB178d28P-ZwbdzQo,28320
|
|
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
|
|
@@ -77,12 +78,12 @@ neurograph/v1/models/knowledge_enrichment_artifact_response.py,sha256=U0kYpPU1Km
|
|
|
77
78
|
neurograph/v1/models/knowledge_enrichment_artifact_update_output_request.py,sha256=KWi5Q_D6r-yCDCaFkadaw9RCOXf-6JmmRh_m3KpwNbo,3023
|
|
78
79
|
neurograph/v1/models/knowledge_enrichment_artifact_update_status_request.py,sha256=U0IxNhuBFENClAXrfzfjidKCXLmKM6UJewKkJazi3gQ,3392
|
|
79
80
|
neurograph/v1/models/knowledge_enrichment_query.py,sha256=pLGc_ST6Hjg6r6EnxbP6dOzGjpRz5cx7b_zhG3UaaVs,3193
|
|
80
|
-
neurograph/v1/models/knowledge_entity.py,sha256=
|
|
81
|
+
neurograph/v1/models/knowledge_entity.py,sha256=Fnymxh-eQ--e0pAN_M12ROToI_wIgHRto8QdBEjEBfU,4466
|
|
81
82
|
neurograph/v1/models/knowledge_entity_create_request.py,sha256=rF8DroW0IGSfaFt1A7Aq1MOB7-0UGKv6kRX3gz1_LsI,3021
|
|
82
83
|
neurograph/v1/models/knowledge_entity_create_response.py,sha256=AipJtm5zCp4yerr9BI9BiJzjuua1a78oLbwIdxedVXM,3345
|
|
83
84
|
neurograph/v1/models/knowledge_entity_extra.py,sha256=_FPWSExIzhndkvRvarPIwomVvPPhbNwITZWShPmTA_8,2764
|
|
84
85
|
neurograph/v1/models/knowledge_entity_get_many_response.py,sha256=cECUw3xhfetwgy1a9G0JPWUL2xjkWBH63KfqmVePVc0,3520
|
|
85
|
-
neurograph/v1/models/knowledge_entity_in_db.py,sha256=
|
|
86
|
+
neurograph/v1/models/knowledge_entity_in_db.py,sha256=yXJcdrOa0x9Sp1INBPBmzh9btSTe-zLMxYeOZwlrH-Y,4662
|
|
86
87
|
neurograph/v1/models/knowledge_entity_relations.py,sha256=zhxVLNY4-tOML3tXTbHd0yXRgQacFC4XVc_qogUy-C0,2771
|
|
87
88
|
neurograph/v1/models/knowledge_entity_schema.py,sha256=FrCnPOZHpZPPbX5RoQnOb9BkoQQCWFqb1zaGMF-f6-o,2620
|
|
88
89
|
neurograph/v1/models/knowledge_entity_schema_row.py,sha256=PnMhdlksr_71UVw3B-rL8qaJv8ytDASgXkCGhEQeK_E,3258
|
|
@@ -110,6 +111,8 @@ neurograph/v1/models/lookup_lookup_language_response.py,sha256=FCgv5K2Ne6hmixYW8
|
|
|
110
111
|
neurograph/v1/models/lookup_lookup_state_response.py,sha256=mPnGYt-JokuvbK7B9kR_qUlg5AtYHk9IOQ13DKIyESo,3090
|
|
111
112
|
neurograph/v1/models/lookup_state.py,sha256=Y2AEVWdfzt-AxnQmG9JdE7ixOEYIpOVCEpfo8o8fEyQ,2660
|
|
112
113
|
neurograph/v1/models/lookup_state_response.py,sha256=H0i6L0xwd2_UCeAdfJIeBo-Ttbk6xnDX71y1Dn_i1uw,2778
|
|
114
|
+
neurograph/v1/models/lookup_uid.py,sha256=Tu-kIi0JyOJ8morFA6mGm9ZHGx0qLZwHDt_Jc7uGtNA,3265
|
|
115
|
+
neurograph/v1/models/lookup_uids_response.py,sha256=aiXlJKIZpAuNLEQhqKvQ42TmsbslYrN4nOq6E4paE_Y,3054
|
|
113
116
|
neurograph/v1/models/organizations_brand_detail_response.py,sha256=voagRMr1j1BXz-GxhdxLSzCXlLnM8ij5_q2lRC4lufM,3747
|
|
114
117
|
neurograph/v1/models/organizations_brand_upsert_request.py,sha256=w5B9zp6AWYTgLeOkX3QIIZl3WiqbP0pJXOakeA7wcaw,3657
|
|
115
118
|
neurograph/v1/models/organizations_delete_metadata_request.py,sha256=TE4nc6K3XVSecocsMbZt3nKw9ynK6DpXXcj3Rcl3mHQ,2581
|
|
@@ -149,11 +152,10 @@ neurograph/v1/models/personas_persona_kpi_resp.py,sha256=PQkSzkSaVASYs4iqewcVCWg
|
|
|
149
152
|
neurograph/v1/models/personas_persona_match_criteria_request.py,sha256=0Zpy51cuRWEupYuEcrc2Du2QktrljdLO5dfR0KnA_PM,3096
|
|
150
153
|
neurograph/v1/models/personas_persona_match_criteria_response.py,sha256=Ljh_SC3dVw-8a0MqHdJ6rJPTtlRv7LSoaGTZMSTgKnw,3188
|
|
151
154
|
neurograph/v1/models/personas_persona_personality_trait.py,sha256=Pnp0k0wmMvWHo4w4kV4ewAgbMTQjLFe9OPvovX5bCI8,2896
|
|
152
|
-
neurograph/v1/models/
|
|
153
|
-
neurograph/v1/models/
|
|
154
|
-
neurograph/v1/models/
|
|
155
|
-
neurograph/v1/models/
|
|
156
|
-
neurograph/v1/models/personas_persona_seeds_delete_response.py,sha256=vbRG_L3dJgUzHbvyJj8-olmO-5tSlMsznkd6XCu6Haw,2725
|
|
155
|
+
neurograph/v1/models/personas_persona_seed.py,sha256=B9crwyft7RaL_z0Wvji9SOjQlKigi6VU6Ukj5JszIco,3015
|
|
156
|
+
neurograph/v1/models/personas_persona_seed_get_many_response.py,sha256=ZMjKJFWMDQuTKaw9G7vMD3nSI8kxHRw2dyZCTMvCHhc,3602
|
|
157
|
+
neurograph/v1/models/personas_persona_seed_update_request.py,sha256=pGHwRRPrUDv3Fr8dWKUzihUY-iD-geZD23v87-bj1hQ,2675
|
|
158
|
+
neurograph/v1/models/personas_persona_seeds_delete_response.py,sha256=tk9I5AuVobWtCXN9X9V0TNQWbUmH1Nlf3Lh1dgUQBIs,2696
|
|
157
159
|
neurograph/v1/models/personas_persona_trait_create_request.py,sha256=t1_rCx4T_sUW2nague7zL2zV2r7TCaEU2oRmqL_Ipfw,3087
|
|
158
160
|
neurograph/v1/models/personas_persona_trait_create_response.py,sha256=Syd4iQwaCJOwrcMxjRspmBHMnGDwPC1aX5SUpZppPqM,3192
|
|
159
161
|
neurograph/v1/models/personas_personality_trait_in.py,sha256=nJf7GhulATeM7_S9fUwQ0qcbWPUCq_-GH47TfDUOXi4,2791
|
|
@@ -168,7 +170,7 @@ neurograph/v1/models/workbench_workbench_version.py,sha256=AsgikzRU6BRj99gRFGGTl
|
|
|
168
170
|
neurograph/v1/models/workbench_workbench_version_many_response.py,sha256=xuOxnMscyIo8DhsR-yyir1rruExSgNWMu3yMWzgWbc0,3195
|
|
169
171
|
neurograph/v1/models/workbench_workbench_version_response.py,sha256=nMupKXBsoi4eXD-fsp_5PHrMislATwoBpVIZU7mG9RM,3283
|
|
170
172
|
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.
|
|
173
|
+
neurograph_core-1.202509201943.dist-info/METADATA,sha256=FYsWwYYQFlSCFgu0Z1ALNL39G1IwEouGGUygk_pQxmI,1936
|
|
174
|
+
neurograph_core-1.202509201943.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
175
|
+
neurograph_core-1.202509201943.dist-info/top_level.txt,sha256=iajcSUfGanaBq4McklJQ4IXVuwV24WJhY7FRzlQybxI,11
|
|
176
|
+
neurograph_core-1.202509201943.dist-info/RECORD,,
|
|
File without changes
|
{neurograph_core-1.202509160244.dist-info → neurograph_core-1.202509201943.dist-info}/top_level.txt
RENAMED
|
File without changes
|