internal 1.0.84__tar.gz → 1.0.86__tar.gz
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.
- {internal-1.0.84 → internal-1.0.86}/PKG-INFO +9 -8
- internal-1.0.86/pyproject.toml +24 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/model/base_model.py +2 -2
- internal-1.0.84/pyproject.toml +0 -23
- {internal-1.0.84 → internal-1.0.86}/README.md +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/__init__.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/base_config.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/base_factory.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/cache_redis.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/common_enum/__init__.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/common_enum/contact_type.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/common_enum/description_type.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/common_enum/event_code.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/common_enum/event_trigger_type.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/common_enum/feature.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/common_enum/lpnr_direction.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/common_enum/notify_type.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/common_enum/operator_type.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/common_enum/order_type.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/const.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/database.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/exception/__init__.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/exception/app_exception.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/exception/base_exception.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/exception/internal_exception.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/ext/__init__.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/ext/amazon/__init__.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/ext/amazon/aws/__init__.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/ext/amazon/aws/const.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/http/__init__.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/http/requests.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/http/responses.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/interface/__init__.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/interface/base_interface.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/middleware/__init__.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/middleware/log_request.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/model/__init__.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/model/operate.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/utils.py +0 -0
- {internal-1.0.84 → internal-1.0.86}/src/internal/validator_utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
2
|
Name: internal
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.86
|
|
4
4
|
Summary:
|
|
5
5
|
Author: Ray
|
|
6
6
|
Author-email: ray@cruisys.com
|
|
@@ -8,14 +8,15 @@ Requires-Python: >=3.11,<4.0
|
|
|
8
8
|
Classifier: Programming Language :: Python :: 3
|
|
9
9
|
Classifier: Programming Language :: Python :: 3.11
|
|
10
10
|
Classifier: Programming Language :: Python :: 3.12
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
11
12
|
Requires-Dist: arrow (>=1.3.0,<2.0.0)
|
|
12
|
-
Requires-Dist: beanie (>=1.
|
|
13
|
+
Requires-Dist: beanie (>=1.29.0,<2.0.0)
|
|
13
14
|
Requires-Dist: dictdiffer (>=0.9.0,<0.10.0)
|
|
14
|
-
Requires-Dist: fastapi (>=0.
|
|
15
|
-
Requires-Dist: httpx (>=0.
|
|
16
|
-
Requires-Dist: pydantic-settings (>=2.1
|
|
17
|
-
Requires-Dist: redis (>=5.
|
|
18
|
-
Requires-Dist: watchtower (>=3.
|
|
15
|
+
Requires-Dist: fastapi (>=0.115.6,<0.116.0)
|
|
16
|
+
Requires-Dist: httpx (>=0.28.1,<0.29.0)
|
|
17
|
+
Requires-Dist: pydantic-settings (>=2.7.1,<3.0.0)
|
|
18
|
+
Requires-Dist: redis (>=5.2.1,<6.0.0)
|
|
19
|
+
Requires-Dist: watchtower (>=3.3.1,<4.0.0)
|
|
19
20
|
Description-Content-Type: text/markdown
|
|
20
21
|
|
|
21
22
|
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "internal"
|
|
3
|
+
version = "1.0.86"
|
|
4
|
+
description = ""
|
|
5
|
+
authors = [{ name = "Ray", email = "ray@cruisys.com" }]
|
|
6
|
+
readme = "README.md"
|
|
7
|
+
requires-python = ">=3.11,<4.0"
|
|
8
|
+
|
|
9
|
+
[tool.poetry]
|
|
10
|
+
packages = [{ include = "internal", from = "src" }]
|
|
11
|
+
|
|
12
|
+
[tool.poetry.dependencies]
|
|
13
|
+
fastapi = "^0.115.6"
|
|
14
|
+
arrow = "^1.3.0"
|
|
15
|
+
pydantic-settings = "^2.7.1"
|
|
16
|
+
watchtower = "^3.3.1"
|
|
17
|
+
httpx = "^0.28.1"
|
|
18
|
+
beanie = "^1.29.0"
|
|
19
|
+
dictdiffer = "^0.9.0"
|
|
20
|
+
redis = "^5.2.1"
|
|
21
|
+
|
|
22
|
+
[build-system]
|
|
23
|
+
requires = ["poetry-core"]
|
|
24
|
+
build-backend = "poetry.core.masonry.api"
|
|
@@ -60,13 +60,13 @@ class InternalBaseDocument(Document):
|
|
|
60
60
|
original_model = self.model_copy(deep=True)
|
|
61
61
|
delta_dict = schema
|
|
62
62
|
if issubclass(type(schema), BaseModel):
|
|
63
|
-
delta_dict = schema.model_dump(exclude_unset=True)
|
|
63
|
+
delta_dict = schema.model_dump(exclude_unset=True, mode="json")
|
|
64
64
|
|
|
65
65
|
for key, value in delta_dict.items():
|
|
66
66
|
if hasattr(self, key):
|
|
67
67
|
setattr(self, key, value)
|
|
68
68
|
|
|
69
|
-
operate = await Operate.generate_operate(original_model.model_dump(), self.model_dump())
|
|
69
|
+
operate = await Operate.generate_operate(original_model.model_dump(mode="json"), self.model_dump(mode="json"))
|
|
70
70
|
if not operate.add and not operate.remove and not operate.change:
|
|
71
71
|
raise NoChangeException()
|
|
72
72
|
|
internal-1.0.84/pyproject.toml
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
[tool.poetry]
|
|
2
|
-
name = "internal"
|
|
3
|
-
version = "1.0.84"
|
|
4
|
-
description = ""
|
|
5
|
-
authors = ["Ray <ray@cruisys.com>"]
|
|
6
|
-
readme = "README.md"
|
|
7
|
-
packages = [{include = "internal", from = "src"}]
|
|
8
|
-
|
|
9
|
-
[tool.poetry.dependencies]
|
|
10
|
-
python = "^3.11"
|
|
11
|
-
fastapi = "^0.109.0"
|
|
12
|
-
arrow = "^1.3.0"
|
|
13
|
-
pydantic-settings = "^2.1.0"
|
|
14
|
-
watchtower = "^3.0.1"
|
|
15
|
-
httpx = "^0.26.0"
|
|
16
|
-
beanie = "^1.24.0"
|
|
17
|
-
dictdiffer = "^0.9.0"
|
|
18
|
-
redis = "^5.1.1"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
[build-system]
|
|
22
|
-
requires = ["poetry-core"]
|
|
23
|
-
build-backend = "poetry.core.masonry.api"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|