Blueprint¶
The AsyncBlueprint class provides asynchronous methods for managing devbox blueprints.
Blueprint resource class for asynchronous operations.
- class runloop_api_client.sdk.async_blueprint.AsyncBlueprint(client, blueprint_id)[source]¶
Asynchronous wrapper around a blueprint resource.
- async get_info(**options)[source]¶
Retrieve the latest blueprint details.
- Parameters:
options (
Unpack[BaseRequestOptions]) – Optional request configuration- Returns:
API response describing the blueprint
- Return type:
- async logs(**options)[source]¶
Retrieve build logs for the blueprint.
- Parameters:
options (
Unpack[BaseRequestOptions]) – Optional request configuration- Returns:
Log entries for the most recent build
- Return type:
- async delete(**options)[source]¶
Delete the blueprint.
- Parameters:
options (
Unpack[LongRequestOptions]) – Optional long-running request configuration- Returns:
API response acknowledging deletion
- Return type:
- async create_devbox(**params)[source]¶
Create a devbox derived from the blueprint.
- Parameters:
params (
Unpack[SDKDevboxCreateFromImageParams]) – SeeSDKDevboxCreateFromImageParamsfor available parameters- Returns:
Wrapper bound to the running devbox
- Return type: