Message
class flow_api.message.Message
(select=None, cls=None, init=None, by='id', allow_normal=True, allow_deleted=False, commit=False, body=<class 'flow_api.system.NotSet'>, bundle_id=<class 'flow_api.system.NotSet'>, bundle_name=<class 'flow_api.system.NotSet'>, commit_message=<class 'flow_api.system.NotSet'>, description=<class 'flow_api.system.NotSet'>, is_readonly=<class 'flow_api.system.NotSet'>, is_submitted=<class 'flow_api.system.NotSet'>, location_inheritance=<class 'flow_api.system.NotSet'>, message_type=<class 'flow_api.system.NotSet'>, name=<class 'flow_api.system.NotSet'>, project_id=<class 'flow_api.system.NotSet'>, project_name=<class 'flow_api.system.NotSet'>, response=<class 'flow_api.system.NotSet'>, subject=<class 'flow_api.system.NotSet'>, debug=False, request=None, message=None
)
Base class: Activity
There are two uses for messages:
- A form which a user can fill out to provide data to an execution,
- A message generated by an execution to inform a user.
See the corresponding Resources class at Message
Parameters
Name | Type | Description |
---|---|---|
allow_deleted | bool | |
allow_normal | bool | |
body | typing.Union[ flow_api.system.NotSet, typing.Any, NoneType ] | |
bundle_id | typing.Union[ flow_api.system.NotSet, str, NoneType ] | |
bundle_name | typing.Union[ flow_api.system.NotSet, str, NoneType ] | |
by | str | |
cls | typing.Union[ type, NoneType ] | |
commit | bool | |
commit_message | typing.Union[ flow_api.system.NotSet, str, NoneType ] | |
debug | bool | |
description | typing.Union[ flow_api.system.NotSet, str, NoneType ] | |
init | typing.Union[ dict, NoneType ] | |
is_readonly | typing.Union[ flow_api.system.NotSet, bool ] | |
is_submitted | typing.Union[ flow_api.system.NotSet, bool ] | |
location_inheritance | typing.Union[ flow_api.system.NotSet, str, NoneType ] | |
message | typing.Union[ str, NoneType ] | |
message_type | typing.Union[ flow_api.system.NotSet, str ] | |
name | typing.Union[ flow_api.system.NotSet, str ] | |
project_id | typing.Union[ flow_api.system.NotSet, str, NoneType ] | |
project_name | typing.Union[ flow_api.system.NotSet, str, NoneType ] | |
request | typing.Union[ str, NoneType ] | |
response | typing.Union[ flow_api.system.NotSet, typing.Any, NoneType ] | |
select | typing.Union[ str, NoneType ] | |
subject | typing.Union[ flow_api.system.NotSet, str ] |