Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf committed Mar 5, 2024
1 parent c4985e1 commit 8903d49
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
1 change: 0 additions & 1 deletion erddapy/core/url.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

from __future__ import annotations

import os
import copy
import functools
import io
Expand Down
10 changes: 8 additions & 2 deletions erddapy/erddapy.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,14 @@ def to_pandas(
response = kw.pop("response", "csvp")
distinct = kw.pop("distinct", False)
url = self.get_download_url(response=response, distinct=distinct)
requests_kwargs = requests_kwargs if requests_kwargs else self.requests_kwargs
return to_pandas(url, requests_kwargs=requests_kwargs, pandas_kwargs=dict(**kw))
requests_kwargs = (
requests_kwargs if requests_kwargs else self.requests_kwargs
)
return to_pandas(
url,
requests_kwargs=requests_kwargs,
pandas_kwargs=dict(**kw),
)

def to_ncCF( # noqa: N802
self: ERDDAP,
Expand Down

0 comments on commit 8903d49

Please sign in to comment.