We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1224d9 commit e86d604Copy full SHA for e86d604
dgp/genera/transform/transform.py
@@ -206,7 +206,7 @@ def set_consts(self, fieldOptions):
206
return Flow(*steps)
207
208
def flow(self):
209
- if len(self.errors) == 0 and self.config.get(CONFIG_PRIMARY_KEY) and self.config.get(CONFIG_MODEL_MAPPING):
+ if len(self.errors) == 0 and self.config.get(CONFIG_PRIMARY_KEY) is not None and self.config.get(CONFIG_MODEL_MAPPING) is not None:
210
primaryKey = [self.ct_to_fn(f) for f in self.config.get(CONFIG_PRIMARY_KEY)]
211
212
fieldOptions = {}
0 commit comments