arpakitlib 1.8.202__py3-none-any.whl → 1.8.203__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.
- arpakitlib/_arpakit_project_template_v_5/project/api/schema/util/__init__.py +0 -0
- arpakitlib/_arpakit_project_template_v_5/project/api/schema/util/schema_from_dbm.py +10 -0
- {arpakitlib-1.8.202.dist-info → arpakitlib-1.8.203.dist-info}/METADATA +1 -1
- {arpakitlib-1.8.202.dist-info → arpakitlib-1.8.203.dist-info}/RECORD +7 -5
- {arpakitlib-1.8.202.dist-info → arpakitlib-1.8.203.dist-info}/LICENSE +0 -0
- {arpakitlib-1.8.202.dist-info → arpakitlib-1.8.203.dist-info}/WHEEL +0 -0
- {arpakitlib-1.8.202.dist-info → arpakitlib-1.8.203.dist-info}/entry_points.txt +0 -0
File without changes
|
@@ -0,0 +1,10 @@
|
|
1
|
+
from typing import Type
|
2
|
+
|
3
|
+
from arpakitlib.ar_sqlalchemy_util import BaseDBM
|
4
|
+
from pydantic import BaseModel
|
5
|
+
|
6
|
+
|
7
|
+
def schema_from_dbm(*, schema: Type[BaseModel], dbm: BaseDBM, **kwargs) -> BaseModel:
|
8
|
+
return schema.model_validate(dbm.simple_dict(
|
9
|
+
include_columns_and_sd_properties=schema.model_fields.keys()
|
10
|
+
))
|
@@ -167,6 +167,8 @@ arpakitlib/_arpakit_project_template_v_5/project/api/schema/out/general/api_key.
|
|
167
167
|
arpakitlib/_arpakit_project_template_v_5/project/api/schema/out/general/common.py,sha256=y-p4QJhvKnFL1I6ud3m_nzE0xtreT3CNApPkkkLAbG0,541
|
168
168
|
arpakitlib/_arpakit_project_template_v_5/project/api/schema/out/general/user.py,sha256=AvYwqaowd1V_6VQjrIGxt8SwqNEgmirLcHbtSHPwWmQ,1080
|
169
169
|
arpakitlib/_arpakit_project_template_v_5/project/api/schema/out/general/user_token.py,sha256=iiuZXu_zo3FJX0W5qyyMGasUx-_d32yjqc_2KY3xpUA,513
|
170
|
+
arpakitlib/_arpakit_project_template_v_5/project/api/schema/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
171
|
+
arpakitlib/_arpakit_project_template_v_5/project/api/schema/util/schema_from_dbm.py,sha256=nJ2YNRzcydXDJG8V5_MiI3ODi140D_itayjk-caJe0o,319
|
170
172
|
arpakitlib/_arpakit_project_template_v_5/project/api/start_api.py,sha256=P5KMtYXujQUP2uAAKgUFyCxG99Fj2vfNf1ZEm8eFH80,532
|
171
173
|
arpakitlib/_arpakit_project_template_v_5/project/api/util.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
172
174
|
arpakitlib/_arpakit_project_template_v_5/project/business_service/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -414,8 +416,8 @@ arpakitlib/ar_str_util.py,sha256=2lGpnXDf2h1cBZpVf5i1tX_HCv5iBd6IGnrCw4QWWlY,435
|
|
414
416
|
arpakitlib/ar_type_util.py,sha256=Cs_tef-Fc5xeyAF54KgISCsP11NHyzIsglm4S3Xx7iM,4049
|
415
417
|
arpakitlib/ar_yookassa_api_client_util.py,sha256=VozuZeCJjmLd1zj2BdC9WfiAQ3XYOrIMsdpNK-AUlm0,5347
|
416
418
|
arpakitlib/clone_pydantic_model_fields.py,sha256=k3IrYAI-lEHVSHYJHmKWiz8FNVMGS5vwmStitCGHG4E,1152
|
417
|
-
arpakitlib-1.8.
|
418
|
-
arpakitlib-1.8.
|
419
|
-
arpakitlib-1.8.
|
420
|
-
arpakitlib-1.8.
|
421
|
-
arpakitlib-1.8.
|
419
|
+
arpakitlib-1.8.203.dist-info/LICENSE,sha256=GPEDQMam2r7FSTYqM1mm7aKnxLaWcBotH7UvQtea-ec,11355
|
420
|
+
arpakitlib-1.8.203.dist-info/METADATA,sha256=q1ex3wAdpQIQPqUI_NvlSW5ZzN_JUn70aNI5-2Sne8I,3741
|
421
|
+
arpakitlib-1.8.203.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
422
|
+
arpakitlib-1.8.203.dist-info/entry_points.txt,sha256=36xqR3PJFT2kuwjkM_EqoIy0qFUDPKSm_mJaI7emewE,87
|
423
|
+
arpakitlib-1.8.203.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|