Skip to content

Commit

Permalink
Ran pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-phinizy committed Oct 29, 2024
1 parent fa1ca11 commit c6d735d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/prefect/client/orchestration.py
Original file line number Diff line number Diff line change
Expand Up @@ -2610,13 +2610,13 @@ async def send_worker_heartbeat(
else:
return_dict = {}


resp = await self._client.post(
f"/work_pools/{work_pool_name}/workers/heartbeat",
json={
"name": worker_name,
"heartbeat_interval_seconds": heartbeat_interval_seconds,
} | return_dict,
}
| return_dict,
)

if get_worker_id and resp.status_code == 200:
Expand Down
2 changes: 1 addition & 1 deletion tests/workers/test_base_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
from prefect.server.schemas.responses import DeploymentResponse
from prefect.settings import (
PREFECT_API_URL,
PREFECT_TEST_MODE,
PREFECT_EXPERIMENTS_WORKER_LOGGING_TO_API_ENABLED,
PREFECT_TEST_MODE,
PREFECT_WORKER_PREFETCH_SECONDS,
get_current_settings,
temporary_settings,
Expand Down

0 comments on commit c6d735d

Please sign in to comment.