mm-std 0.4.4__py3-none-any.whl → 0.4.5__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.
mm_std/config.py
CHANGED
@@ -57,7 +57,7 @@ class BaseConfig(BaseModel):
|
|
57
57
|
else:
|
58
58
|
with config_path.open("rb") as f:
|
59
59
|
data = tomllib.load(f)
|
60
|
-
model = await cls.
|
60
|
+
model = await cls.model_validate(data) # type:ignore[misc]
|
61
61
|
return Result.success(model)
|
62
62
|
except ValidationError as e:
|
63
63
|
return Result.failure(("validator_error", e), extra={"errors": e.errors()})
|
@@ -1,6 +1,6 @@
|
|
1
1
|
mm_std/__init__.py,sha256=gSMy_KY9kffPFnrDzdUti_JiQP1hB3ZtF7GxhOCc1Vc,2814
|
2
2
|
mm_std/command.py,sha256=ze286wjUjg0QSTgIu-2WZks53_Vclg69UaYYgPpQvCU,1283
|
3
|
-
mm_std/config.py,sha256=
|
3
|
+
mm_std/config.py,sha256=9KfHTbv-VBbZVs8gzue4CH51ygoiEhZ9aQOmM-O-m74,3080
|
4
4
|
mm_std/crypto.py,sha256=jdk0_TCmeU0pPXMyz9xH6kQHSjjZ9GcGClBwQps5vBo,340
|
5
5
|
mm_std/date.py,sha256=976eEkSONuNqHQBgSRu8hrtH23tJqztbmHFHLdbP2TY,1879
|
6
6
|
mm_std/dict.py,sha256=6GkhJPXD0LiJDxPcYe6jPdEDw-MN7P7mKu6U5XxwYDk,675
|
@@ -28,6 +28,6 @@ mm_std/http/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
28
28
|
mm_std/http/http_request.py,sha256=VnjZKrfaXQfMxrHRUqQ-Sxtr5Qf9FXBiJ-mmJTCzNkY,3709
|
29
29
|
mm_std/http/http_request_sync.py,sha256=bqCBilbe4ZJ9vkhuBQeU5UMTJh6BtvtUwjieEodu6rw,1542
|
30
30
|
mm_std/http/http_response.py,sha256=gz4kCCL0qr7wvw4NNiK1K2hXlrY0B0Iq4fJuYSrv3bw,3920
|
31
|
-
mm_std-0.4.
|
32
|
-
mm_std-0.4.
|
33
|
-
mm_std-0.4.
|
31
|
+
mm_std-0.4.5.dist-info/METADATA,sha256=vsoqJPmQ237Lvv4C057WvFRJsNkSHhmawo2Fy9VqOWI,446
|
32
|
+
mm_std-0.4.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
33
|
+
mm_std-0.4.5.dist-info/RECORD,,
|
File without changes
|