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
| Name | Type | Description |
|---|---|---|
| app_env | AppEnvironment | The app environment to serve |
Returns
| Type | Description |
|---|---|
AppHandle | An AppHandle — either a _LocalApp (local) or App (remote) |