is_local

function

gworker_client.app.is_local

Return True if the code is running in local/dev mode without a remote runtime attached. Use to guard against remote-only operations (e.g. GPU allocation) in local test runs.

Signature

python
1is_local(default: bool = True) -> bool

← Back to docs