提供支持django rest framework的viewflow
Project description
viewflow-rest
provide restful viewflow
many of code in the project looks like django-viewflow. I want to keep the interface as same as the django viewflow.
Thanks you for all the contributors of viewflow.
The project is under GPL-3.0 License, any one who change the source code (even if you just use it in intranet of just at home) should upload his code
workflow
A flow contains many nodes
every node is a instance of Node
every node have a activation_class
every action_class
instance will activate_next
by
self.flow_task._next // the next node instance
self.flow_task._next.activate //
依赖顺序
Edge
- src: source Node instance
- dst: target Node instance
activations
- Attribute
flow_class
flow_task
: Node Instance defined in theflows.py
task
: Current Task
Nodes
- Function
_incoming
: Edge Instance list_outgoing
: Edge Instance list
-
models
-
Views
-
Flow
-
rest_extensions
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
viewflow-rest-0.2.2.tar.gz
(9.4 kB
view hashes)
Built Distribution
Close
Hashes for viewflow_rest-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41a146515806602fdfc200b5790322c50f6864824aa8608a217d034de25781fd |
|
MD5 | 3907370ee6742365f9574d408b0851b2 |
|
BLAKE2b-256 | 50ce5744695ecd904cb1b960cad6cf8250c34a8cbdb5a5dff014be183b32607e |