Skip to content

Commit

Permalink
Add hash field to Message Model
Browse files Browse the repository at this point in the history
  • Loading branch information
k0lyaka committed Dec 9, 2024
1 parent 8891932 commit f500447
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pytonapi/schema/traces.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from __future__ import annotations

from enum import Enum
from typing import Optional, List, Union
from typing import List, Optional, Union

from pydantic import BaseModel

Expand Down Expand Up @@ -92,6 +92,7 @@ class Message(BaseModel):
init: Optional[StateInit] = None
decoded_op_name: Optional[str] = None
decoded_body: Optional[Union[dict, str]] = None
hash: Optional[str] = None
raw_body: Optional[str] = None


Expand Down

0 comments on commit f500447

Please sign in to comment.