[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
384a55de43
commit
60e740e8fb
1 changed files with 5 additions and 1 deletions
|
|
@ -778,7 +778,11 @@ async def _dispatch(
|
|||
|
||||
monitor_id = api_monitor.record_lifecycle(
|
||||
# Only an API request reaches auto-download, hence reason "api".
|
||||
event = "download", model = label, reason = "api", running = True, via_api_key = True
|
||||
event = "download",
|
||||
model = label,
|
||||
reason = "api",
|
||||
running = True,
|
||||
via_api_key = True,
|
||||
)
|
||||
with _lock:
|
||||
if _active is active:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue