Skip to content

Commit

Permalink
fix: remove docstring that changed all model digests (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrriehl authored Sep 14, 2023
1 parent b0ead25 commit d817a5b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions python/src/uagents/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@


class Model(BaseModel):
"""Base class for all message models."""

@staticmethod
def build_schema_digest(model: Union["Model", Type["Model"]]) -> str:
"""Builds the schema digest for a given model."""
digest = (
hashlib.sha256(
model.schema_json(indent=None, sort_keys=True).encode("utf8")
Expand Down

0 comments on commit d817a5b

Please sign in to comment.