neurograph-core 1.202602031952__py3-none-any.whl → 1.202602040410__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 +2 -0
- neurograph/v1/api/persona_api.py +272 -0
- neurograph/v1/models/__init__.py +1 -0
- neurograph/v1/models/personas_get_latest_persona_instance_request.py +89 -0
- neurograph/v1/models/personas_instance_create_request.py +1 -1
- neurograph/v1/models/personas_instance_create_response.py +1 -1
- {neurograph_core-1.202602031952.dist-info → neurograph_core-1.202602040410.dist-info}/METADATA +1 -1
- {neurograph_core-1.202602031952.dist-info → neurograph_core-1.202602040410.dist-info}/RECORD +10 -9
- {neurograph_core-1.202602031952.dist-info → neurograph_core-1.202602040410.dist-info}/WHEEL +0 -0
- {neurograph_core-1.202602031952.dist-info → neurograph_core-1.202602040410.dist-info}/top_level.txt +0 -0
neurograph/v1/__init__.py
CHANGED
|
@@ -242,6 +242,7 @@ __all__ = [
|
|
|
242
242
|
"PersonasFactorRow",
|
|
243
243
|
"PersonasFactorUpdateRequest",
|
|
244
244
|
"PersonasFactorUpdateResponse",
|
|
245
|
+
"PersonasGetLatestPersonaInstanceRequest",
|
|
245
246
|
"PersonasGetPersonaInstanceResponse",
|
|
246
247
|
"PersonasInsightCreateRequest",
|
|
247
248
|
"PersonasInsightCreateResponse",
|
|
@@ -666,6 +667,7 @@ from neurograph.v1.models.personas_factor_delete_response import PersonasFactorD
|
|
|
666
667
|
from neurograph.v1.models.personas_factor_row import PersonasFactorRow as PersonasFactorRow
|
|
667
668
|
from neurograph.v1.models.personas_factor_update_request import PersonasFactorUpdateRequest as PersonasFactorUpdateRequest
|
|
668
669
|
from neurograph.v1.models.personas_factor_update_response import PersonasFactorUpdateResponse as PersonasFactorUpdateResponse
|
|
670
|
+
from neurograph.v1.models.personas_get_latest_persona_instance_request import PersonasGetLatestPersonaInstanceRequest as PersonasGetLatestPersonaInstanceRequest
|
|
669
671
|
from neurograph.v1.models.personas_get_persona_instance_response import PersonasGetPersonaInstanceResponse as PersonasGetPersonaInstanceResponse
|
|
670
672
|
from neurograph.v1.models.personas_insight_create_request import PersonasInsightCreateRequest as PersonasInsightCreateRequest
|
|
671
673
|
from neurograph.v1.models.personas_insight_create_response import PersonasInsightCreateResponse as PersonasInsightCreateResponse
|
neurograph/v1/api/persona_api.py
CHANGED
|
@@ -24,6 +24,7 @@ from neurograph.v1.models.personas_factor_create_response import PersonasFactorC
|
|
|
24
24
|
from neurograph.v1.models.personas_factor_delete_response import PersonasFactorDeleteResponse
|
|
25
25
|
from neurograph.v1.models.personas_factor_update_request import PersonasFactorUpdateRequest
|
|
26
26
|
from neurograph.v1.models.personas_factor_update_response import PersonasFactorUpdateResponse
|
|
27
|
+
from neurograph.v1.models.personas_get_latest_persona_instance_request import PersonasGetLatestPersonaInstanceRequest
|
|
27
28
|
from neurograph.v1.models.personas_get_persona_instance_response import PersonasGetPersonaInstanceResponse
|
|
28
29
|
from neurograph.v1.models.personas_insight_create_request import PersonasInsightCreateRequest
|
|
29
30
|
from neurograph.v1.models.personas_insight_create_response import PersonasInsightCreateResponse
|
|
@@ -2264,6 +2265,277 @@ class PersonaApi:
|
|
|
2264
2265
|
|
|
2265
2266
|
|
|
2266
2267
|
|
|
2268
|
+
@validate_call
|
|
2269
|
+
def api_v1_persona_instance_latest_post(
|
|
2270
|
+
self,
|
|
2271
|
+
request: Annotated[PersonasGetLatestPersonaInstanceRequest, Field(description="Body")],
|
|
2272
|
+
_request_timeout: Union[
|
|
2273
|
+
None,
|
|
2274
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2275
|
+
Tuple[
|
|
2276
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2277
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2278
|
+
]
|
|
2279
|
+
] = None,
|
|
2280
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2281
|
+
_content_type: Optional[StrictStr] = None,
|
|
2282
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2283
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2284
|
+
) -> PersonasGetPersonaInstanceResponse:
|
|
2285
|
+
"""Get the latest Persona Instance for a seed
|
|
2286
|
+
|
|
2287
|
+
Get the most recent Persona Instance for a given seed uid and client id.
|
|
2288
|
+
|
|
2289
|
+
:param request: Body (required)
|
|
2290
|
+
:type request: PersonasGetLatestPersonaInstanceRequest
|
|
2291
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2292
|
+
number provided, it will be total request
|
|
2293
|
+
timeout. It can also be a pair (tuple) of
|
|
2294
|
+
(connection, read) timeouts.
|
|
2295
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2296
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2297
|
+
request; this effectively ignores the
|
|
2298
|
+
authentication in the spec for a single request.
|
|
2299
|
+
:type _request_auth: dict, optional
|
|
2300
|
+
:param _content_type: force content-type for the request.
|
|
2301
|
+
:type _content_type: str, Optional
|
|
2302
|
+
:param _headers: set to override the headers for a single
|
|
2303
|
+
request; this effectively ignores the headers
|
|
2304
|
+
in the spec for a single request.
|
|
2305
|
+
:type _headers: dict, optional
|
|
2306
|
+
:param _host_index: set to override the host_index for a single
|
|
2307
|
+
request; this effectively ignores the host_index
|
|
2308
|
+
in the spec for a single request.
|
|
2309
|
+
:type _host_index: int, optional
|
|
2310
|
+
:return: Returns the result object.
|
|
2311
|
+
""" # noqa: E501
|
|
2312
|
+
|
|
2313
|
+
_param = self._api_v1_persona_instance_latest_post_serialize(
|
|
2314
|
+
request=request,
|
|
2315
|
+
_request_auth=_request_auth,
|
|
2316
|
+
_content_type=_content_type,
|
|
2317
|
+
_headers=_headers,
|
|
2318
|
+
_host_index=_host_index
|
|
2319
|
+
)
|
|
2320
|
+
|
|
2321
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2322
|
+
'200': "PersonasGetPersonaInstanceResponse",
|
|
2323
|
+
'400': "PersonasGetPersonaInstanceResponse",
|
|
2324
|
+
'404': "PersonasGetPersonaInstanceResponse",
|
|
2325
|
+
'503': "PersonasGetPersonaInstanceResponse",
|
|
2326
|
+
}
|
|
2327
|
+
response_data = self.api_client.call_api(
|
|
2328
|
+
*_param,
|
|
2329
|
+
_request_timeout=_request_timeout
|
|
2330
|
+
)
|
|
2331
|
+
response_data.read()
|
|
2332
|
+
return self.api_client.response_deserialize(
|
|
2333
|
+
response_data=response_data,
|
|
2334
|
+
response_types_map=_response_types_map,
|
|
2335
|
+
).data
|
|
2336
|
+
|
|
2337
|
+
|
|
2338
|
+
@validate_call
|
|
2339
|
+
def api_v1_persona_instance_latest_post_with_http_info(
|
|
2340
|
+
self,
|
|
2341
|
+
request: Annotated[PersonasGetLatestPersonaInstanceRequest, Field(description="Body")],
|
|
2342
|
+
_request_timeout: Union[
|
|
2343
|
+
None,
|
|
2344
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2345
|
+
Tuple[
|
|
2346
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2347
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2348
|
+
]
|
|
2349
|
+
] = None,
|
|
2350
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2351
|
+
_content_type: Optional[StrictStr] = None,
|
|
2352
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2353
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2354
|
+
) -> ApiResponse[PersonasGetPersonaInstanceResponse]:
|
|
2355
|
+
"""Get the latest Persona Instance for a seed
|
|
2356
|
+
|
|
2357
|
+
Get the most recent Persona Instance for a given seed uid and client id.
|
|
2358
|
+
|
|
2359
|
+
:param request: Body (required)
|
|
2360
|
+
:type request: PersonasGetLatestPersonaInstanceRequest
|
|
2361
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2362
|
+
number provided, it will be total request
|
|
2363
|
+
timeout. It can also be a pair (tuple) of
|
|
2364
|
+
(connection, read) timeouts.
|
|
2365
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2366
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2367
|
+
request; this effectively ignores the
|
|
2368
|
+
authentication in the spec for a single request.
|
|
2369
|
+
:type _request_auth: dict, optional
|
|
2370
|
+
:param _content_type: force content-type for the request.
|
|
2371
|
+
:type _content_type: str, Optional
|
|
2372
|
+
:param _headers: set to override the headers for a single
|
|
2373
|
+
request; this effectively ignores the headers
|
|
2374
|
+
in the spec for a single request.
|
|
2375
|
+
:type _headers: dict, optional
|
|
2376
|
+
:param _host_index: set to override the host_index for a single
|
|
2377
|
+
request; this effectively ignores the host_index
|
|
2378
|
+
in the spec for a single request.
|
|
2379
|
+
:type _host_index: int, optional
|
|
2380
|
+
:return: Returns the result object.
|
|
2381
|
+
""" # noqa: E501
|
|
2382
|
+
|
|
2383
|
+
_param = self._api_v1_persona_instance_latest_post_serialize(
|
|
2384
|
+
request=request,
|
|
2385
|
+
_request_auth=_request_auth,
|
|
2386
|
+
_content_type=_content_type,
|
|
2387
|
+
_headers=_headers,
|
|
2388
|
+
_host_index=_host_index
|
|
2389
|
+
)
|
|
2390
|
+
|
|
2391
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2392
|
+
'200': "PersonasGetPersonaInstanceResponse",
|
|
2393
|
+
'400': "PersonasGetPersonaInstanceResponse",
|
|
2394
|
+
'404': "PersonasGetPersonaInstanceResponse",
|
|
2395
|
+
'503': "PersonasGetPersonaInstanceResponse",
|
|
2396
|
+
}
|
|
2397
|
+
response_data = self.api_client.call_api(
|
|
2398
|
+
*_param,
|
|
2399
|
+
_request_timeout=_request_timeout
|
|
2400
|
+
)
|
|
2401
|
+
response_data.read()
|
|
2402
|
+
return self.api_client.response_deserialize(
|
|
2403
|
+
response_data=response_data,
|
|
2404
|
+
response_types_map=_response_types_map,
|
|
2405
|
+
)
|
|
2406
|
+
|
|
2407
|
+
|
|
2408
|
+
@validate_call
|
|
2409
|
+
def api_v1_persona_instance_latest_post_without_preload_content(
|
|
2410
|
+
self,
|
|
2411
|
+
request: Annotated[PersonasGetLatestPersonaInstanceRequest, Field(description="Body")],
|
|
2412
|
+
_request_timeout: Union[
|
|
2413
|
+
None,
|
|
2414
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2415
|
+
Tuple[
|
|
2416
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2417
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2418
|
+
]
|
|
2419
|
+
] = None,
|
|
2420
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2421
|
+
_content_type: Optional[StrictStr] = None,
|
|
2422
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2423
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2424
|
+
) -> RESTResponseType:
|
|
2425
|
+
"""Get the latest Persona Instance for a seed
|
|
2426
|
+
|
|
2427
|
+
Get the most recent Persona Instance for a given seed uid and client id.
|
|
2428
|
+
|
|
2429
|
+
:param request: Body (required)
|
|
2430
|
+
:type request: PersonasGetLatestPersonaInstanceRequest
|
|
2431
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2432
|
+
number provided, it will be total request
|
|
2433
|
+
timeout. It can also be a pair (tuple) of
|
|
2434
|
+
(connection, read) timeouts.
|
|
2435
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2436
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2437
|
+
request; this effectively ignores the
|
|
2438
|
+
authentication in the spec for a single request.
|
|
2439
|
+
:type _request_auth: dict, optional
|
|
2440
|
+
:param _content_type: force content-type for the request.
|
|
2441
|
+
:type _content_type: str, Optional
|
|
2442
|
+
:param _headers: set to override the headers for a single
|
|
2443
|
+
request; this effectively ignores the headers
|
|
2444
|
+
in the spec for a single request.
|
|
2445
|
+
:type _headers: dict, optional
|
|
2446
|
+
:param _host_index: set to override the host_index for a single
|
|
2447
|
+
request; this effectively ignores the host_index
|
|
2448
|
+
in the spec for a single request.
|
|
2449
|
+
:type _host_index: int, optional
|
|
2450
|
+
:return: Returns the result object.
|
|
2451
|
+
""" # noqa: E501
|
|
2452
|
+
|
|
2453
|
+
_param = self._api_v1_persona_instance_latest_post_serialize(
|
|
2454
|
+
request=request,
|
|
2455
|
+
_request_auth=_request_auth,
|
|
2456
|
+
_content_type=_content_type,
|
|
2457
|
+
_headers=_headers,
|
|
2458
|
+
_host_index=_host_index
|
|
2459
|
+
)
|
|
2460
|
+
|
|
2461
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2462
|
+
'200': "PersonasGetPersonaInstanceResponse",
|
|
2463
|
+
'400': "PersonasGetPersonaInstanceResponse",
|
|
2464
|
+
'404': "PersonasGetPersonaInstanceResponse",
|
|
2465
|
+
'503': "PersonasGetPersonaInstanceResponse",
|
|
2466
|
+
}
|
|
2467
|
+
response_data = self.api_client.call_api(
|
|
2468
|
+
*_param,
|
|
2469
|
+
_request_timeout=_request_timeout
|
|
2470
|
+
)
|
|
2471
|
+
return response_data.response
|
|
2472
|
+
|
|
2473
|
+
|
|
2474
|
+
def _api_v1_persona_instance_latest_post_serialize(
|
|
2475
|
+
self,
|
|
2476
|
+
request,
|
|
2477
|
+
_request_auth,
|
|
2478
|
+
_content_type,
|
|
2479
|
+
_headers,
|
|
2480
|
+
_host_index,
|
|
2481
|
+
) -> RequestSerialized:
|
|
2482
|
+
|
|
2483
|
+
_host = None
|
|
2484
|
+
|
|
2485
|
+
_collection_formats: Dict[str, str] = {
|
|
2486
|
+
}
|
|
2487
|
+
|
|
2488
|
+
_path_params: Dict[str, str] = {}
|
|
2489
|
+
_query_params: List[Tuple[str, str]] = []
|
|
2490
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2491
|
+
_form_params: List[Tuple[str, str]] = []
|
|
2492
|
+
_files: Dict[
|
|
2493
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
2494
|
+
] = {}
|
|
2495
|
+
_body_params: Optional[bytes] = None
|
|
2496
|
+
|
|
2497
|
+
# process the path parameters
|
|
2498
|
+
# process the query parameters
|
|
2499
|
+
# process the header parameters
|
|
2500
|
+
# process the form parameters
|
|
2501
|
+
# process the body parameter
|
|
2502
|
+
if request is not None:
|
|
2503
|
+
_body_params = request
|
|
2504
|
+
|
|
2505
|
+
|
|
2506
|
+
# set the HTTP header `Accept`
|
|
2507
|
+
if 'Accept' not in _header_params:
|
|
2508
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2509
|
+
[
|
|
2510
|
+
'application/json'
|
|
2511
|
+
]
|
|
2512
|
+
)
|
|
2513
|
+
|
|
2514
|
+
|
|
2515
|
+
# authentication setting
|
|
2516
|
+
_auth_settings: List[str] = [
|
|
2517
|
+
'TokenAuth',
|
|
2518
|
+
'ApiKeyAuth'
|
|
2519
|
+
]
|
|
2520
|
+
|
|
2521
|
+
return self.api_client.param_serialize(
|
|
2522
|
+
method='POST',
|
|
2523
|
+
resource_path='/api/v1/persona/instance/latest',
|
|
2524
|
+
path_params=_path_params,
|
|
2525
|
+
query_params=_query_params,
|
|
2526
|
+
header_params=_header_params,
|
|
2527
|
+
body=_body_params,
|
|
2528
|
+
post_params=_form_params,
|
|
2529
|
+
files=_files,
|
|
2530
|
+
auth_settings=_auth_settings,
|
|
2531
|
+
collection_formats=_collection_formats,
|
|
2532
|
+
_host=_host,
|
|
2533
|
+
_request_auth=_request_auth
|
|
2534
|
+
)
|
|
2535
|
+
|
|
2536
|
+
|
|
2537
|
+
|
|
2538
|
+
|
|
2267
2539
|
@validate_call
|
|
2268
2540
|
def api_v1_persona_instance_post(
|
|
2269
2541
|
self,
|
neurograph/v1/models/__init__.py
CHANGED
|
@@ -211,6 +211,7 @@ from neurograph.v1.models.personas_factor_delete_response import PersonasFactorD
|
|
|
211
211
|
from neurograph.v1.models.personas_factor_row import PersonasFactorRow
|
|
212
212
|
from neurograph.v1.models.personas_factor_update_request import PersonasFactorUpdateRequest
|
|
213
213
|
from neurograph.v1.models.personas_factor_update_response import PersonasFactorUpdateResponse
|
|
214
|
+
from neurograph.v1.models.personas_get_latest_persona_instance_request import PersonasGetLatestPersonaInstanceRequest
|
|
214
215
|
from neurograph.v1.models.personas_get_persona_instance_response import PersonasGetPersonaInstanceResponse
|
|
215
216
|
from neurograph.v1.models.personas_insight_create_request import PersonasInsightCreateRequest
|
|
216
217
|
from neurograph.v1.models.personas_insight_create_response import PersonasInsightCreateResponse
|
|
@@ -0,0 +1,89 @@
|
|
|
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 PersonasGetLatestPersonaInstanceRequest(BaseModel):
|
|
26
|
+
"""
|
|
27
|
+
PersonasGetLatestPersonaInstanceRequest
|
|
28
|
+
""" # noqa: E501
|
|
29
|
+
client_id: Optional[StrictStr] = None
|
|
30
|
+
seed_uid: Optional[StrictStr] = None
|
|
31
|
+
__properties: ClassVar[List[str]] = ["client_id", "seed_uid"]
|
|
32
|
+
|
|
33
|
+
model_config = ConfigDict(
|
|
34
|
+
populate_by_name=True,
|
|
35
|
+
validate_assignment=True,
|
|
36
|
+
protected_namespaces=(),
|
|
37
|
+
)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def to_str(self) -> str:
|
|
41
|
+
"""Returns the string representation of the model using alias"""
|
|
42
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
43
|
+
|
|
44
|
+
def to_json(self) -> str:
|
|
45
|
+
"""Returns the JSON representation of the model using alias"""
|
|
46
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
47
|
+
return json.dumps(self.to_dict())
|
|
48
|
+
|
|
49
|
+
@classmethod
|
|
50
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
51
|
+
"""Create an instance of PersonasGetLatestPersonaInstanceRequest from a JSON string"""
|
|
52
|
+
return cls.from_dict(json.loads(json_str))
|
|
53
|
+
|
|
54
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
55
|
+
"""Return the dictionary representation of the model using alias.
|
|
56
|
+
|
|
57
|
+
This has the following differences from calling pydantic's
|
|
58
|
+
`self.model_dump(by_alias=True)`:
|
|
59
|
+
|
|
60
|
+
* `None` is only added to the output dict for nullable fields that
|
|
61
|
+
were set at model initialization. Other fields with value `None`
|
|
62
|
+
are ignored.
|
|
63
|
+
"""
|
|
64
|
+
excluded_fields: Set[str] = set([
|
|
65
|
+
])
|
|
66
|
+
|
|
67
|
+
_dict = self.model_dump(
|
|
68
|
+
by_alias=True,
|
|
69
|
+
exclude=excluded_fields,
|
|
70
|
+
exclude_none=True,
|
|
71
|
+
)
|
|
72
|
+
return _dict
|
|
73
|
+
|
|
74
|
+
@classmethod
|
|
75
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
76
|
+
"""Create an instance of PersonasGetLatestPersonaInstanceRequest from a dict"""
|
|
77
|
+
if obj is None:
|
|
78
|
+
return None
|
|
79
|
+
|
|
80
|
+
if not isinstance(obj, dict):
|
|
81
|
+
return cls.model_validate(obj)
|
|
82
|
+
|
|
83
|
+
_obj = cls.model_validate({
|
|
84
|
+
"client_id": obj.get("client_id"),
|
|
85
|
+
"seed_uid": obj.get("seed_uid")
|
|
86
|
+
})
|
|
87
|
+
return _obj
|
|
88
|
+
|
|
89
|
+
|
|
@@ -27,7 +27,7 @@ class PersonasInstanceCreateRequest(BaseModel):
|
|
|
27
27
|
PersonasInstanceCreateRequest
|
|
28
28
|
""" # noqa: E501
|
|
29
29
|
age: Optional[Union[StrictFloat, StrictInt]] = None
|
|
30
|
-
change_metadata: Optional[
|
|
30
|
+
change_metadata: Optional[Dict[str, Any]] = None
|
|
31
31
|
description: Optional[StrictStr] = None
|
|
32
32
|
female: Optional[Union[StrictFloat, StrictInt]] = None
|
|
33
33
|
income: Optional[StrictStr] = None
|
|
@@ -27,7 +27,7 @@ class PersonasInstanceCreateResponse(BaseModel):
|
|
|
27
27
|
PersonasInstanceCreateResponse
|
|
28
28
|
""" # noqa: E501
|
|
29
29
|
age: Optional[Union[StrictFloat, StrictInt]] = None
|
|
30
|
-
change_metadata: Optional[
|
|
30
|
+
change_metadata: Optional[Dict[str, Any]] = None
|
|
31
31
|
description: Optional[StrictStr] = None
|
|
32
32
|
error: Optional[StrictStr] = None
|
|
33
33
|
female: Optional[Union[StrictFloat, StrictInt]] = None
|
{neurograph_core-1.202602031952.dist-info → neurograph_core-1.202602040410.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=afCOHjRAN_COh4-7WV7TonWW2_lnNb2zAUBsiFlAU_I,62966
|
|
3
3
|
neurograph/v1/api_client.py,sha256=Hofqcl3INiVInkW3F_UTSBbk4UkjIaP7fkt1S36AuKc,27789
|
|
4
4
|
neurograph/v1/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
5
5
|
neurograph/v1/configuration.py,sha256=x-DflCQNWAbZAJSoqLEMetFn13UM70fegKyqklEaAis,19460
|
|
@@ -17,14 +17,14 @@ neurograph/v1/api/knowledge_extract_api.py,sha256=ggHBzFsfXEqaWJgX21jnDNnE4NRwiJ
|
|
|
17
17
|
neurograph/v1/api/lookup_api.py,sha256=Agoj04UIGDyMKWqb13FMViHyZMuUTZDZ9Cp9JqCdlyY,70273
|
|
18
18
|
neurograph/v1/api/organization_api.py,sha256=rmr9X3agXNKdr_DJlKuSzf72tZ20qCyDyjlt4mntugo,326616
|
|
19
19
|
neurograph/v1/api/organization_metadata_api.py,sha256=PtwuBFSY0FjCAB7fuR710CRkQbtR-xpruX9780hGQxk,34860
|
|
20
|
-
neurograph/v1/api/persona_api.py,sha256=
|
|
20
|
+
neurograph/v1/api/persona_api.py,sha256=omxJyaIMIU7RoXWAZAIio3FCrSMCxkzfHga2nWElbm0,280323
|
|
21
21
|
neurograph/v1/api/pixel_api.py,sha256=1tmF0IWix3KbgAhDFkOgpZOv0X8P2H4xknjQfHrSXTQ,22853
|
|
22
22
|
neurograph/v1/api/reporting_api.py,sha256=YyxE-OTsQVZY0T0mJLW7ZeJkfLlP6kRDIpcrXYAzzlU,169520
|
|
23
23
|
neurograph/v1/api/reports_api.py,sha256=wc3eq8ydpIHlh61TtP5miiGE45bV5RYQAoqm27K0dIo,207082
|
|
24
24
|
neurograph/v1/api/signal_api.py,sha256=TDpLWN6thcxgz5jDVG3vyhx3dFkl7lKTihhW63qfLKs,22729
|
|
25
25
|
neurograph/v1/api/user_api.py,sha256=0Y4xYK1n7WxkfAY8X6umW0y21mFkeKEaEWcLO9ub20o,10366
|
|
26
26
|
neurograph/v1/api/workbench_api.py,sha256=BMhqbbd_PSZ27br7idOgyZFdxMQ0N7O4fFQq8n_6JVs,34221
|
|
27
|
-
neurograph/v1/models/__init__.py,sha256=
|
|
27
|
+
neurograph/v1/models/__init__.py,sha256=UC2GdxFv0IOZLFUl7ln2FcqcBXajKTPPyXa4UdvNmzI,35462
|
|
28
28
|
neurograph/v1/models/admin_permission_response.py,sha256=RPM3v7iutgJKHnZbVo5ALwqMO8UDc6K0DzHdEoRgubo,2936
|
|
29
29
|
neurograph/v1/models/admin_reset_password_request.py,sha256=Ta56g3BpdgCXx9OPAipWLK68JOC98OzXPG5BhTRw0TI,2846
|
|
30
30
|
neurograph/v1/models/admin_reset_password_response.py,sha256=O6jGhIYC6MX7EKNZHUnw-muPE-_K3ewIL6IyePocFys,2859
|
|
@@ -223,11 +223,12 @@ neurograph/v1/models/personas_factor_delete_response.py,sha256=Qi-Nubju5tgRvlf9U
|
|
|
223
223
|
neurograph/v1/models/personas_factor_row.py,sha256=1tXF3fy0YKsGBTJ2o10DdyjhMaBRsnGSm0p38sUlwJI,3194
|
|
224
224
|
neurograph/v1/models/personas_factor_update_request.py,sha256=I4wWa_XB6omVEqy1BMvk32UAHa8xBlg1zFmcUdMabRM,2932
|
|
225
225
|
neurograph/v1/models/personas_factor_update_response.py,sha256=bPo_Fqm3_yfE9OKlqmyVLLDeGK9ocDDPkP7zTwKVW38,2937
|
|
226
|
+
neurograph/v1/models/personas_get_latest_persona_instance_request.py,sha256=Vi7fhhmLKEQ-vOIo2uF_iTQPZSkxQsD4Bi8V1H99hBw,2723
|
|
226
227
|
neurograph/v1/models/personas_get_persona_instance_response.py,sha256=8FCU8CQJu52zv8Y-8jEjStwVhInL7t8e4oLDcGnHv1c,8705
|
|
227
228
|
neurograph/v1/models/personas_insight_create_request.py,sha256=x7iuyG07Y2LftYLSBbu8LVpiS5Jx7kk3Viqtf-8jyzg,3049
|
|
228
229
|
neurograph/v1/models/personas_insight_create_response.py,sha256=4LRuoyG41k3s9V0rsSvDUD183-TkxtJyTFICvcMNvmk,3082
|
|
229
|
-
neurograph/v1/models/personas_instance_create_request.py,sha256
|
|
230
|
-
neurograph/v1/models/personas_instance_create_response.py,sha256=
|
|
230
|
+
neurograph/v1/models/personas_instance_create_request.py,sha256=xrS5yhwVmxtd5MMABvo2yXIOCd3ly8q1UuV5rgTdRDU,5277
|
|
231
|
+
neurograph/v1/models/personas_instance_create_response.py,sha256=O2_RZ6Y6q7GHyUz76msziGBY9mWNYOTNjNQxxj6_sks,5616
|
|
231
232
|
neurograph/v1/models/personas_instance_delete_many_request.py,sha256=5isrgWLbntRa1_6_dT5qayY50xLecpjLCQT1w-D2bvA,2651
|
|
232
233
|
neurograph/v1/models/personas_instance_delete_many_response.py,sha256=qIa_56Au1ROx6v0CYlklQqwKblRUEwuM9UOHJb4I-nE,2725
|
|
233
234
|
neurograph/v1/models/personas_instances_response.py,sha256=EsPK4DvRSObNJ-crcM_OFR4nhKMvc-2TX-zMRIn4os4,3447
|
|
@@ -416,7 +417,7 @@ neurograph/v1/models/workbench_workbench_version.py,sha256=AsgikzRU6BRj99gRFGGTl
|
|
|
416
417
|
neurograph/v1/models/workbench_workbench_version_many_response.py,sha256=xuOxnMscyIo8DhsR-yyir1rruExSgNWMu3yMWzgWbc0,3195
|
|
417
418
|
neurograph/v1/models/workbench_workbench_version_response.py,sha256=nMupKXBsoi4eXD-fsp_5PHrMislATwoBpVIZU7mG9RM,3283
|
|
418
419
|
neurograph/v1/models/workbench_workbench_version_upsert_request.py,sha256=bAxjBeFe8EG3bXPUrLjfntlC65lK5p_ddPs_0yX3A9g,2994
|
|
419
|
-
neurograph_core-1.
|
|
420
|
-
neurograph_core-1.
|
|
421
|
-
neurograph_core-1.
|
|
422
|
-
neurograph_core-1.
|
|
420
|
+
neurograph_core-1.202602040410.dist-info/METADATA,sha256=hIRWK289taVESglTPemyccVdupMwXBKcHiAhuLhWxF8,1902
|
|
421
|
+
neurograph_core-1.202602040410.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
422
|
+
neurograph_core-1.202602040410.dist-info/top_level.txt,sha256=iajcSUfGanaBq4McklJQ4IXVuwV24WJhY7FRzlQybxI,11
|
|
423
|
+
neurograph_core-1.202602040410.dist-info/RECORD,,
|
|
File without changes
|
{neurograph_core-1.202602031952.dist-info → neurograph_core-1.202602040410.dist-info}/top_level.txt
RENAMED
|
File without changes
|