We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6913faa + 8c959e5 commit 7a3fd8aCopy full SHA for 7a3fd8a
pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
5
[project]
6
name = "koi-net"
7
-version = "1.0.0-beta.18"
+version = "1.0.0-beta.19"
8
description = "Implementation of KOI-net protocol in Python"
9
authors = [
10
{name = "Luke Miller", email = "[email protected]"}
src/koi_net/protocol/event.py
@@ -15,6 +15,9 @@ class Event(BaseModel):
15
manifest: Manifest | None = None
16
contents: dict | None = None
17
18
+ class Config:
19
+ exclude_none = True
20
+
21
def __repr__(self):
22
return f"<Event '{self.rid}' event type: '{self.event_type}'>"
23
0 commit comments