Big refactoring, way simpler management of transformations. Early branch for upcoming version 0.2.

This commit is contained in:
Romain Dorgueil
2017-01-17 22:45:10 +01:00
parent b6e84c66e3
commit 8532520aae
41 changed files with 627 additions and 433 deletions

View File

@ -30,7 +30,7 @@ def from_opendatasoft_api(
break
for row in records:
yield { ** row.get('fields', {}), 'geometry': row.get('geometry', {})}
yield {**row.get('fields', {}), 'geometry': row.get('geometry', {})}
start += rows