Skip to content

Commit 7a3fd8a

Browse files
authored
Merge pull request #9 from BlockScience/dev
1.0.0-beta.19
2 parents 6913faa + 8c959e5 commit 7a3fd8a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "koi-net"
7-
version = "1.0.0-beta.18"
7+
version = "1.0.0-beta.19"
88
description = "Implementation of KOI-net protocol in Python"
99
authors = [
1010
{name = "Luke Miller", email = "[email protected]"}

src/koi_net/protocol/event.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ class Event(BaseModel):
1515
manifest: Manifest | None = None
1616
contents: dict | None = None
1717

18+
class Config:
19+
exclude_none = True
20+
1821
def __repr__(self):
1922
return f"<Event '{self.rid}' event type: '{self.event_type}'>"
2023

0 commit comments

Comments
 (0)