This is a package containing dataall_core modules used in both data.all CLI and SDK.
- Copy and run the following script in
data.all/backenddirectory...
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))