Skip to content

Commit

Permalink
Makes sure that all None fields are inferred as 'any' fields in itera…
Browse files Browse the repository at this point in the history
…tors

Fixes #94
  • Loading branch information
akariv committed Jun 16, 2019
1 parent 8100e67 commit 330ec75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dataflows/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.55
0.0.56
2 changes: 1 addition & 1 deletion dataflows/helpers/iterable_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def field_type(self, values):
pass
else:
assert 'Unknown Python type: %r' % value
if len(types) > 1:
if len(types) != 1:
return 'any'
else:
return types.pop()
Expand Down

0 comments on commit 330ec75

Please sign in to comment.