neurograph-core 1.202509242050__py3-none-any.whl → 1.202509252137__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.
@@ -2211,6 +2211,7 @@ class KnowledgeApi:
2211
2211
  @validate_call
2212
2212
  def api_v1_knowledge_entity_get(
2213
2213
  self,
2214
+ batch_id: Optional[StrictStr] = None,
2214
2215
  client_id: Optional[StrictStr] = None,
2215
2216
  kind: Optional[StrictStr] = None,
2216
2217
  limit: Optional[StrictInt] = None,
@@ -2233,6 +2234,8 @@ class KnowledgeApi:
2233
2234
 
2234
2235
  Get one or many knowledge Entities, up to 10mb per request
2235
2236
 
2237
+ :param batch_id:
2238
+ :type batch_id: str
2236
2239
  :param client_id:
2237
2240
  :type client_id: str
2238
2241
  :param kind:
@@ -2266,6 +2269,7 @@ class KnowledgeApi:
2266
2269
  """ # noqa: E501
2267
2270
 
2268
2271
  _param = self._api_v1_knowledge_entity_get_serialize(
2272
+ batch_id=batch_id,
2269
2273
  client_id=client_id,
2270
2274
  kind=kind,
2271
2275
  limit=limit,
@@ -2296,6 +2300,7 @@ class KnowledgeApi:
2296
2300
  @validate_call
2297
2301
  def api_v1_knowledge_entity_get_with_http_info(
2298
2302
  self,
2303
+ batch_id: Optional[StrictStr] = None,
2299
2304
  client_id: Optional[StrictStr] = None,
2300
2305
  kind: Optional[StrictStr] = None,
2301
2306
  limit: Optional[StrictInt] = None,
@@ -2318,6 +2323,8 @@ class KnowledgeApi:
2318
2323
 
2319
2324
  Get one or many knowledge Entities, up to 10mb per request
2320
2325
 
2326
+ :param batch_id:
2327
+ :type batch_id: str
2321
2328
  :param client_id:
2322
2329
  :type client_id: str
2323
2330
  :param kind:
@@ -2351,6 +2358,7 @@ class KnowledgeApi:
2351
2358
  """ # noqa: E501
2352
2359
 
2353
2360
  _param = self._api_v1_knowledge_entity_get_serialize(
2361
+ batch_id=batch_id,
2354
2362
  client_id=client_id,
2355
2363
  kind=kind,
2356
2364
  limit=limit,
@@ -2381,6 +2389,7 @@ class KnowledgeApi:
2381
2389
  @validate_call
2382
2390
  def api_v1_knowledge_entity_get_without_preload_content(
2383
2391
  self,
2392
+ batch_id: Optional[StrictStr] = None,
2384
2393
  client_id: Optional[StrictStr] = None,
2385
2394
  kind: Optional[StrictStr] = None,
2386
2395
  limit: Optional[StrictInt] = None,
@@ -2403,6 +2412,8 @@ class KnowledgeApi:
2403
2412
 
2404
2413
  Get one or many knowledge Entities, up to 10mb per request
2405
2414
 
2415
+ :param batch_id:
2416
+ :type batch_id: str
2406
2417
  :param client_id:
2407
2418
  :type client_id: str
2408
2419
  :param kind:
@@ -2436,6 +2447,7 @@ class KnowledgeApi:
2436
2447
  """ # noqa: E501
2437
2448
 
2438
2449
  _param = self._api_v1_knowledge_entity_get_serialize(
2450
+ batch_id=batch_id,
2439
2451
  client_id=client_id,
2440
2452
  kind=kind,
2441
2453
  limit=limit,
@@ -2461,6 +2473,7 @@ class KnowledgeApi:
2461
2473
 
2462
2474
  def _api_v1_knowledge_entity_get_serialize(
2463
2475
  self,
2476
+ batch_id,
2464
2477
  client_id,
2465
2478
  kind,
2466
2479
  limit,
@@ -2488,6 +2501,10 @@ class KnowledgeApi:
2488
2501
 
2489
2502
  # process the path parameters
2490
2503
  # process the query parameters
2504
+ if batch_id is not None:
2505
+
2506
+ _query_params.append(('batchId', batch_id))
2507
+
2491
2508
  if client_id is not None:
2492
2509
 
2493
2510
  _query_params.append(('clientId', client_id))
@@ -3118,7 +3135,7 @@ class KnowledgeApi:
3118
3135
  ) -> KnowledgeIngestRawResponse:
3119
3136
  """Ingest raw source payloads
3120
3137
 
3121
- Append raw payloads into knowledge.ingest_raw (deduped by conflict key)
3138
+ Append raw payloads into knowledge.ingest_raw (deduped by conflict key).
3122
3139
 
3123
3140
  :param request: Body (required)
3124
3141
  :type request: KnowledgeIngestRawRequest
@@ -3155,7 +3172,6 @@ class KnowledgeApi:
3155
3172
  _response_types_map: Dict[str, Optional[str]] = {
3156
3173
  '200': "KnowledgeIngestRawResponse",
3157
3174
  '400': "KnowledgeIngestRawResponse",
3158
- '503': "KnowledgeIngestRawResponse",
3159
3175
  }
3160
3176
  response_data = self.api_client.call_api(
3161
3177
  *_param,
@@ -3187,7 +3203,7 @@ class KnowledgeApi:
3187
3203
  ) -> ApiResponse[KnowledgeIngestRawResponse]:
3188
3204
  """Ingest raw source payloads
3189
3205
 
3190
- Append raw payloads into knowledge.ingest_raw (deduped by conflict key)
3206
+ Append raw payloads into knowledge.ingest_raw (deduped by conflict key).
3191
3207
 
3192
3208
  :param request: Body (required)
3193
3209
  :type request: KnowledgeIngestRawRequest
@@ -3224,7 +3240,6 @@ class KnowledgeApi:
3224
3240
  _response_types_map: Dict[str, Optional[str]] = {
3225
3241
  '200': "KnowledgeIngestRawResponse",
3226
3242
  '400': "KnowledgeIngestRawResponse",
3227
- '503': "KnowledgeIngestRawResponse",
3228
3243
  }
3229
3244
  response_data = self.api_client.call_api(
3230
3245
  *_param,
@@ -3256,7 +3271,7 @@ class KnowledgeApi:
3256
3271
  ) -> RESTResponseType:
3257
3272
  """Ingest raw source payloads
3258
3273
 
3259
- Append raw payloads into knowledge.ingest_raw (deduped by conflict key)
3274
+ Append raw payloads into knowledge.ingest_raw (deduped by conflict key).
3260
3275
 
3261
3276
  :param request: Body (required)
3262
3277
  :type request: KnowledgeIngestRawRequest
@@ -3293,7 +3308,6 @@ class KnowledgeApi:
3293
3308
  _response_types_map: Dict[str, Optional[str]] = {
3294
3309
  '200': "KnowledgeIngestRawResponse",
3295
3310
  '400': "KnowledgeIngestRawResponse",
3296
- '503': "KnowledgeIngestRawResponse",
3297
3311
  }
3298
3312
  response_data = self.api_client.call_api(
3299
3313
  *_param,
@@ -16,7 +16,7 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
16
16
  from typing import Any, Dict, List, Optional, Tuple, Union
17
17
  from typing_extensions import Annotated
18
18
 
19
- from pydantic import Field, StrictInt, StrictStr
19
+ from pydantic import Field, StrictBool, StrictInt, StrictStr
20
20
  from typing import Optional
21
21
  from typing_extensions import Annotated
22
22
  from neurograph.v1.models.personas_factor_create_request import PersonasFactorCreateRequest
@@ -3032,9 +3032,10 @@ class PersonaApi:
3032
3032
 
3033
3033
 
3034
3034
  @validate_call
3035
- def api_v1_persona_seed_seed_id_put(
3035
+ def api_v1_persona_seed_seed_id_status_put(
3036
3036
  self,
3037
3037
  seed_id: Annotated[StrictStr, Field(description="Persona Seed Id")],
3038
+ status: Annotated[StrictBool, Field(description="Set is_active to")],
3038
3039
  _request_timeout: Union[
3039
3040
  None,
3040
3041
  Annotated[StrictFloat, Field(gt=0)],
@@ -3048,12 +3049,14 @@ class PersonaApi:
3048
3049
  _headers: Optional[Dict[StrictStr, Any]] = None,
3049
3050
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3050
3051
  ) -> None:
3051
- """Disable a Persona Seed
3052
+ """Toggle a Persona Seed
3052
3053
 
3053
3054
  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.
3054
3055
 
3055
3056
  :param seed_id: Persona Seed Id (required)
3056
3057
  :type seed_id: str
3058
+ :param status: Set is_active to (required)
3059
+ :type status: bool
3057
3060
  :param _request_timeout: timeout setting for this request. If one
3058
3061
  number provided, it will be total request
3059
3062
  timeout. It can also be a pair (tuple) of
@@ -3076,8 +3079,9 @@ class PersonaApi:
3076
3079
  :return: Returns the result object.
3077
3080
  """ # noqa: E501
3078
3081
 
3079
- _param = self._api_v1_persona_seed_seed_id_put_serialize(
3082
+ _param = self._api_v1_persona_seed_seed_id_status_put_serialize(
3080
3083
  seed_id=seed_id,
3084
+ status=status,
3081
3085
  _request_auth=_request_auth,
3082
3086
  _content_type=_content_type,
3083
3087
  _headers=_headers,
@@ -3087,7 +3091,6 @@ class PersonaApi:
3087
3091
  _response_types_map: Dict[str, Optional[str]] = {
3088
3092
  '200': None,
3089
3093
  '400': None,
3090
- '503': None,
3091
3094
  }
3092
3095
  response_data = self.api_client.call_api(
3093
3096
  *_param,
@@ -3101,9 +3104,10 @@ class PersonaApi:
3101
3104
 
3102
3105
 
3103
3106
  @validate_call
3104
- def api_v1_persona_seed_seed_id_put_with_http_info(
3107
+ def api_v1_persona_seed_seed_id_status_put_with_http_info(
3105
3108
  self,
3106
3109
  seed_id: Annotated[StrictStr, Field(description="Persona Seed Id")],
3110
+ status: Annotated[StrictBool, Field(description="Set is_active to")],
3107
3111
  _request_timeout: Union[
3108
3112
  None,
3109
3113
  Annotated[StrictFloat, Field(gt=0)],
@@ -3117,12 +3121,14 @@ class PersonaApi:
3117
3121
  _headers: Optional[Dict[StrictStr, Any]] = None,
3118
3122
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3119
3123
  ) -> ApiResponse[None]:
3120
- """Disable a Persona Seed
3124
+ """Toggle a Persona Seed
3121
3125
 
3122
3126
  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.
3123
3127
 
3124
3128
  :param seed_id: Persona Seed Id (required)
3125
3129
  :type seed_id: str
3130
+ :param status: Set is_active to (required)
3131
+ :type status: bool
3126
3132
  :param _request_timeout: timeout setting for this request. If one
3127
3133
  number provided, it will be total request
3128
3134
  timeout. It can also be a pair (tuple) of
@@ -3145,8 +3151,9 @@ class PersonaApi:
3145
3151
  :return: Returns the result object.
3146
3152
  """ # noqa: E501
3147
3153
 
3148
- _param = self._api_v1_persona_seed_seed_id_put_serialize(
3154
+ _param = self._api_v1_persona_seed_seed_id_status_put_serialize(
3149
3155
  seed_id=seed_id,
3156
+ status=status,
3150
3157
  _request_auth=_request_auth,
3151
3158
  _content_type=_content_type,
3152
3159
  _headers=_headers,
@@ -3156,7 +3163,6 @@ class PersonaApi:
3156
3163
  _response_types_map: Dict[str, Optional[str]] = {
3157
3164
  '200': None,
3158
3165
  '400': None,
3159
- '503': None,
3160
3166
  }
3161
3167
  response_data = self.api_client.call_api(
3162
3168
  *_param,
@@ -3170,9 +3176,10 @@ class PersonaApi:
3170
3176
 
3171
3177
 
3172
3178
  @validate_call
3173
- def api_v1_persona_seed_seed_id_put_without_preload_content(
3179
+ def api_v1_persona_seed_seed_id_status_put_without_preload_content(
3174
3180
  self,
3175
3181
  seed_id: Annotated[StrictStr, Field(description="Persona Seed Id")],
3182
+ status: Annotated[StrictBool, Field(description="Set is_active to")],
3176
3183
  _request_timeout: Union[
3177
3184
  None,
3178
3185
  Annotated[StrictFloat, Field(gt=0)],
@@ -3186,12 +3193,14 @@ class PersonaApi:
3186
3193
  _headers: Optional[Dict[StrictStr, Any]] = None,
3187
3194
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3188
3195
  ) -> RESTResponseType:
3189
- """Disable a Persona Seed
3196
+ """Toggle a Persona Seed
3190
3197
 
3191
3198
  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.
3192
3199
 
3193
3200
  :param seed_id: Persona Seed Id (required)
3194
3201
  :type seed_id: str
3202
+ :param status: Set is_active to (required)
3203
+ :type status: bool
3195
3204
  :param _request_timeout: timeout setting for this request. If one
3196
3205
  number provided, it will be total request
3197
3206
  timeout. It can also be a pair (tuple) of
@@ -3214,8 +3223,9 @@ class PersonaApi:
3214
3223
  :return: Returns the result object.
3215
3224
  """ # noqa: E501
3216
3225
 
3217
- _param = self._api_v1_persona_seed_seed_id_put_serialize(
3226
+ _param = self._api_v1_persona_seed_seed_id_status_put_serialize(
3218
3227
  seed_id=seed_id,
3228
+ status=status,
3219
3229
  _request_auth=_request_auth,
3220
3230
  _content_type=_content_type,
3221
3231
  _headers=_headers,
@@ -3225,7 +3235,6 @@ class PersonaApi:
3225
3235
  _response_types_map: Dict[str, Optional[str]] = {
3226
3236
  '200': None,
3227
3237
  '400': None,
3228
- '503': None,
3229
3238
  }
3230
3239
  response_data = self.api_client.call_api(
3231
3240
  *_param,
@@ -3234,9 +3243,10 @@ class PersonaApi:
3234
3243
  return response_data.response
3235
3244
 
3236
3245
 
3237
- def _api_v1_persona_seed_seed_id_put_serialize(
3246
+ def _api_v1_persona_seed_seed_id_status_put_serialize(
3238
3247
  self,
3239
3248
  seed_id,
3249
+ status,
3240
3250
  _request_auth,
3241
3251
  _content_type,
3242
3252
  _headers,
@@ -3260,6 +3270,8 @@ class PersonaApi:
3260
3270
  # process the path parameters
3261
3271
  if seed_id is not None:
3262
3272
  _path_params['seed_id'] = seed_id
3273
+ if status is not None:
3274
+ _path_params['status'] = status
3263
3275
  # process the query parameters
3264
3276
  # process the header parameters
3265
3277
  # process the form parameters
@@ -3275,7 +3287,7 @@ class PersonaApi:
3275
3287
 
3276
3288
  return self.api_client.param_serialize(
3277
3289
  method='PUT',
3278
- resource_path='/api/v1/persona/seed/{seed_id}',
3290
+ resource_path='/api/v1/persona/seed/{seed_id}/{status}',
3279
3291
  path_params=_path_params,
3280
3292
  query_params=_query_params,
3281
3293
  header_params=_header_params,
@@ -26,12 +26,13 @@ class KnowledgeQuery(BaseModel):
26
26
  """
27
27
  KnowledgeQuery
28
28
  """ # noqa: E501
29
+ batch_id: Optional[StrictStr] = Field(default=None, alias="batchId")
29
30
  client_id: Optional[StrictStr] = Field(default=None, alias="clientId")
30
31
  kind: Optional[StrictStr] = None
31
32
  limit: Optional[StrictInt] = None
32
33
  offset: Optional[StrictInt] = None
33
34
  schema_id: Optional[StrictStr] = Field(default=None, alias="schemaId")
34
- __properties: ClassVar[List[str]] = ["clientId", "kind", "limit", "offset", "schemaId"]
35
+ __properties: ClassVar[List[str]] = ["batchId", "clientId", "kind", "limit", "offset", "schemaId"]
35
36
 
36
37
  model_config = ConfigDict(
37
38
  populate_by_name=True,
@@ -84,6 +85,7 @@ class KnowledgeQuery(BaseModel):
84
85
  return cls.model_validate(obj)
85
86
 
86
87
  _obj = cls.model_validate({
88
+ "batchId": obj.get("batchId"),
87
89
  "clientId": obj.get("clientId"),
88
90
  "kind": obj.get("kind"),
89
91
  "limit": obj.get("limit"),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: neurograph-core
3
- Version: 1.202509242050
3
+ Version: 1.202509252137
4
4
  Summary: Neurograph Core
5
5
  Home-page:
6
6
  Author: Neurograph Development Team
@@ -11,12 +11,12 @@ neurograph/v1/api/authentication_api.py,sha256=5Qzs_TMzcjrPAQxbWAZ6HHXM80Fqfv42h
11
11
  neurograph/v1/api/client_api.py,sha256=BMQpol_76M9ab2LTo1E87c479HUP-_Kny4-IG_WTGDc,87619
12
12
  neurograph/v1/api/client_metadata_api.py,sha256=799y_V9AdA_TYCeN-qTEtKUFbq05Mv1vgCc0UY4qpcc,45652
13
13
  neurograph/v1/api/dagster_api.py,sha256=s17w5ZatLPE-jfcCr6U1O2bOXEIvuGxhFMjKkNbMtO0,22042
14
- neurograph/v1/api/knowledge_api.py,sha256=nUMXHj20u0GDy4-rMR5VXFaHB_tV8bA25cRrWPKA39E,186949
14
+ neurograph/v1/api/knowledge_api.py,sha256=MIqFWRc1hj1sAXpmRWKze5ulTVU1fYWrucnBB6E9Xzo,187328
15
15
  neurograph/v1/api/knowledge_extract_api.py,sha256=SkaITyaEukSt3murGIv2vT993-XvELaftmItV4rIng4,69067
16
16
  neurograph/v1/api/lookup_api.py,sha256=tHr-4nTp8-ZB3YN7pv53N14zCmPcLMwbuxJZv2w75sI,50977
17
17
  neurograph/v1/api/organization_api.py,sha256=rsl3DDVKNwLKwLfjDHMHmov8rt5NV8qKPT5vK3j7rSA,78133
18
18
  neurograph/v1/api/organization_metadata_api.py,sha256=PtwuBFSY0FjCAB7fuR710CRkQbtR-xpruX9780hGQxk,34860
19
- neurograph/v1/api/persona_api.py,sha256=z92bDaXJV0U9ZqCiiIFoUi4-jSb2NvhlRx-K7Ki1wQk,131999
19
+ neurograph/v1/api/persona_api.py,sha256=ztECosQVXeh-0EoCVnbZS76AhTBa4fjQ_gFpMEgJ8oU,132631
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
22
  neurograph/v1/models/__init__.py,sha256=oXDvKIOWyWMnCPyPHMHNXfNWa4gPLaL54-zpQBJO9Tg,27484
@@ -105,7 +105,7 @@ neurograph/v1/models/knowledge_order_query.py,sha256=3aLKfozkQ7Hcn6-zeEtJDGN01Kk
105
105
  neurograph/v1/models/knowledge_order_response.py,sha256=8Tx741pcqfNKFk7mejVHH9NBCKx40I3-ZWdTtG-zYRQ,3496
106
106
  neurograph/v1/models/knowledge_product_query.py,sha256=jZKf9dsHOj7FEmTpF2qMKahonDqbH08URY8cOTdRhEE,3218
107
107
  neurograph/v1/models/knowledge_product_response.py,sha256=mVsk0JVnP_TZGsbMwVuwIIJs4aKHU6G08PwIHbTVtw0,3520
108
- neurograph/v1/models/knowledge_query.py,sha256=ygFLdwc0R4DHGWA6KC2mW9uH9aQdu1XCSdAz7zwVPAk,2963
108
+ neurograph/v1/models/knowledge_query.py,sha256=OHJ66k0cqhTTnLTWTlGpWdR37MrhDXOI4DFRHOVcegM,3090
109
109
  neurograph/v1/models/knowledge_store_query.py,sha256=kmOSjDNRZUMcm8O6rqq3OrlkmqHXJ7ydesNDS-fBj9o,3165
110
110
  neurograph/v1/models/knowledge_store_response.py,sha256=LisJ--lX25X9ygalTcVJim1Hkm8ATFK3aMYdsjcy6O0,3496
111
111
  neurograph/v1/models/lookup_language.py,sha256=YMyl2EcRcOmNUT4RcbnvNW9tZ4lzTer2GlTN1kaiT0k,3010
@@ -172,7 +172,7 @@ neurograph/v1/models/workbench_workbench_version.py,sha256=AsgikzRU6BRj99gRFGGTl
172
172
  neurograph/v1/models/workbench_workbench_version_many_response.py,sha256=xuOxnMscyIo8DhsR-yyir1rruExSgNWMu3yMWzgWbc0,3195
173
173
  neurograph/v1/models/workbench_workbench_version_response.py,sha256=nMupKXBsoi4eXD-fsp_5PHrMislATwoBpVIZU7mG9RM,3283
174
174
  neurograph/v1/models/workbench_workbench_version_upsert_request.py,sha256=bAxjBeFe8EG3bXPUrLjfntlC65lK5p_ddPs_0yX3A9g,2994
175
- neurograph_core-1.202509242050.dist-info/METADATA,sha256=8JFQBE4jMMmKcsw6T9TFSydFWMZF1TB4mSswhoBRiDc,1936
176
- neurograph_core-1.202509242050.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
177
- neurograph_core-1.202509242050.dist-info/top_level.txt,sha256=iajcSUfGanaBq4McklJQ4IXVuwV24WJhY7FRzlQybxI,11
178
- neurograph_core-1.202509242050.dist-info/RECORD,,
175
+ neurograph_core-1.202509252137.dist-info/METADATA,sha256=fGWU8C80K0eLDsKaSB1x-MUGxicd5MfX23TyHv4q3II,1936
176
+ neurograph_core-1.202509252137.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
177
+ neurograph_core-1.202509252137.dist-info/top_level.txt,sha256=iajcSUfGanaBq4McklJQ4IXVuwV24WJhY7FRzlQybxI,11
178
+ neurograph_core-1.202509252137.dist-info/RECORD,,