Skip to content

Commit

Permalink
Obey YAML file in reload pk check
Browse files Browse the repository at this point in the history
  • Loading branch information
sb2nov committed Sep 8, 2015
1 parent eff48b9 commit a76e2e3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dataduct/steps/reload.py
Expand Up @@ -13,8 +13,10 @@ def __init__(self, **kwargs):
Args:
**kwargs(optional): Keyword arguments directly passed to base class
"""

# Do not enforce pkey for reload so we can surface data quality issues.
kwargs['enforce_primary_key'] = False
if 'enforce_primary_key' not in kwargs:
kwargs['enforce_primary_key'] = False
super(ReloadStep, self).__init__(**kwargs)

@classmethod
Expand Down

0 comments on commit a76e2e3

Please sign in to comment.