# https://github.com/frictionlessdata/datapackage-py
from datapackage import pull_datapackage
from sqlalchemy import create_engine
engine = create_engine('mysql://root@localhost/enliten')
# Push
pull_datapackage(
descriptor='enliten-datapackage/datapackage.json',
name="enliten-datapackage",
backend='sql',
engine=engine)
None of the resources have names (now required). This results in the foreignKeys generated in one of the resources in the datapackage.json referring to null resources.
When generating Data Package, using:
None of the resources have
name
s (now required). This results in theforeignKeys
generated in one of the resources in thedatapackage.json
referring tonull
resources.(Found via this https://github.com/frictionlessdata/pilot-dm4t/issues/19)