Interface: WorkspaceClientLike
Interface: WorkspaceClientLike
Structural shape of a Databricks SDK client used by fromSupervisorApi.
Only what we need: apiClient.request for streaming and
config.ensureResolved to materialise the host/credentials.
Exported because SupervisorApiAdapterOptions.workspaceClient (a public type) references it — callers passing their own client can name the shape they need to satisfy.
Extends
ApiClientLike
Properties
apiClient
apiClient: {
request: Promise<unknown>;
};request()
request(options: Record<string, unknown>, context?: unknown): Promise<unknown>;Parameters
| Parameter | Type |
|---|---|
options | Record<string, unknown> |
context? | unknown |
Returns
Promise<unknown>
Inherited from
ApiClientLike.apiClientconfig
config: {
ensureResolved: Promise<void>;
};ensureResolved()
ensureResolved(): Promise<void>;Returns
Promise<void>