modmex 1.2.2__tar.gz → 1.2.3__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.
- {modmex-1.2.2 → modmex-1.2.3}/PKG-INFO +1 -1
- {modmex-1.2.2 → modmex-1.2.3}/modmex/base_model.py +5 -1
- {modmex-1.2.2 → modmex-1.2.3}/pyproject.toml +1 -1
- {modmex-1.2.2 → modmex-1.2.3}/LICENSE +0 -0
- {modmex-1.2.2 → modmex-1.2.3}/README.md +0 -0
- {modmex-1.2.2 → modmex-1.2.3}/modmex/__init__.py +0 -0
- {modmex-1.2.2 → modmex-1.2.3}/modmex/__init__.pyi +0 -0
- {modmex-1.2.2 → modmex-1.2.3}/modmex/base_model.pyi +0 -0
- {modmex-1.2.2 → modmex-1.2.3}/modmex/datetime_parser.py +0 -0
- {modmex-1.2.2 → modmex-1.2.3}/modmex/errors.py +0 -0
- {modmex-1.2.2 → modmex-1.2.3}/modmex/fields.py +0 -0
- {modmex-1.2.2 → modmex-1.2.3}/modmex/model_plans.py +0 -0
- {modmex-1.2.2 → modmex-1.2.3}/modmex/py.typed +0 -0
- {modmex-1.2.2 → modmex-1.2.3}/modmex/rust_backend.py +0 -0
- {modmex-1.2.2 → modmex-1.2.3}/modmex/serialization.py +0 -0
- {modmex-1.2.2 → modmex-1.2.3}/modmex/type_resolution.py +0 -0
- {modmex-1.2.2 → modmex-1.2.3}/modmex/validation.py +0 -0
- {modmex-1.2.2 → modmex-1.2.3}/modmex-core/Cargo.lock +0 -0
- {modmex-1.2.2 → modmex-1.2.3}/modmex-core/Cargo.toml +0 -0
- {modmex-1.2.2 → modmex-1.2.3}/modmex-core/src/coerce.rs +0 -0
- {modmex-1.2.2 → modmex-1.2.3}/modmex-core/src/lib.rs +0 -0
- {modmex-1.2.2 → modmex-1.2.3}/modmex-core/src/model_core.rs +0 -0
- {modmex-1.2.2 → modmex-1.2.3}/modmex-core/src/types.rs +0 -0
|
@@ -527,7 +527,11 @@ class BaseModel(metaclass=BaseModelMeta):
|
|
|
527
527
|
type(self).__modmex_serialization_name_map__,
|
|
528
528
|
)
|
|
529
529
|
if dump_plan is not None:
|
|
530
|
-
return orjson.dumps(
|
|
530
|
+
return orjson.dumps(
|
|
531
|
+
dump_plan(self),
|
|
532
|
+
option=orjson.OPT_PASSTHROUGH_DATETIME,
|
|
533
|
+
default=custom_serializer,
|
|
534
|
+
).decode("utf-8")
|
|
531
535
|
return orjson.dumps(
|
|
532
536
|
self.model_dump(
|
|
533
537
|
exclude=exclude,
|
|
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
|