Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion impit-python/python/impit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,27 @@
]


Browser = Literal['chrome', 'firefox']
Browser = Literal[
'chrome',
'chrome100',
'chrome101',
'chrome104',
'chrome107',
'chrome110',
'chrome116',
'chrome124',
'chrome125',
'chrome131',
'chrome136',
'chrome142',
'firefox',
'firefox128',
'firefox133',
'firefox135',
'firefox144',
'okhttp',
'okhttp3',
'okhttp4',
'okhttp5',
'ios18',
]
6 changes: 3 additions & 3 deletions impit-python/python/impit/impit.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ from http.cookiejar import CookieJar
from .cookies import Cookies
from .headers import Headers

from typing import Literal, Any
from . import Browser

from typing import Any
from collections.abc import Iterator, AsyncIterator
from contextlib import AbstractAsyncContextManager, AbstractContextManager


Browser = Literal['chrome', 'firefox', 'chrome125', 'chrome100', 'chrome101', 'chrome104', 'chrome107', 'chrome110', 'chrome116', 'chrome131', 'chrome136', 'chrome142', 'firefox128', 'firefox133', 'firefox135', 'firefox144', 'ios18']

USE_CLIENT_DEFAULT: str
"""Sentinel that, when passed as a per-request ``timeout``, causes the client-level default timeout to be used.

Expand Down
Loading