ohmyapi 0.3.0__py3-none-any.whl → 0.3.1__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.
- ohmyapi/__init__.py +1 -1
- ohmyapi/db/model/model.py +2 -0
- {ohmyapi-0.3.0.dist-info → ohmyapi-0.3.1.dist-info}/METADATA +1 -1
- {ohmyapi-0.3.0.dist-info → ohmyapi-0.3.1.dist-info}/RECORD +6 -6
- {ohmyapi-0.3.0.dist-info → ohmyapi-0.3.1.dist-info}/WHEEL +0 -0
- {ohmyapi-0.3.0.dist-info → ohmyapi-0.3.1.dist-info}/entry_points.txt +0 -0
ohmyapi/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__VERSION__ = "0.3.
|
1
|
+
__VERSION__ = "0.3.1"
|
ohmyapi/db/model/model.py
CHANGED
@@ -45,6 +45,8 @@ class ModelMeta(type(TortoiseModel)):
|
|
45
45
|
inferred_app = module_parts[-2]
|
46
46
|
else:
|
47
47
|
inferred_app = module_parts[-1]
|
48
|
+
# Rewrite builtin apps to ohmyapi_* alias
|
49
|
+
inferred_app = inferred_app.replace("ohmyapi.builtin.", "ohmyapi_")
|
48
50
|
meta.app = inferred_app
|
49
51
|
|
50
52
|
# Prefix table name if not explicitly set
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: ohmyapi
|
3
|
-
Version: 0.3.
|
3
|
+
Version: 0.3.1
|
4
4
|
Summary: Django-flavored scaffolding and management layer around FastAPI, Pydantic, TortoiseORM and Aerich migrations
|
5
5
|
License-Expression: MIT
|
6
6
|
Keywords: fastapi,tortoise,orm,pydantic,async,web-framework
|
@@ -1,4 +1,4 @@
|
|
1
|
-
ohmyapi/__init__.py,sha256=
|
1
|
+
ohmyapi/__init__.py,sha256=i1R_tsS-v4pjXU9NnYLx9WrMJXtnWGvCpVJzKuf3DVY,22
|
2
2
|
ohmyapi/__main__.py,sha256=wcCrL4PjG51r5wVKqJhcoJPTLfHW0wNbD31DrUN0MWI,28
|
3
3
|
ohmyapi/builtin/auth/__init__.py,sha256=vOVCSJX8BALzs8h5ZW9507bjoscP37bncMjdMmBXcMM,42
|
4
4
|
ohmyapi/builtin/auth/models.py,sha256=8az4TKdC6PUha3_HyslKinDT2-yAN-aBoYUQcjxm7Js,1728
|
@@ -22,9 +22,9 @@ ohmyapi/core/templates/project/settings.py.j2,sha256=So6w1OiL_jU-FyeT8IHueDjGNuE
|
|
22
22
|
ohmyapi/db/__init__.py,sha256=5QKUycxnN83DOUD_Etoee9tEOYjnZ74deqrSOOx_MiQ,204
|
23
23
|
ohmyapi/db/exceptions.py,sha256=vb4IIUoeYAY6sK42zRtjMy-39IFVi_Qb6mWySTY0jYw,34
|
24
24
|
ohmyapi/db/model/__init__.py,sha256=k3StTNuKatpwZo_Z5JBFa-927eJrzibFE8U4SA82asc,32
|
25
|
-
ohmyapi/db/model/model.py,sha256=
|
25
|
+
ohmyapi/db/model/model.py,sha256=OtIJXIbeEa53N1mW_zYlIxNn93WVv23qaPilINnverc,3541
|
26
26
|
ohmyapi/router.py,sha256=5g0U59glu4hxxnIoTSFzb2S2offkOT3eE39aprzVxwo,83
|
27
|
-
ohmyapi-0.3.
|
28
|
-
ohmyapi-0.3.
|
29
|
-
ohmyapi-0.3.
|
30
|
-
ohmyapi-0.3.
|
27
|
+
ohmyapi-0.3.1.dist-info/METADATA,sha256=b1KpWfCr458dB_6wkd2F9HxcoPhtOzqj35zQU00WGGk,2575
|
28
|
+
ohmyapi-0.3.1.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
29
|
+
ohmyapi-0.3.1.dist-info/entry_points.txt,sha256=wb3lw8-meAlpiv1mqcQ3m25ukL7djagU_w89GkrC37k,43
|
30
|
+
ohmyapi-0.3.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|