CLIClient¶
Coming Soon
The Python SDK for local development is not yet publicly available.
flow_sdk.cli_client.CLIClient(config)
¶
Synchronous HTTP client backed by :class:FlowConfig credentials.
Source code in flow_sdk/cli_client.py
exchange_api_key(platform_url, api_key, ttl_minutes=60)
staticmethod
¶
Exchange an org API key (fl_...) for a JWT access token.
Source code in flow_sdk/cli_client.py
create_cli_login_request(platform_url)
staticmethod
¶
Create a request-bound CLI login request (unauthenticated).
Source code in flow_sdk/cli_client.py
get_current_user_with_token(platform_url, access_token)
staticmethod
¶
Validate a bearer token and return /auth/me payload.
Source code in flow_sdk/cli_client.py
create_component(component_type, data)
¶
POST a new component to the catalog.
list_orgs()
¶
list_workspaces(org_id)
¶
verify_credentials()
¶
get_current_user()
¶
execute_ddl(instance_id, sql, *, confirm=False, scope_type='workspace', scope_id=None, reason=None)
¶
Preview or execute DDL against a connector instance.
Source code in flow_sdk/cli_client.py
invoke_service(service_id, method, path, *, body=None, query=None, version=None)
¶
Invoke an HSL service endpoint.