vega-framework 0.1.32__py3-none-any.whl → 0.1.34__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.
- vega/cli/templates/project/main.py.j2 +8 -0
- vega/cli/templates/project/main_fastapi.py.j2 +8 -0
- vega/cli/templates/project/main_standard.py.j2 +8 -0
- vega/cli/templates/web/main.py.j2 +9 -0
- {vega_framework-0.1.32.dist-info → vega_framework-0.1.34.dist-info}/METADATA +1 -1
- {vega_framework-0.1.32.dist-info → vega_framework-0.1.34.dist-info}/RECORD +9 -9
- {vega_framework-0.1.32.dist-info → vega_framework-0.1.34.dist-info}/WHEEL +0 -0
- {vega_framework-0.1.32.dist-info → vega_framework-0.1.34.dist-info}/entry_points.txt +0 -0
- {vega_framework-0.1.32.dist-info → vega_framework-0.1.34.dist-info}/licenses/LICENSE +0 -0
@@ -2,6 +2,14 @@
|
|
2
2
|
import click
|
3
3
|
import config # noqa: F401 - Import to initialize DI container
|
4
4
|
|
5
|
+
# Auto-discover event subscribers so @subscribe handlers are ready
|
6
|
+
try:
|
7
|
+
from events import register_all_handlers
|
8
|
+
except ImportError:
|
9
|
+
pass
|
10
|
+
else:
|
11
|
+
register_all_handlers()
|
12
|
+
|
5
13
|
# Import your use cases here
|
6
14
|
# from domain.interactors.create_user import CreateUser
|
7
15
|
|
@@ -3,6 +3,14 @@ import click
|
|
3
3
|
from vega.cli.utils import async_command
|
4
4
|
import config # noqa: F401 - Import to initialize DI container
|
5
5
|
|
6
|
+
# Auto-discover event subscribers so @subscribe handlers are ready
|
7
|
+
try:
|
8
|
+
from events import register_all_handlers
|
9
|
+
except ImportError:
|
10
|
+
pass
|
11
|
+
else:
|
12
|
+
register_all_handlers()
|
13
|
+
|
6
14
|
# Import your use cases here
|
7
15
|
# from domain.interactors.create_user import CreateUser
|
8
16
|
|
@@ -3,6 +3,14 @@ import click
|
|
3
3
|
from vega.cli.utils import async_command
|
4
4
|
import config # noqa: F401 - Import to initialize DI container
|
5
5
|
|
6
|
+
# Auto-discover event subscribers so @subscribe handlers are ready
|
7
|
+
try:
|
8
|
+
from events import register_all_handlers
|
9
|
+
except ImportError:
|
10
|
+
pass
|
11
|
+
else:
|
12
|
+
register_all_handlers()
|
13
|
+
|
6
14
|
# Import your use cases here
|
7
15
|
# from domain.interactors.create_user import CreateUser
|
8
16
|
|
@@ -1,5 +1,14 @@
|
|
1
1
|
"""FastAPI ASGI entrypoint for {{ project_name }}"""
|
2
2
|
from fastapi import FastAPI
|
3
|
+
import config # noqa: F401 - Import to initialize DI container
|
4
|
+
|
5
|
+
# Auto-discover event subscribers so @subscribe handlers are ready
|
6
|
+
try:
|
7
|
+
from events import register_all_handlers
|
8
|
+
except ImportError:
|
9
|
+
pass
|
10
|
+
else:
|
11
|
+
register_all_handlers()
|
3
12
|
|
4
13
|
from .app import create_app
|
5
14
|
|
@@ -33,9 +33,9 @@ vega/cli/templates/project/ARCHITECTURE.md.j2,sha256=HunrJ_9LlPxd5-GONaJxjoLlw-X
|
|
33
33
|
vega/cli/templates/project/README.md.j2,sha256=tZtMKhyKjfCq5JTECHihISu0VjYd254t-7y2kJ0nbKY,4589
|
34
34
|
vega/cli/templates/project/config.py.j2,sha256=1Iva9JEz5ej_WmTbRVBvOfSBhYUKIzN88p6GYKR0m4s,866
|
35
35
|
vega/cli/templates/project/events_init.py.j2,sha256=dp9yc8_Du6lv62vum_Br0p030I4TKZAkZG29mj4AZaM,1057
|
36
|
-
vega/cli/templates/project/main.py.j2,sha256=
|
37
|
-
vega/cli/templates/project/main_fastapi.py.j2,sha256=
|
38
|
-
vega/cli/templates/project/main_standard.py.j2,sha256=
|
36
|
+
vega/cli/templates/project/main.py.j2,sha256=33mohAsEP4f-aGPyWcGdKTP8OxDZDI3JVQKhWCeGe_U,753
|
37
|
+
vega/cli/templates/project/main_fastapi.py.j2,sha256=rzlVrHD5BxfSWyKdBsEwOLGRvs1xy-NZo3G6YIDuRZo,794
|
38
|
+
vega/cli/templates/project/main_standard.py.j2,sha256=0fMg-V5zYmeOre8-W548ZYjqRHSsA2CblRKRhdG5C5s,798
|
39
39
|
vega/cli/templates/project/pyproject.toml.j2,sha256=-TZj9rAXzO99lrKOUVZeeFwom_5Kg4ktdN_BIExOx_8,522
|
40
40
|
vega/cli/templates/project/settings.py.j2,sha256=uHt3qVbzoYZNb1ViD2Bu4SZYYw0jCUx6_m_kauILCCs,522
|
41
41
|
vega/cli/templates/sqlalchemy/alembic.ini.j2,sha256=7pcqcXWXU_0lHaokuHlkUNoN20oOw1Dd6HizMG1Cmmk,3472
|
@@ -45,7 +45,7 @@ vega/cli/templates/sqlalchemy/script.py.mako,sha256=MEqL-2qATlST9TAOeYgscMn1uy6H
|
|
45
45
|
vega/cli/templates/web/__init__.py.j2,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
46
46
|
vega/cli/templates/web/app.py.j2,sha256=mu9EjazXWTbKusaUJMA1SrIJzz4hfxeZQvTLfYyCS4E,416
|
47
47
|
vega/cli/templates/web/health_route.py.j2,sha256=iq30wENqti14j3JOfVqJNO4WAE2NiNYzVq3R6ScVKVg,253
|
48
|
-
vega/cli/templates/web/main.py.j2,sha256=
|
48
|
+
vega/cli/templates/web/main.py.j2,sha256=9zJzBMOLZl4J3WqLULARosyILhdHiXYMMdxeNAHlX3w,557
|
49
49
|
vega/cli/templates/web/middleware.py.j2,sha256=ild8nAdq45HGCiA-XVcWgmMBCfwIgORcZ7qsykmOclw,2165
|
50
50
|
vega/cli/templates/web/models_init.py.j2,sha256=QdNOaZ6iMh3Tz7uut1VA3XUIivYD1SkHFmDHCfstqho,159
|
51
51
|
vega/cli/templates/web/request_model.py.j2,sha256=PPoLGMd7VZ6QXj75UxCcryZZ9SNPhaDfMH2ykVtjIXQ,534
|
@@ -83,8 +83,8 @@ vega/patterns/repository.py,sha256=uYUyLs-O8OqW1Wb9ZqIo8UUcCjZ5UFuHors_F2iDg9A,1
|
|
83
83
|
vega/patterns/service.py,sha256=buFRgJoeQtZQK22Upb4vh84c1elWKFXWBaB0X4RaruE,1374
|
84
84
|
vega/settings/__init__.py,sha256=Eb8PMUyXAlCAQIcL2W8QhTTUHUbVlkAfXdpTUlADo1I,786
|
85
85
|
vega/settings/base.py,sha256=bL45hyoa3t-hQOvur860eSo7O833sQMsXJJPwbTVbwE,1321
|
86
|
-
vega_framework-0.1.
|
87
|
-
vega_framework-0.1.
|
88
|
-
vega_framework-0.1.
|
89
|
-
vega_framework-0.1.
|
90
|
-
vega_framework-0.1.
|
86
|
+
vega_framework-0.1.34.dist-info/METADATA,sha256=qW5INwXRHJ0iD84K9niYoDeggeqA_meB2evoLxyFx9w,11105
|
87
|
+
vega_framework-0.1.34.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
88
|
+
vega_framework-0.1.34.dist-info/entry_points.txt,sha256=p3gyTmPYjNRLbuiKS-hG3ytWd-ssBweFy6VZ-F9FTNk,42
|
89
|
+
vega_framework-0.1.34.dist-info/licenses/LICENSE,sha256=wlHh1MBTcs2kSQr99P30mZ61s7uh7Cp9Rk0YiJxots0,1084
|
90
|
+
vega_framework-0.1.34.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|