Skip to content

Commit bc36d99

Browse files
committed
feat: added response id
1 parent 90f0dc6 commit bc36d99

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

butter/mas/packets/packet.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ def _generateEmptyResponse(errorType='unknown') -> Response:
6060
parameters: null
6161
},
6262
response: {
63+
id: "-1",
6364
status: "Failed",
6465
data: null,
6566
metadata: {

butter/mas/utils/response_parser.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55

66
class ResponseDataPacket:
7+
id: str #: packet id
78
status: str #: packet execution status
89
data: Union[List[ResponseDataPacket], str] #: packet execution data
910
metadata: MetadataDataPacket #: packet execution metadata

0 commit comments

Comments
 (0)