Skip to content

Commit

Permalink
Fixed linting (kedro-org#279)
Browse files Browse the repository at this point in the history
  • Loading branch information
MigQ2 committed Mar 10, 2020
1 parent e9e32f0 commit f9e2c81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kedro/contrib/io/pyspark/spark_hive_data_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def __init__(
raise DataSetError("table_pk must be set to utilise upsert read mode")
self._table_pk = table_pk
# self._table_columns is set up in _save() to speed up initialization
self._table_columns = None
self._table_columns = []

@staticmethod
def _get_spark() -> SparkSession:
Expand Down
2 changes: 1 addition & 1 deletion kedro/extras/datasets/spark/spark_hive_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def __init__(
raise DataSetError("table_pk must be set to utilise upsert read mode")
self._table_pk = table_pk
# self._table_columns is set up in _save() to speed up initialization
self._table_columns = None
self._table_columns = []

def _describe(self) -> Dict[str, Any]:
return dict(
Expand Down

0 comments on commit f9e2c81

Please sign in to comment.