hostel-protocol-python 0.4.2__tar.gz → 0.4.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (20) hide show
  1. {hostel_protocol_python-0.4.2 → hostel_protocol_python-0.4.3}/PKG-INFO +1 -1
  2. {hostel_protocol_python-0.4.2 → hostel_protocol_python-0.4.3}/pyproject.toml +1 -1
  3. {hostel_protocol_python-0.4.2 → hostel_protocol_python-0.4.3}/src/hostel/protocol/converter.py +0 -1
  4. {hostel_protocol_python-0.4.2 → hostel_protocol_python-0.4.3}/.github/workflows/ci.yml +0 -0
  5. {hostel_protocol_python-0.4.2 → hostel_protocol_python-0.4.3}/.github/workflows/publish.yml +0 -0
  6. {hostel_protocol_python-0.4.2 → hostel_protocol_python-0.4.3}/.gitignore +0 -0
  7. {hostel_protocol_python-0.4.2 → hostel_protocol_python-0.4.3}/Makefile +0 -0
  8. {hostel_protocol_python-0.4.2 → hostel_protocol_python-0.4.3}/src/hostel/client/__init__.py +0 -0
  9. {hostel_protocol_python-0.4.2 → hostel_protocol_python-0.4.3}/src/hostel/client/client.py +0 -0
  10. {hostel_protocol_python-0.4.2 → hostel_protocol_python-0.4.3}/src/hostel/protocol/__init__.py +0 -0
  11. {hostel_protocol_python-0.4.2 → hostel_protocol_python-0.4.3}/src/hostel/protocol/models.py +0 -0
  12. {hostel_protocol_python-0.4.2 → hostel_protocol_python-0.4.3}/src/hostel/py.typed +0 -0
  13. {hostel_protocol_python-0.4.2 → hostel_protocol_python-0.4.3}/src/hostel/transport/__init__.py +0 -0
  14. {hostel_protocol_python-0.4.2 → hostel_protocol_python-0.4.3}/src/hostel/transport/transport.py +0 -0
  15. {hostel_protocol_python-0.4.2 → hostel_protocol_python-0.4.3}/src/hostel/transport/zeromq.py +0 -0
  16. {hostel_protocol_python-0.4.2 → hostel_protocol_python-0.4.3}/tests/__init__.py +0 -0
  17. {hostel_protocol_python-0.4.2 → hostel_protocol_python-0.4.3}/tests/test_client.py +0 -0
  18. {hostel_protocol_python-0.4.2 → hostel_protocol_python-0.4.3}/tests/test_converter.py +0 -0
  19. {hostel_protocol_python-0.4.2 → hostel_protocol_python-0.4.3}/tests/test_models.py +0 -0
  20. {hostel_protocol_python-0.4.2 → hostel_protocol_python-0.4.3}/tests/test_transport.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hostel-protocol-python
3
- Version: 0.4.2
3
+ Version: 0.4.3
4
4
  Summary: Pydantic models, transport and client for the Hostel protocol
5
5
  Requires-Python: >=3.12
6
6
  Requires-Dist: hostel-protocol>=0.4.0
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "hostel-protocol-python"
7
- version = "0.4.2"
7
+ version = "0.4.3"
8
8
  description = "Pydantic models, transport and client for the Hostel protocol"
9
9
  requires-python = ">=3.12"
10
10
  dependencies = [
@@ -225,7 +225,6 @@ def pydantic_to_proto(model: BaseModel) -> Message:
225
225
  def _pydantic_to_proto_inner(model: BaseModel, proto_cls: type[Message]) -> Message:
226
226
  proto = proto_cls()
227
227
  string_value_fields = _STRING_VALUE_FIELDS.get(proto_cls, set())
228
- optional_string_fields = _OPTIONAL_STRING_FIELDS.get(proto_cls, set())
229
228
  struct_fields = _STRUCT_FIELDS.get(proto_cls, set())
230
229
  value_fields = _VALUE_FIELDS.get(proto_cls, set())
231
230
  repeated_fields = _REPEATED_MSG_FIELDS.get(proto_cls, {})