e
This commit is contained in:
parent
00000d90bc
commit
00000d9c6a
3 changed files with 25 additions and 16 deletions
|
|
@ -2,6 +2,7 @@ import asyncio
|
|||
import json
|
||||
import logging
|
||||
import re
|
||||
from collections.abc import Callable
|
||||
from datetime import datetime
|
||||
from pathlib import Path
|
||||
from typing import Any
|
||||
|
|
@ -103,9 +104,9 @@ def load_cache(
|
|||
|
||||
|
||||
async def safe_process_event(
|
||||
fn,
|
||||
fn: Callable,
|
||||
url_num: int,
|
||||
timeout=20,
|
||||
timeout: int | float = 20,
|
||||
log: logging.Logger | None = None,
|
||||
) -> Any | None:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue