Skip to content

Commit

Permalink
fixed linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepsuryaprasad committed Dec 14, 2024
1 parent 3da1654 commit f779465
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions py/selenium/webdriver/remote/client_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ class ClientConfig:
"""Gets and Sets user agent to be added to the request headers."""
extra_headers = _ClientConfigDescriptor("_extra_headers")
"""Gets and Sets extra headers to be added to the request."""



def __init__(
self,
remote_server_addr: str,
Expand Down Expand Up @@ -117,12 +118,10 @@ def __init__(
else ca_certs
)


def reset_timeout(self) -> None:
"""Resets the timeout to the default value of socket."""
self._timeout = socket.getdefaulttimeout()


def get_proxy_url(self) -> Optional[str]:
"""Returns the proxy URL to use for the connection."""
proxy_type = self.proxy.proxy_type
Expand Down

0 comments on commit f779465

Please sign in to comment.