We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b0dd42 commit a1ccc26Copy full SHA for a1ccc26
hyperbrowser/config.py
@@ -20,8 +20,6 @@ def __post_init__(self) -> None:
20
raise HyperbrowserError("api_key must be a string")
21
if not isinstance(self.base_url, str):
22
raise HyperbrowserError("base_url must be a string")
23
- if self.headers is not None and not isinstance(self.headers, Mapping):
24
- raise HyperbrowserError("headers must be a mapping of string pairs")
25
self.api_key = self.api_key.strip()
26
if not self.api_key:
27
raise HyperbrowserError("api_key must not be empty")
0 commit comments