2.0.0b57
AppHandle
Package: flyte
Protocol defining the common interface between local and remote app handles.
Both _LocalApp (local serving) and App (remote serving) satisfy this
protocol, enabling calling code to work uniformly regardless of the serving mode.
protocol AppHandle()Properties
| Property | Type | Description |
|---|---|---|
endpoint |
None |
|
name |
None |
Methods
| Method | Description |
|---|---|
activate() |
|
deactivate() |
|
ephemeral_ctx() |
|
ephemeral_ctx_sync() |
|
is_active() |
|
is_deactivated() |
activate()
def activate(
wait: bool,
) -> AppHandle| Parameter | Type | Description |
|---|---|---|
wait |
bool |
deactivate()
def deactivate(
wait: bool,
) -> AppHandle| Parameter | Type | Description |
|---|---|---|
wait |
bool |
ephemeral_ctx()
def ephemeral_ctx()ephemeral_ctx_sync()
def ephemeral_ctx_sync()is_active()
def is_active()is_deactivated()
def is_deactivated()