Skip to main content

serve

Serve a Flyte app using an AppEnvironment.

def serve(
app_env: AppEnvironment
) - > AppHandle

Serve a Flyte app using an AppEnvironment. This is the simple, direct way to serve an app. For more control over deployment settings (env vars, cluster pool, etc.), use with_servecontext().

Parameters

NameTypeDescription
app_envAppEnvironmentThe app environment to serve

Returns

TypeDescription
AppHandleAn AppHandle — either a _LocalApp (local) or App (remote)