koi-net 1.0.0b3__tar.gz → 1.0.0b5__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.

Potentially problematic release.


This version of koi-net might be problematic. Click here for more details.

Files changed (30) hide show
  1. {koi_net-1.0.0b3 → koi_net-1.0.0b5}/PKG-INFO +1 -1
  2. {koi_net-1.0.0b3 → koi_net-1.0.0b5}/pyproject.toml +1 -1
  3. {koi_net-1.0.0b3 → koi_net-1.0.0b5}/src/koi_net/processor/interface.py +3 -3
  4. {koi_net-1.0.0b3 → koi_net-1.0.0b5}/.gitignore +0 -0
  5. {koi_net-1.0.0b3 → koi_net-1.0.0b5}/LICENSE +0 -0
  6. {koi_net-1.0.0b3 → koi_net-1.0.0b5}/README.md +0 -0
  7. {koi_net-1.0.0b3 → koi_net-1.0.0b5}/examples/basic_coordinator_node.py +0 -0
  8. {koi_net-1.0.0b3 → koi_net-1.0.0b5}/examples/basic_partial_node.py +0 -0
  9. {koi_net-1.0.0b3 → koi_net-1.0.0b5}/examples/full_node_template.py +0 -0
  10. {koi_net-1.0.0b3 → koi_net-1.0.0b5}/examples/partial_node_template.py +0 -0
  11. {koi_net-1.0.0b3 → koi_net-1.0.0b5}/requirements.txt +0 -0
  12. {koi_net-1.0.0b3 → koi_net-1.0.0b5}/src/koi_net/__init__.py +0 -0
  13. {koi_net-1.0.0b3 → koi_net-1.0.0b5}/src/koi_net/core.py +0 -0
  14. {koi_net-1.0.0b3 → koi_net-1.0.0b5}/src/koi_net/identity.py +0 -0
  15. {koi_net-1.0.0b3 → koi_net-1.0.0b5}/src/koi_net/network/__init__.py +0 -0
  16. {koi_net-1.0.0b3 → koi_net-1.0.0b5}/src/koi_net/network/graph.py +0 -0
  17. {koi_net-1.0.0b3 → koi_net-1.0.0b5}/src/koi_net/network/interface.py +0 -0
  18. {koi_net-1.0.0b3 → koi_net-1.0.0b5}/src/koi_net/network/request_handler.py +0 -0
  19. {koi_net-1.0.0b3 → koi_net-1.0.0b5}/src/koi_net/network/response_handler.py +0 -0
  20. {koi_net-1.0.0b3 → koi_net-1.0.0b5}/src/koi_net/processor/__init__.py +0 -0
  21. {koi_net-1.0.0b3 → koi_net-1.0.0b5}/src/koi_net/processor/default_handlers.py +0 -0
  22. {koi_net-1.0.0b3 → koi_net-1.0.0b5}/src/koi_net/processor/handler.py +0 -0
  23. {koi_net-1.0.0b3 → koi_net-1.0.0b5}/src/koi_net/processor/knowledge_object.py +0 -0
  24. {koi_net-1.0.0b3 → koi_net-1.0.0b5}/src/koi_net/protocol/__init__.py +0 -0
  25. {koi_net-1.0.0b3 → koi_net-1.0.0b5}/src/koi_net/protocol/api_models.py +0 -0
  26. {koi_net-1.0.0b3 → koi_net-1.0.0b5}/src/koi_net/protocol/consts.py +0 -0
  27. {koi_net-1.0.0b3 → koi_net-1.0.0b5}/src/koi_net/protocol/edge.py +0 -0
  28. {koi_net-1.0.0b3 → koi_net-1.0.0b5}/src/koi_net/protocol/event.py +0 -0
  29. {koi_net-1.0.0b3 → koi_net-1.0.0b5}/src/koi_net/protocol/helpers.py +0 -0
  30. {koi_net-1.0.0b3 → koi_net-1.0.0b5}/src/koi_net/protocol/node.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: koi-net
3
- Version: 1.0.0b3
3
+ Version: 1.0.0b5
4
4
  Summary: Implementation of KOI-net protocol in Python
5
5
  Project-URL: Homepage, https://github.com/BlockScience/koi-net/
6
6
  Author-email: Luke Miller <luke@block.science>
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "koi-net"
7
- version = "1.0.0-beta.3"
7
+ version = "1.0.0-beta.5"
8
8
  description = "Implementation of KOI-net protocol in Python"
9
9
  authors = [
10
10
  {name = "Luke Miller", email = "luke@block.science"}
@@ -231,13 +231,13 @@ class ProcessorInterface:
231
231
  _kobj = KnowledgeObject.from_bundle(bundle, event_type, source)
232
232
  elif event:
233
233
  _kobj = KnowledgeObject.from_event(event, source)
234
- elif _kobj:
234
+ elif kobj:
235
235
  _kobj = kobj
236
236
  else:
237
237
  raise ValueError("One of 'rid', 'manifest', 'bundle', 'event', or 'kobj' must be provided")
238
238
 
239
- self.kobj_queue.put(kobj)
240
- logger.info(f"Queued {kobj!r}")
239
+ self.kobj_queue.put(_kobj)
240
+ logger.info(f"Queued {_kobj!r}")
241
241
 
242
242
  if flush:
243
243
  self.flush_kobj_queue()
File without changes
File without changes
File without changes
File without changes
File without changes