neurograph-core 1.202508201827__py3-none-any.whl → 1.202508221357__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.
@@ -17,7 +17,7 @@ import pprint
17
17
  import re # noqa: F401
18
18
  import json
19
19
 
20
- from pydantic import BaseModel, ConfigDict, StrictBool, StrictStr
20
+ from pydantic import BaseModel, ConfigDict, StrictBool, StrictInt, 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
@@ -27,13 +27,11 @@ class ClientClientUrlUpsertRequest(BaseModel):
27
27
  ClientClientUrlUpsertRequest
28
28
  """ # noqa: E501
29
29
  client_id: Optional[StrictStr] = None
30
- environment: Optional[StrictStr] = None
31
- id: Optional[StrictStr] = None
32
- is_active: Optional[StrictBool] = None
33
- is_silent: Optional[StrictBool] = None
34
- pixel_version_id: Optional[StrictStr] = None
30
+ customer_environment: Optional[StrictStr] = None
31
+ id: Optional[StrictInt] = None
32
+ is_active: Optional[StrictBool] = True
35
33
  url: Optional[StrictStr] = None
36
- __properties: ClassVar[List[str]] = ["client_id", "environment", "id", "is_active", "is_silent", "pixel_version_id", "url"]
34
+ __properties: ClassVar[List[str]] = ["client_id", "customer_environment", "id", "is_active", "url"]
37
35
 
38
36
  model_config = ConfigDict(
39
37
  populate_by_name=True,
@@ -87,11 +85,9 @@ class ClientClientUrlUpsertRequest(BaseModel):
87
85
 
88
86
  _obj = cls.model_validate({
89
87
  "client_id": obj.get("client_id"),
90
- "environment": obj.get("environment"),
88
+ "customer_environment": obj.get("customer_environment"),
91
89
  "id": obj.get("id"),
92
- "is_active": obj.get("is_active"),
93
- "is_silent": obj.get("is_silent"),
94
- "pixel_version_id": obj.get("pixel_version_id"),
90
+ "is_active": obj.get("is_active") if obj.get("is_active") is not None else True,
95
91
  "url": obj.get("url")
96
92
  })
97
93
  return _obj
@@ -17,7 +17,7 @@ import pprint
17
17
  import re # noqa: F401
18
18
  import json
19
19
 
20
- from pydantic import BaseModel, ConfigDict, StrictBool, StrictStr
20
+ from pydantic import BaseModel, ConfigDict, StrictBool, StrictInt, StrictStr
21
21
  from typing import Any, ClassVar, Dict, List, Optional
22
22
  from neurograph.v1.models.pgtype_timestamp import PgtypeTimestamp
23
23
  from typing import Optional, Set
@@ -28,14 +28,14 @@ class ClientClientUrlUpsertResponse(BaseModel):
28
28
  ClientClientUrlUpsertResponse
29
29
  """ # noqa: E501
30
30
  client_id: Optional[StrictStr] = None
31
- environment: Optional[StrictStr] = None
31
+ customer_environment: Optional[StrictStr] = None
32
32
  error: Optional[StrictStr] = None
33
- id: Optional[StrictStr] = None
33
+ id: Optional[StrictInt] = None
34
34
  is_active: Optional[StrictBool] = None
35
35
  ts_created: Optional[PgtypeTimestamp] = None
36
36
  ts_updated: Optional[PgtypeTimestamp] = None
37
37
  url: Optional[StrictStr] = None
38
- __properties: ClassVar[List[str]] = ["client_id", "environment", "error", "id", "is_active", "ts_created", "ts_updated", "url"]
38
+ __properties: ClassVar[List[str]] = ["client_id", "customer_environment", "error", "id", "is_active", "ts_created", "ts_updated", "url"]
39
39
 
40
40
  model_config = ConfigDict(
41
41
  populate_by_name=True,
@@ -95,7 +95,7 @@ class ClientClientUrlUpsertResponse(BaseModel):
95
95
 
96
96
  _obj = cls.model_validate({
97
97
  "client_id": obj.get("client_id"),
98
- "environment": obj.get("environment"),
98
+ "customer_environment": obj.get("customer_environment"),
99
99
  "error": obj.get("error"),
100
100
  "id": obj.get("id"),
101
101
  "is_active": obj.get("is_active"),
@@ -17,9 +17,8 @@ import pprint
17
17
  import re # noqa: F401
18
18
  import json
19
19
 
20
- from pydantic import BaseModel, ConfigDict, StrictBool, StrictStr
20
+ from pydantic import BaseModel, ConfigDict, StrictBool, StrictInt, StrictStr
21
21
  from typing import Any, ClassVar, Dict, List, Optional
22
- from neurograph.v1.models.pgtype_timestamp import PgtypeTimestamp
23
22
  from typing import Optional, Set
24
23
  from typing_extensions import Self
25
24
 
@@ -28,13 +27,11 @@ class DbClientUrl(BaseModel):
28
27
  DbClientUrl
29
28
  """ # noqa: E501
30
29
  client_id: Optional[StrictStr] = None
31
- environment: Optional[StrictStr] = None
32
- id: Optional[StrictStr] = None
30
+ customer_environment: Optional[StrictStr] = None
31
+ id: Optional[StrictInt] = None
33
32
  is_active: Optional[StrictBool] = None
34
- ts_created: Optional[PgtypeTimestamp] = None
35
- ts_updated: Optional[PgtypeTimestamp] = None
36
33
  url: Optional[StrictStr] = None
37
- __properties: ClassVar[List[str]] = ["client_id", "environment", "id", "is_active", "ts_created", "ts_updated", "url"]
34
+ __properties: ClassVar[List[str]] = ["client_id", "customer_environment", "id", "is_active", "url"]
38
35
 
39
36
  model_config = ConfigDict(
40
37
  populate_by_name=True,
@@ -75,12 +72,6 @@ class DbClientUrl(BaseModel):
75
72
  exclude=excluded_fields,
76
73
  exclude_none=True,
77
74
  )
78
- # override the default output from pydantic by calling `to_dict()` of ts_created
79
- if self.ts_created:
80
- _dict['ts_created'] = self.ts_created.to_dict()
81
- # override the default output from pydantic by calling `to_dict()` of ts_updated
82
- if self.ts_updated:
83
- _dict['ts_updated'] = self.ts_updated.to_dict()
84
75
  return _dict
85
76
 
86
77
  @classmethod
@@ -94,11 +85,9 @@ class DbClientUrl(BaseModel):
94
85
 
95
86
  _obj = cls.model_validate({
96
87
  "client_id": obj.get("client_id"),
97
- "environment": obj.get("environment"),
88
+ "customer_environment": obj.get("customer_environment"),
98
89
  "id": obj.get("id"),
99
90
  "is_active": obj.get("is_active"),
100
- "ts_created": PgtypeTimestamp.from_dict(obj["ts_created"]) if obj.get("ts_created") is not None else None,
101
- "ts_updated": PgtypeTimestamp.from_dict(obj["ts_updated"]) if obj.get("ts_updated") is not None else None,
102
91
  "url": obj.get("url")
103
92
  })
104
93
  return _obj
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: neurograph-core
3
- Version: 1.202508201827
3
+ Version: 1.202508221357
4
4
  Summary: Neurograph Core
5
5
  Home-page:
6
6
  Author: Neurograph Development Team
@@ -38,8 +38,8 @@ neurograph/v1/models/client_client_metadata_response.py,sha256=42x2Yfw_Y34W1zVdP
38
38
  neurograph/v1/models/client_client_personas_response.py,sha256=fi46bYQLa0b4gn1hLKKwafcC-4x7fMXQia7i-SQD56E,3227
39
39
  neurograph/v1/models/client_client_upsert_request.py,sha256=8EsIXGr7PiPvgOlVlRsv1tW1qOf9XU--6q-L5h4IuSQ,2906
40
40
  neurograph/v1/models/client_client_upsert_response.py,sha256=tAj97BrUVt5XtxUw6tORdWEwqggfOGO546Wzs_Lo0Go,3757
41
- neurograph/v1/models/client_client_url_upsert_request.py,sha256=IxUeVJRRNiXuiogn2GTxNgqLWxiTZPO8bLdNzQzBpyo,3191
42
- neurograph/v1/models/client_client_url_upsert_response.py,sha256=LmfBxRQnpKvNVPl9wwgpeqQwuvNoQPu4G24r8D-iNdw,3832
41
+ neurograph/v1/models/client_client_url_upsert_request.py,sha256=1RmkJcmfmIl5L3EW4l8osnHR43E7HwDeTqThJG1b8R0,3051
42
+ neurograph/v1/models/client_client_url_upsert_response.py,sha256=2tTCfy8G4lEZbGZ0YTny86v5mt6UesS13DB75JcrpXk,3879
43
43
  neurograph/v1/models/client_client_urls_response.py,sha256=qJAtaA7eQQZkp7-Ik5TUjt0S_qiJFhmrGbxIj-DiXhY,3330
44
44
  neurograph/v1/models/client_delete_metadata_request.py,sha256=rsu6Ly7DdSVPx7EmKMJuOUAH03icV2SAtZwE0eMvE2g,2553
45
45
  neurograph/v1/models/client_kpi.py,sha256=70J-ig90ZqT9j9-mBe9vqkihYVRvUq4q_hNOaDG0z4A,2798
@@ -51,7 +51,7 @@ neurograph/v1/models/client_persona_personality_trait.py,sha256=ac6z3pxe2mpZJbSE
51
51
  neurograph/v1/models/client_query.py,sha256=47vNNZefjPpM1RnHJK2y1Jq4saPixCPG0BYNoUDTE_c,2766
52
52
  neurograph/v1/models/dagster_dagster_log_create_request.py,sha256=76esUJpOV9dDtvJK0nVw_XluQW6w8sTKJ_YX034SFpQ,2835
53
53
  neurograph/v1/models/dagster_dagster_log_create_response.py,sha256=FHHqYbSL5vGLSrrZAzJhkyhCu1gNAzsiy7d4pdGYAnA,2768
54
- neurograph/v1/models/db_client_url.py,sha256=yuk0_BaqLZiE547Vupb5epYB10vxd1rKCjyfdKJj9Fc,3674
54
+ neurograph/v1/models/db_client_url.py,sha256=YXJVyfTfx5BvpSaMAE8Q0W3MGpqS_k4iVZzQqvBiOJE,2937
55
55
  neurograph/v1/models/db_persona_factor_create_params.py,sha256=a0u8yJJRMjRFtsuYlDp2JwrU0O2ZlCitVQX_sB6tvZY,3074
56
56
  neurograph/v1/models/lookup_language.py,sha256=YMyl2EcRcOmNUT4RcbnvNW9tZ4lzTer2GlTN1kaiT0k,3010
57
57
  neurograph/v1/models/lookup_lookup_language_response.py,sha256=FCgv5K2Ne6hmixYW8P0r-FqGwaw3bKp4A3xdFZi3D_w,3114
@@ -118,7 +118,7 @@ neurograph/v1/models/workbench_workbench_version.py,sha256=AsgikzRU6BRj99gRFGGTl
118
118
  neurograph/v1/models/workbench_workbench_version_many_response.py,sha256=xuOxnMscyIo8DhsR-yyir1rruExSgNWMu3yMWzgWbc0,3195
119
119
  neurograph/v1/models/workbench_workbench_version_response.py,sha256=nMupKXBsoi4eXD-fsp_5PHrMislATwoBpVIZU7mG9RM,3283
120
120
  neurograph/v1/models/workbench_workbench_version_upsert_request.py,sha256=bAxjBeFe8EG3bXPUrLjfntlC65lK5p_ddPs_0yX3A9g,2994
121
- neurograph_core-1.202508201827.dist-info/METADATA,sha256=PBoB7Kr_9E4dpsc7l6M7sygAcyNSCLAUeI9YhAkxRqo,1902
122
- neurograph_core-1.202508201827.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
123
- neurograph_core-1.202508201827.dist-info/top_level.txt,sha256=iajcSUfGanaBq4McklJQ4IXVuwV24WJhY7FRzlQybxI,11
124
- neurograph_core-1.202508201827.dist-info/RECORD,,
121
+ neurograph_core-1.202508221357.dist-info/METADATA,sha256=g5-rsUAnuhRL8PWvGFaXAdi2gIvqgyPNglAAFHrbEac,1902
122
+ neurograph_core-1.202508221357.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
123
+ neurograph_core-1.202508221357.dist-info/top_level.txt,sha256=iajcSUfGanaBq4McklJQ4IXVuwV24WJhY7FRzlQybxI,11
124
+ neurograph_core-1.202508221357.dist-info/RECORD,,