Skip to content

Commit 90102a0

Browse files
committed
format
1 parent a06c630 commit 90102a0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

_shared_utils/shared_utils/dask_utils.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@
77
import dask_geopandas as dg
88
import gcsfs
99
import geopandas as gpd
10+
import google.auth
1011
import pandas as pd
1112
from calitp_data_analysis import utils
1213
from dask import compute, delayed
1314
from dask.delayed import Delayed # type hint
1415
from shared_utils import time_helpers
15-
import google.auth
16+
1617
credentials, project = google.auth.default()
1718

1819
fs = gcsfs.GCSFileSystem()
@@ -129,9 +130,7 @@ def import_df_func(
129130
"""
130131
if data_type == "gdf":
131132
df = gpd.read_parquet(
132-
f"{path}_{one_date}.parquet",
133-
**kwargs,
134-
storage_options = {"token": credentials.token}
133+
f"{path}_{one_date}.parquet", **kwargs, storage_options={"token": credentials.token}
135134
).drop_duplicates()
136135

137136
else:

0 commit comments

Comments
 (0)