Skip to content

Commit

Permalink
Remove duplicate line (#1848)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbowen-usds committed Sep 21, 2022
1 parent 4ddc744 commit e7fe4e2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions data/data-pipeline/data_pipeline/etl/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,6 @@ def yaml_config_load(cls) -> dict:
for field in dataset_config["load_fields"]:
cls.COLUMNS_TO_KEEP.append(field["long_name"])
setattr(cls, field["df_field_name"], field["long_name"])

# set the constants for the class
setattr(cls, field["df_field_name"], field["long_name"])
return dataset_config

# This is a classmethod so it can be used by `get_data_frame` without
Expand Down

0 comments on commit e7fe4e2

Please sign in to comment.