loom-core 1.0.0__tar.gz → 1.0.1__tar.gz
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.
- {loom_core-1.0.0 → loom_core-1.0.1}/PKG-INFO +1 -1
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/__init__.py +8 -7
- {loom_core-1.0.0 → loom_core-1.0.1}/loom_core.egg-info/PKG-INFO +1 -1
- {loom_core-1.0.0 → loom_core-1.0.1}/pyproject.toml +1 -1
- {loom_core-1.0.0 → loom_core-1.0.1}/LICENSE +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/MANIFEST.in +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/QUICKSTART.md +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/README.md +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/__main__.py +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/cli/__init__.py +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/cli/cli.py +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/common/activity.py +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/common/config.py +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/common/errors.py +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/common/workflow.py +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/core/__init__.py +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/core/compiled.py +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/core/context.py +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/core/engine.py +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/core/graph.py +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/core/handle.py +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/core/logger.py +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/core/runner.py +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/core/state.py +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/core/worker.py +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/core/workflow.py +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/database/__init__.py +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/database/db.py +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/decorators/__init__.py +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/decorators/activity.py +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/decorators/workflow.py +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/lib/progress.py +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/lib/utils.py +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/migrations/down/001_setup_pragma.sql +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/migrations/down/002_create_workflows.sql +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/migrations/down/003.create_events.sql +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/migrations/down/004.create_tasks.sql +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/migrations/down/005.create_indexes.sql +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/migrations/down/006_auto_update_triggers.sql +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/migrations/down/007_create_logs.sql +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/migrations/up/001_setup_pragma.sql +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/migrations/up/002_create_workflows.sql +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/migrations/up/003_create_events.sql +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/migrations/up/004_create_tasks.sql +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/migrations/up/005_create_indexes.sql +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/migrations/up/006_auto_update_triggers.sql +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/migrations/up/007_create_logs.sql +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/schemas/__init__.py +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/schemas/activity.py +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/schemas/database.py +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/schemas/events.py +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/schemas/graph.py +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/schemas/tasks.py +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom/schemas/workflow.py +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom_core.egg-info/SOURCES.txt +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom_core.egg-info/dependency_links.txt +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom_core.egg-info/entry_points.txt +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom_core.egg-info/requires.txt +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/loom_core.egg-info/top_level.txt +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/setup.cfg +0 -0
- {loom_core-1.0.0 → loom_core-1.0.1}/setup.py +0 -0
|
@@ -25,10 +25,6 @@ from loom.database.db import Database
|
|
|
25
25
|
from loom.decorators.activity import activity
|
|
26
26
|
from loom.decorators.workflow import step, workflow
|
|
27
27
|
|
|
28
|
-
# Import web module and app for uvicorn compatibility
|
|
29
|
-
from loom import web
|
|
30
|
-
from loom.web.main import app
|
|
31
|
-
|
|
32
28
|
__version__ = "0.1.0"
|
|
33
29
|
|
|
34
30
|
__all__ = [
|
|
@@ -44,9 +40,14 @@ __all__ = [
|
|
|
44
40
|
# Functions
|
|
45
41
|
"start_worker",
|
|
46
42
|
"run_once",
|
|
47
|
-
# Web
|
|
48
|
-
"web",
|
|
49
|
-
"app",
|
|
50
43
|
# Version
|
|
51
44
|
"__version__",
|
|
52
45
|
]
|
|
46
|
+
|
|
47
|
+
# Import app lazily to avoid circular imports
|
|
48
|
+
# This allows 'loom.web.main:app' to work for uvicorn
|
|
49
|
+
def __getattr__(name):
|
|
50
|
+
if name == "app":
|
|
51
|
+
from loom.web.main import app
|
|
52
|
+
return app
|
|
53
|
+
raise AttributeError(f"module '{__name__}' has no attribute '{name}'")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|