Skip to content

Commit bfabbcb

Browse files
[gunicorn] Update stubs for workers/workertmp.pyi
1 parent f97a5f6 commit bfabbcb

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed
Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
from _typeshed import Incomplete
1+
from gunicorn.config import Config
2+
3+
PLATFORM: str
4+
IS_CYGWIN: bool
25

3-
PLATFORM: Incomplete
4-
IS_CYGWIN: Incomplete
56

67
class WorkerTmp:
7-
def __init__(self, cfg) -> None: ...
8+
def __init__(self, cfg: Config) -> None: ...
89
def notify(self) -> None: ...
9-
def last_update(self): ...
10-
def fileno(self): ...
11-
def close(self): ...
10+
def last_update(self) -> float: ...
11+
def fileno(self) -> int: ...
12+
def close(self) -> None: ...

0 commit comments

Comments
 (0)