Skip to content

Commit

Permalink
Merge pull request #37 from k0lyaka/feature/add-hash-to-message
Browse files Browse the repository at this point in the history
Add hash field to Message Model
  • Loading branch information
nessshon authored Dec 10, 2024
2 parents 8891932 + f500447 commit f2f37ce
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 f2f37ce

Please sign in to comment.