mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-03-04 03:10:38 +00:00
14 lines
430 B
Python
14 lines
430 B
Python
"""APIs for dealing with process groups, process models, and process instances."""
|
|
import json
|
|
|
|
import flask.wrappers
|
|
from flask.wrappers import Response
|
|
|
|
from spiffworkflow_backend.models.process_instance import ProcessInstanceModel
|
|
|
|
|
|
def status() -> flask.wrappers.Response:
|
|
"""Status."""
|
|
ProcessInstanceModel.query.filter().first()
|
|
return Response(json.dumps({"ok": True}), status=200, mimetype="application/json")
|