Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Commit

Permalink
fix other bug
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgafni committed Oct 25, 2023
1 parent 89c1e6c commit 12b30b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dagster_polars/io_managers/delta.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def dump_df_to_path(self, context: OutputContext, df: pl.DataFrame, path: UPath)

df.write_delta(
str(path),
mode=self.mode or context.metadata.get("mode"), # type: ignore
mode=context.metadata.get("mode") or self.mode, # type: ignore
overwrite_schema=self.overwrite_schema or bool(context.metadata.get("overwrite_schema", False)),
storage_options=storage_options,
delta_write_options=delta_write_options,
Expand Down

0 comments on commit 12b30b4

Please sign in to comment.