Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "koi-net"
version = "1.0.0-beta.18"
version = "1.0.0-beta.19"
description = "Implementation of KOI-net protocol in Python"
authors = [
{name = "Luke Miller", email = "luke@block.science"}
Expand Down
3 changes: 3 additions & 0 deletions src/koi_net/protocol/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ class Event(BaseModel):
manifest: Manifest | None = None
contents: dict | None = None

class Config:
exclude_none = True

def __repr__(self):
return f"<Event '{self.rid}' event type: '{self.event_type}'>"

Expand Down