Skip to content

Commit 76b156a

Browse files
committed
Fix lint
Signed-off-by: Anton Shtarev <a.o.shtarev@gmail.com>
1 parent 18cdded commit 76b156a

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

sdk/python/feast/infra/offline_stores/file_source.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -202,10 +202,9 @@ def get_table_column_names_and_types(
202202
"AWS_ENDPOINT_URL": str(self.s3_endpoint_override),
203203
}
204204

205-
delta_schema = (
206-
DeltaTable(self.path, storage_options=storage_options)
207-
.schema()
208-
)
205+
delta_schema = DeltaTable(
206+
self.path, storage_options=storage_options
207+
).schema()
209208
if hasattr(delta_schema, "to_arrow"):
210209
# deltalake >= 0.10.0
211210
arro3_schema = delta_schema.to_arrow()
@@ -214,7 +213,7 @@ def get_table_column_names_and_types(
214213
# deltalake < 0.10.0
215214
schema = delta_schema.to_pyarrow()
216215
else:
217-
raise Exception(f"Unknown DeltaTable package version")
216+
raise Exception("Unknown DeltaTable package version")
218217
else:
219218
raise Exception(f"Unknown FileFormat -> {self.file_format}")
220219

0 commit comments

Comments
 (0)