mirror of
https://github.com/headroomlabs-ai/headroom.git
synced 2026-08-27 14:17:10 -04:00
fix(wrap): preserve ensure proxy signature
This commit is contained in:
parent
f655e03553
commit
fe7509a12c
1 changed files with 2 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ import time
|
|||
import urllib.parse
|
||||
from collections.abc import Callable
|
||||
from contextlib import contextmanager
|
||||
from functools import wraps
|
||||
from pathlib import Path
|
||||
from typing import Any, cast
|
||||
|
||||
|
|
@ -3913,6 +3914,7 @@ def _proxy_start_lock(port: int) -> Any:
|
|||
fcntl.flock(lock_file.fileno(), fcntl.LOCK_UN)
|
||||
|
||||
|
||||
@wraps(_ensure_proxy_unlocked)
|
||||
def _ensure_proxy(
|
||||
port: int,
|
||||
no_proxy: bool,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue