vega-framework 0.1.28__py3-none-any.whl → 0.1.29__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/commands/web.py CHANGED
@@ -60,6 +60,15 @@ def run(host: str, port: int, reload: bool, path: str):
60
60
  click.echo(click.style(" poetry add fastapi uvicorn[standard]", fg='cyan', bold=True))
61
61
  sys.exit(1)
62
62
 
63
+ # Initialize DI container first
64
+ try:
65
+ import config # noqa: F401
66
+ except ImportError as e:
67
+ click.echo(click.style("ERROR: Failed to load DI container", fg='red'))
68
+ click.echo(f"\nDetails: {e}")
69
+ click.echo("\nMake sure config.py exists in the project root")
70
+ sys.exit(1)
71
+
63
72
  # Try to import the app
64
73
  try:
65
74
  from presentation.web.main import app
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vega-framework
3
- Version: 0.1.28
3
+ Version: 0.1.29
4
4
  Summary: Enterprise-ready Python framework that enforces Clean Architecture for building maintainable and scalable applications.
5
5
  License: MIT
6
6
  License-File: LICENSE
@@ -6,7 +6,7 @@ vega/cli/commands/generate.py,sha256=Rb4hXPHm_pFEKFViWJ2sMzyUNJWCCoTjLq2H2GvruGc
6
6
  vega/cli/commands/init.py,sha256=kBRtntHT7e-y9uOwZm9o9IUED64e_pO5fBEsIx5m-X8,5592
7
7
  vega/cli/commands/migrate.py,sha256=00swKeVhmKr1_1VJhg3GpIMcJ6Jfgz5FUpmJoLf5qSQ,3805
8
8
  vega/cli/commands/update.py,sha256=0zRWkHvQwKGlJL9XF3bi--dThkFapyNOugL6AgGr6Ic,5897
9
- vega/cli/commands/web.py,sha256=7Lte7X7Gx0XJFCxnUIaadlmzXdosPR5P4Uu71V2cxWc,3130
9
+ vega/cli/commands/web.py,sha256=tkaMzrENiV044JdPtCSRmzX_vVpnumlDeTG6YH3DWo4,3450
10
10
  vega/cli/main.py,sha256=GNqNB6kX_c2a7d68B3g4_oFyWjxTf8ZaoPH7TaYiSmk,5136
11
11
  vega/cli/scaffolds/__init__.py,sha256=WFJf2H_4UWL89gDxX8PXKkTVSVOfw7hFfyaPWKokp1g,217
12
12
  vega/cli/scaffolds/fastapi.py,sha256=a_vZVSfMgyteRURFZAShbtjSRMOSM4YeEIKKvBtAOfo,3788
@@ -72,8 +72,8 @@ vega/patterns/repository.py,sha256=uYUyLs-O8OqW1Wb9ZqIo8UUcCjZ5UFuHors_F2iDg9A,1
72
72
  vega/patterns/service.py,sha256=buFRgJoeQtZQK22Upb4vh84c1elWKFXWBaB0X4RaruE,1374
73
73
  vega/settings/__init__.py,sha256=Eb8PMUyXAlCAQIcL2W8QhTTUHUbVlkAfXdpTUlADo1I,786
74
74
  vega/settings/base.py,sha256=bL45hyoa3t-hQOvur860eSo7O833sQMsXJJPwbTVbwE,1321
75
- vega_framework-0.1.28.dist-info/METADATA,sha256=phV5zRJGewa-FkO3KNY2BW8ILdZRaQy8qu-u4eaxISQ,12349
76
- vega_framework-0.1.28.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
77
- vega_framework-0.1.28.dist-info/entry_points.txt,sha256=p3gyTmPYjNRLbuiKS-hG3ytWd-ssBweFy6VZ-F9FTNk,42
78
- vega_framework-0.1.28.dist-info/licenses/LICENSE,sha256=wlHh1MBTcs2kSQr99P30mZ61s7uh7Cp9Rk0YiJxots0,1084
79
- vega_framework-0.1.28.dist-info/RECORD,,
75
+ vega_framework-0.1.29.dist-info/METADATA,sha256=j6GYkEGW5ByHxaHOp-882JIN9x_wZEVi6yn2DVvYrpE,12349
76
+ vega_framework-0.1.29.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
77
+ vega_framework-0.1.29.dist-info/entry_points.txt,sha256=p3gyTmPYjNRLbuiKS-hG3ytWd-ssBweFy6VZ-F9FTNk,42
78
+ vega_framework-0.1.29.dist-info/licenses/LICENSE,sha256=wlHh1MBTcs2kSQr99P30mZ61s7uh7Cp9Rk0YiJxots0,1084
79
+ vega_framework-0.1.29.dist-info/RECORD,,