PyWorkflowApp / visual-programming

A Python Visual Programming Workspace for Data Science
MIT License
31 stars 12 forks source link

Back-end code cleanup, docs, style #91

Closed reelmatt closed 1 month ago

reelmatt commented 4 years ago

All these changes should mostly deal with style/documentation and not affect any functionality. There are three which have the potential to (if I missed a reference in one place or the other), so might need extra care during review, which are: 1) Change mentions of react in the saved workflow to ui-graph. Addresses code review feedback in case the front-end changes to a non-React framework. 2) Changes the Workflow to_session_dict method to a to_json method. Both return dict-like objects so this should keep existing functionality. It adds the node_dir attribute which had been missing. 3) Change node update endpoint from POST -> PATCH to make it more RESTful (addresses code review feedback). Front-end has been updated as well.

Additional minor changes, are all clean-up/style: