mirror of
https://github.com/sartography/spiffworkflow-backend.git
synced 2025-02-24 05:18:22 +00:00
display groups as tiles on list page w/ burnettk
This commit is contained in:
parent
3e21b7e2ed
commit
23436331ac
@ -445,7 +445,6 @@ paths:
|
||||
description: For filtering - indicates the user has manually entered a query
|
||||
schema:
|
||||
type: boolean
|
||||
# process_instance_list
|
||||
get:
|
||||
operationId: spiffworkflow_backend.routes.process_api_blueprint.process_instance_list
|
||||
summary: Returns a list of process instances for a given process model
|
||||
|
@ -55,13 +55,24 @@ class ProcessGroupSchema(Schema):
|
||||
"""Meta."""
|
||||
|
||||
model = ProcessGroup
|
||||
fields = ["id", "display_name", "display_order", "admin", "process_models"]
|
||||
fields = [
|
||||
"id",
|
||||
"display_name",
|
||||
"display_order",
|
||||
"admin",
|
||||
"process_models",
|
||||
"description",
|
||||
"process_groups",
|
||||
]
|
||||
|
||||
process_models = marshmallow.fields.List(
|
||||
marshmallow.fields.Nested(
|
||||
"ProcessModelInfoSchema", dump_only=True, required=False
|
||||
)
|
||||
)
|
||||
process_groups = marshmallow.fields.List(
|
||||
marshmallow.fields.Nested("ProcessGroupSchema", dump_only=True, required=False)
|
||||
)
|
||||
|
||||
@post_load
|
||||
def make_process_group(
|
||||
|
Loading…
x
Reference in New Issue
Block a user