fix(bfl): remove timeout from polling GET calls — HTTPHandler.get() doesn't accept timeout

This commit is contained in:
Chesars 2026-03-04 23:07:02 -03:00
parent fa165a68d9
commit fc54a65c2b
2 changed files with 0 additions and 8 deletions

View file

@ -166,7 +166,6 @@ class BlackForestLabsImageEdit:
initial_response=response,
headers=headers,
sync_client=sync_client,
timeout=timeout,
)
# Transform response
@ -270,7 +269,6 @@ class BlackForestLabsImageEdit:
initial_response=response,
headers=headers,
async_client=async_client,
timeout=timeout,
)
# Transform response
@ -343,7 +341,6 @@ class BlackForestLabsImageEdit:
response = sync_client.get(
url=polling_url,
headers=polling_headers,
timeout=timeout,
)
if response.status_code != 200:
@ -424,7 +421,6 @@ class BlackForestLabsImageEdit:
response = await async_client.get(
url=polling_url,
headers=polling_headers,
timeout=timeout,
)
if response.status_code != 200:

View file

@ -163,7 +163,6 @@ class BlackForestLabsImageGeneration:
initial_response=response,
headers=headers,
sync_client=sync_client,
timeout=timeout,
)
# Transform response
@ -266,7 +265,6 @@ class BlackForestLabsImageGeneration:
initial_response=response,
headers=headers,
async_client=async_client,
timeout=timeout,
)
# Transform response
@ -329,7 +327,6 @@ class BlackForestLabsImageGeneration:
response = sync_client.get(
url=polling_url,
headers=polling_headers,
timeout=timeout,
)
if response.status_code != 200:
@ -410,7 +407,6 @@ class BlackForestLabsImageGeneration:
response = await async_client.get(
url=polling_url,
headers=polling_headers,
timeout=timeout,
)
if response.status_code != 200: