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 12c91b1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions py/selenium/webdriver/remote/client_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ 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 +117,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 12c91b1

Please sign in to comment.