C-Accel-CRIPT / Python-SDK

CRIPT Python SDK
MIT License
10 stars 5 forks source link

Self-Contained JSON file format #412

Closed InnocentBug closed 1 year ago

InnocentBug commented 1 year ago

Description

The SDK can produce fully self-contained JSON string for node graphs. Such a node graph does not contain any UUID reference (self-contained) and can be super helpful for users if they want to store their work in a JSON file before uploading it to CRIPT.

@bearmit expressed that he would like this feature.

Changes

Also added a hint about using kwargs to beautify JSON strings into the documentation.

Tests

A test is included to ensures that self-containing JSON can be parsed by cript.load_nodes_from_json.

Known Issues

Notes

Checklist

trunk-io[bot] commented 1 year ago

Merging to develop in this repository is managed by Trunk.