File size: 552 Bytes
1f9fc8c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from core_identity_env.server.core_identity_environment import CoreIdentityEnvironment
from core_identity_env.models import CoreIdentityAction, CoreIdentityObservation


def create_app():
    """Create and configure the FastAPI application for the Core Identity Environment."""
    from openenv.core.env_server.http_server import create_app as create_openenv_app
    return create_openenv_app(
        CoreIdentityEnvironment,
        CoreIdentityAction,
        CoreIdentityObservation,
        env_name="core_identity_env",
    )


app = create_app()