diff --git a/src/runloop_api_client/resources/blueprints.py b/src/runloop_api_client/resources/blueprints.py index 5fedc78c6..39eae98aa 100644 --- a/src/runloop_api_client/resources/blueprints.py +++ b/src/runloop_api_client/resources/blueprints.py @@ -311,7 +311,7 @@ def retrieve_blueprint() -> BlueprintView: ) def is_done_building(blueprint: BlueprintView) -> bool: - return blueprint.status not in ["building", "provisioning"] + return blueprint.status not in ["queued", "building", "provisioning"] blueprint = poll_until(retrieve_blueprint, is_done_building, polling_config) @@ -981,7 +981,7 @@ async def retrieve_blueprint() -> BlueprintView: ) def is_done_building(blueprint: BlueprintView) -> bool: - return blueprint.status not in ["building", "provisioning"] + return blueprint.status not in ["queued", "building", "provisioning"] blueprint = await async_poll_until(retrieve_blueprint, is_done_building, polling_config)