Skip to content

data.all core package

This is a package containing dataall_core modules used in both data.all CLI and SDK.

generate schema from a data.all deployments

  • Copy and run the following script in data.all/backend directory...
fromdataall.base.loaderimportload_modules, ImportModefromgraphqlimportintrospection_from_schemafromdataall.base.apiimportget_executable_schemaimportjsonload_modules(modes={ImportMode.API})
SCHEMA=get_executable_schema()
t=introspection_from_schema(SCHEMA)
# Write schema to JSON filewithopen('./schema.json', 'w') asf:
f.write(json.dumps(t))

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages