diff --git a/pyproject.toml b/pyproject.toml index 64ce465..e9aaf2b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"} diff --git a/src/koi_net/protocol/event.py b/src/koi_net/protocol/event.py index f631c70..ecebbb6 100644 --- a/src/koi_net/protocol/event.py +++ b/src/koi_net/protocol/event.py @@ -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""