ohmyapi 0.4.0__py3-none-any.whl → 0.4.2__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/builtin/auth/models.py +1 -1
- ohmyapi/core/runtime.py +1 -1
- {ohmyapi-0.4.0.dist-info → ohmyapi-0.4.2.dist-info}/METADATA +1 -1
- {ohmyapi-0.4.0.dist-info → ohmyapi-0.4.2.dist-info}/RECORD +7 -7
- {ohmyapi-0.4.0.dist-info → ohmyapi-0.4.2.dist-info}/WHEEL +0 -0
- {ohmyapi-0.4.0.dist-info → ohmyapi-0.4.2.dist-info}/entry_points.txt +0 -0
ohmyapi/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__VERSION__ = "0.4.
|
1
|
+
__VERSION__ = "0.4.2"
|
ohmyapi/builtin/auth/models.py
CHANGED
@@ -59,7 +59,7 @@ class User(Model):
|
|
59
59
|
|
60
60
|
def set_email(self, new_email: str) -> None:
|
61
61
|
"""Hash and set the e-mail address."""
|
62
|
-
self.email_hash = hmac_hash(
|
62
|
+
self.email_hash = hmac_hash(new_email)
|
63
63
|
|
64
64
|
def verify_password(self, raw_password: str) -> bool:
|
65
65
|
"""Verify a plaintext password against the stored hash."""
|
ohmyapi/core/runtime.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: ohmyapi
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.2
|
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,7 +1,7 @@
|
|
1
|
-
ohmyapi/__init__.py,sha256=
|
1
|
+
ohmyapi/__init__.py,sha256=t5wUp_k2esvkt_oNGmL48c_GliiH7gtMJuQG8WgOrvc,22
|
2
2
|
ohmyapi/__main__.py,sha256=wcCrL4PjG51r5wVKqJhcoJPTLfHW0wNbD31DrUN0MWI,28
|
3
3
|
ohmyapi/builtin/auth/__init__.py,sha256=vOVCSJX8BALzs8h5ZW9507bjoscP37bncMjdMmBXcMM,42
|
4
|
-
ohmyapi/builtin/auth/models.py,sha256=
|
4
|
+
ohmyapi/builtin/auth/models.py,sha256=FJ-F7wY5tXBSZl5YZth6UzhBSFISVCZNc2gp2uKvmR0,2602
|
5
5
|
ohmyapi/builtin/auth/permissions.py,sha256=mxsnhF_UGesTFle7v1JHORkNODtQ0qanAL3FtOcMCEY,145
|
6
6
|
ohmyapi/builtin/auth/routes.py,sha256=r887BWea20vinX88QBuxGzQc9BrIi-LqyStM0V1cl1o,6304
|
7
7
|
ohmyapi/builtin/demo/__init__.py,sha256=44Yo3mYmlKSKEwVp6O9urr-C_3qDQzCYLMn6B9i6wew,29
|
@@ -10,7 +10,7 @@ ohmyapi/builtin/demo/routes.py,sha256=1VTlEttrez6Qnhrz_9sTA-emtfXem0s0BkPVcLvg3k
|
|
10
10
|
ohmyapi/cli.py,sha256=iWP0vPkodC_Y3MenNs9AH8FR_d-XpoXliGtz4inWkR4,5114
|
11
11
|
ohmyapi/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
12
12
|
ohmyapi/core/logging.py,sha256=YHN-I2--WP1uXy4W3Q1aD1XLiG9-CrVWvyCYe8HsD9E,1094
|
13
|
-
ohmyapi/core/runtime.py,sha256=
|
13
|
+
ohmyapi/core/runtime.py,sha256=AQuGvy_7owir-EQdc5RWELF0ETBN3eGpe93OoWWJ-aY,13686
|
14
14
|
ohmyapi/core/scaffolding.py,sha256=EehJesfDBB8vcMvc_T351QYdyJuyMGBA__BpLT33oVA,3122
|
15
15
|
ohmyapi/core/templates/app/__init__.py.j2,sha256=QwVIQVUGZVhdH1d4NrvL7NTsK4-T4cihzYs8UVX2dt4,43
|
16
16
|
ohmyapi/core/templates/app/models.py.j2,sha256=_3w-vFJ5fgsmncsCv34k_wyCMF78jufbSSglns4gbb0,119
|
@@ -26,7 +26,7 @@ ohmyapi/db/model/__init__.py,sha256=k3StTNuKatpwZo_Z5JBFa-927eJrzibFE8U4SA82asc,
|
|
26
26
|
ohmyapi/db/model/model.py,sha256=ui4g78c5xoS06Dj8Cdk7QgTjRnE68zKeL-AdmeYYPuQ,2776
|
27
27
|
ohmyapi/middleware/cors.py,sha256=p8HlKsZLM6jKLEa2-q22cIEZUKawirMQB9ajfxaM4xw,818
|
28
28
|
ohmyapi/router.py,sha256=5g0U59glu4hxxnIoTSFzb2S2offkOT3eE39aprzVxwo,83
|
29
|
-
ohmyapi-0.4.
|
30
|
-
ohmyapi-0.4.
|
31
|
-
ohmyapi-0.4.
|
32
|
-
ohmyapi-0.4.
|
29
|
+
ohmyapi-0.4.2.dist-info/METADATA,sha256=_ITA42HF4CHXbttiaPEVrvEYWzbzPSaPrpWG3ww2HeE,2657
|
30
|
+
ohmyapi-0.4.2.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
31
|
+
ohmyapi-0.4.2.dist-info/entry_points.txt,sha256=wb3lw8-meAlpiv1mqcQ3m25ukL7djagU_w89GkrC37k,43
|
32
|
+
ohmyapi-0.4.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|