Skip to content

Commit

Permalink
refactor: 🔥 remove deprecation warning for graph_api parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnsilva committed Aug 11, 2023
1 parent a4e9b86 commit 4fe2245
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions semanticscholar/SemanticScholar.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,6 @@ def __init__(
if not api_url:
self.api_url = self.DEFAULT_PARTNER_API_URL

if not graph_api:
warnings.warn(
'graph_api parameter is deprecated and will be disabled ' +
'in the future', DeprecationWarning)
self.api_url = self.api_url.replace('/graph', '')

self._timeout = timeout
self._requester = ApiRequester(self._timeout)

Expand Down

0 comments on commit 4fe2245

Please sign in to comment.