Skip to content

Commit

Permalink
Hides the timeout parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
AG3NTZ3R0 committed Feb 23, 2024
1 parent fdadfde commit d1e9890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cnbc/api_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def __init__(self, api_key: str, endpoint: Endpoints, timeout: int = 10):
self._endpoint: str
self._params: dict[str, str]
self._headers: dict[str, str]
self.timeout: int
self._timeout: int

self._endpoint, self._params = endpoint.value
self._headers = {'x-rapidapi-host': Endpoints.HOST.value, 'x-rapidapi-key': api_key}
Expand Down

0 comments on commit d1e9890

Please sign in to comment.