Skip to content

Commit

Permalink
fix black
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidKatz-il committed Aug 18, 2020
1 parent c12da09 commit 37accae
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,9 @@ def dataframe_materializer(_context, config, spark_df):
return AssetMaterialization.file(file_options['path'])
elif file_type == 'other':
spark_df.write.save(**file_options)
return AssetMaterialization.file(file_options.get('path', 'There was no "path" key in "file_options".'))
return AssetMaterialization.file(
file_options.get('path', 'There was no "path" key in "file_options".')
)
else:
raise DagsterInvariantViolationError('Unsupported file_type {}'.format(file_type))

Expand Down

0 comments on commit 37accae

Please sign in to comment.