20 lines
488 B
Python
20 lines
488 B
Python
"""GridForge: A production-ready, low-code platform for composable energy optimization."""
|
|
|
|
from .dsl import Object, Morphism, Functor, Limit, Colimit, TimeMonoid
|
|
# Optional FastAPI app import. If FastAPI isn't installed in the test env,
|
|
# keep a compatible surface by setting app to None.
|
|
try:
|
|
from .server import app # FastAPI app
|
|
except Exception:
|
|
app = None
|
|
|
|
__all__ = [
|
|
"Object",
|
|
"Morphism",
|
|
"Functor",
|
|
"Limit",
|
|
"Colimit",
|
|
"TimeMonoid",
|
|
"app",
|
|
]
|