WIP: set m21 true for empty lists...

...quick hack to test whether that handles datasets with some empty json arrays better
This commit is contained in:
Paul Haerle 2021-10-11 17:31:41 +02:00 committed by GitHub
commit 2840c697aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1172,6 +1172,7 @@ class Table(Queryable):
self.update(row_pk, {fk_column: new_pk})
elif isinstance(expanded, list):
if not len(expanded):
m21 = True
continue
elif isinstance(expanded[0], dict):
m2m = True