jknife 0.0.11__py2.py3-none-any.whl → 0.0.13__py2.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.
- jknife/commands/jknife.py +2 -2
- jknife/views/__init__.py +5 -0
- {jknife-0.0.11.dist-info → jknife-0.0.13.dist-info}/METADATA +1 -1
- {jknife-0.0.11.dist-info → jknife-0.0.13.dist-info}/RECORD +7 -7
- {jknife-0.0.11.dist-info → jknife-0.0.13.dist-info}/WHEEL +0 -0
- {jknife-0.0.11.dist-info → jknife-0.0.13.dist-info}/entry_points.txt +0 -0
- {jknife-0.0.11.dist-info → jknife-0.0.13.dist-info}/licenses/LICENSE +0 -0
jknife/commands/jknife.py
CHANGED
@@ -34,7 +34,7 @@ from typing_extensions import Annotated, Doc
|
|
34
34
|
|
35
35
|
# define your own customising class below
|
36
36
|
""",
|
37
|
-
"
|
37
|
+
"routers": """# import packages from default or pip library
|
38
38
|
from fastapi import APIRouter, Depends, status, HTTPException
|
39
39
|
from typing_extensions import Annotated, Doc
|
40
40
|
|
@@ -47,7 +47,7 @@ router = APIRouter(prefix="/{}",
|
|
47
47
|
|
48
48
|
# define your own customising class below
|
49
49
|
""",
|
50
|
-
"
|
50
|
+
"views": """# import packages from default or pip library
|
51
51
|
from pydantic import BaseModel, field_validator, ValidationError
|
52
52
|
|
53
53
|
# import packages from this framework below
|
jknife/views/__init__.py
CHANGED
@@ -21,3 +21,8 @@ class UUIDViewMixin(BaseModel):
|
|
21
21
|
class RegisterDateTimeViewMixin(BaseModel):
|
22
22
|
register_dt: Annotated[Optional[datetime],
|
23
23
|
Doc("Datetime that the row was added at.")]
|
24
|
+
|
25
|
+
|
26
|
+
class UpdateDateTimeViewMixin(BaseModel):
|
27
|
+
Update_dt: Annotated[Optional[datetime],
|
28
|
+
Doc("Datetime that the row was updated at.")]
|
@@ -1,7 +1,7 @@
|
|
1
1
|
jknife/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
2
|
jknife/logging.py,sha256=vwXXYqiRDRSeAUtDZq6QTTJ5p7ES4iLdnS68Cz0MFgo,2312
|
3
3
|
jknife/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
|
-
jknife/commands/jknife.py,sha256=
|
4
|
+
jknife/commands/jknife.py,sha256=QrcUbBcfZLnSQBh91Hf4tPNf6MYaggpfoOLOdX4Ggw8,12235
|
5
5
|
jknife/db/__init__.py,sha256=lZQ1ds_BYK4Xkjaypn1zDxuypjdEKca-6uxSJ3mr0V4,6236
|
6
6
|
jknife/db/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
7
|
jknife/db/models/mongo/__init__.py,sha256=bDj6rFEtNudrbtPbk4iORlWwXyMv6V_PCeixyGufxP4,1984
|
@@ -19,13 +19,13 @@ jknife/db/models/rdbms/users.py,sha256=5vldUYl3pGZjWjuWGvn6M0SeHvj869omcMS6TkBVS
|
|
19
19
|
jknife/dependencies/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
20
20
|
jknife/dependencies/token.py,sha256=uBQ_zIU56HBOZH_mQWwdQeEFv7VXdKAJn7MAFqWODsU,7765
|
21
21
|
jknife/dependencies/users.py,sha256=G6bJ-vHz7hlHXn2OpNEAoVB1H8DJhwc4XBMBmKW1v6Q,2502
|
22
|
-
jknife/views/__init__.py,sha256=
|
22
|
+
jknife/views/__init__.py,sha256=AmxJ0IA_fO3--1Qdnjoka-A3GzJXe1BCZzJyQxFhXRE,734
|
23
23
|
jknife/views/error_message.py,sha256=g3xS8Z0R1BeP9XpmETgLirDdghM789iGXBfU-K8wwWM,887
|
24
24
|
jknife/views/personnel_info.py,sha256=JL_GqerZjhgs4AJQsQ2eeUZxCh17G8zXuWsDqaEI2tk,957
|
25
25
|
jknife/views/tokens.py,sha256=PJh_fGEwK3T6Kq0aY-CuJPWCTdcHFrCSd2NhJMZqYqU,647
|
26
26
|
jknife/views/users.py,sha256=mcljiLn9I0NL6jK_cxp8IdNXcyNwxYtfzkwW0NS64-E,2033
|
27
|
-
jknife-0.0.
|
28
|
-
jknife-0.0.
|
29
|
-
jknife-0.0.
|
30
|
-
jknife-0.0.
|
31
|
-
jknife-0.0.
|
27
|
+
jknife-0.0.13.dist-info/METADATA,sha256=CH2eypr2eMJshAJI8P8MG1EPZyiHHlpvNuwkWnz1vq4,529
|
28
|
+
jknife-0.0.13.dist-info/WHEEL,sha256=tkmg4JIqwd9H8mL30xA7crRmoStyCtGp0VWshokd1Jc,105
|
29
|
+
jknife-0.0.13.dist-info/entry_points.txt,sha256=08tkSuEw5jKr7Jz0cFlcKr8b2fjsQIf4Mzmb0cB8XOM,55
|
30
|
+
jknife-0.0.13.dist-info/licenses/LICENSE,sha256=myY0xrsHJcytQadTeGVqmIo6QlskAAf5epHL-WRQe30,1067
|
31
|
+
jknife-0.0.13.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|