koi-net 1.0.0b16__tar.gz → 1.0.0b17__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 (32) hide show
  1. {koi_net-1.0.0b16 → koi_net-1.0.0b17}/PKG-INFO +1 -1
  2. {koi_net-1.0.0b16 → koi_net-1.0.0b17}/pyproject.toml +1 -1
  3. {koi_net-1.0.0b16 → koi_net-1.0.0b17}/src/koi_net/network/interface.py +1 -1
  4. {koi_net-1.0.0b16 → koi_net-1.0.0b17}/src/koi_net/processor/interface.py +1 -3
  5. {koi_net-1.0.0b16 → koi_net-1.0.0b17}/.github/workflows/publish-to-pypi.yml +0 -0
  6. {koi_net-1.0.0b16 → koi_net-1.0.0b17}/.gitignore +0 -0
  7. {koi_net-1.0.0b16 → koi_net-1.0.0b17}/LICENSE +0 -0
  8. {koi_net-1.0.0b16 → koi_net-1.0.0b17}/README.md +0 -0
  9. {koi_net-1.0.0b16 → koi_net-1.0.0b17}/examples/basic_coordinator_node.py +0 -0
  10. {koi_net-1.0.0b16 → koi_net-1.0.0b17}/examples/basic_partial_node.py +0 -0
  11. {koi_net-1.0.0b16 → koi_net-1.0.0b17}/examples/full_node_template.py +0 -0
  12. {koi_net-1.0.0b16 → koi_net-1.0.0b17}/examples/partial_node_template.py +0 -0
  13. {koi_net-1.0.0b16 → koi_net-1.0.0b17}/requirements.txt +0 -0
  14. {koi_net-1.0.0b16 → koi_net-1.0.0b17}/src/koi_net/__init__.py +0 -0
  15. {koi_net-1.0.0b16 → koi_net-1.0.0b17}/src/koi_net/config.py +0 -0
  16. {koi_net-1.0.0b16 → koi_net-1.0.0b17}/src/koi_net/core.py +0 -0
  17. {koi_net-1.0.0b16 → koi_net-1.0.0b17}/src/koi_net/identity.py +0 -0
  18. {koi_net-1.0.0b16 → koi_net-1.0.0b17}/src/koi_net/network/__init__.py +0 -0
  19. {koi_net-1.0.0b16 → koi_net-1.0.0b17}/src/koi_net/network/graph.py +0 -0
  20. {koi_net-1.0.0b16 → koi_net-1.0.0b17}/src/koi_net/network/request_handler.py +0 -0
  21. {koi_net-1.0.0b16 → koi_net-1.0.0b17}/src/koi_net/network/response_handler.py +0 -0
  22. {koi_net-1.0.0b16 → koi_net-1.0.0b17}/src/koi_net/processor/__init__.py +0 -0
  23. {koi_net-1.0.0b16 → koi_net-1.0.0b17}/src/koi_net/processor/default_handlers.py +0 -0
  24. {koi_net-1.0.0b16 → koi_net-1.0.0b17}/src/koi_net/processor/handler.py +0 -0
  25. {koi_net-1.0.0b16 → koi_net-1.0.0b17}/src/koi_net/processor/knowledge_object.py +0 -0
  26. {koi_net-1.0.0b16 → koi_net-1.0.0b17}/src/koi_net/protocol/__init__.py +0 -0
  27. {koi_net-1.0.0b16 → koi_net-1.0.0b17}/src/koi_net/protocol/api_models.py +0 -0
  28. {koi_net-1.0.0b16 → koi_net-1.0.0b17}/src/koi_net/protocol/consts.py +0 -0
  29. {koi_net-1.0.0b16 → koi_net-1.0.0b17}/src/koi_net/protocol/edge.py +0 -0
  30. {koi_net-1.0.0b16 → koi_net-1.0.0b17}/src/koi_net/protocol/event.py +0 -0
  31. {koi_net-1.0.0b16 → koi_net-1.0.0b17}/src/koi_net/protocol/helpers.py +0 -0
  32. {koi_net-1.0.0b16 → koi_net-1.0.0b17}/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.0b16
3
+ Version: 1.0.0b17
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.16"
7
+ version = "1.0.0-beta.17"
8
8
  description = "Implementation of KOI-net protocol in Python"
9
9
  authors = [
10
10
  {name = "Luke Miller", email = "luke@block.science"}
@@ -173,7 +173,7 @@ class NetworkInterface(Generic[ConfigType]):
173
173
  self.request_handler.broadcast_events(node, events=events)
174
174
  return True
175
175
  except httpx.ConnectError:
176
- logger.warning("Broadcast failed, dropping node")
176
+ logger.warning("Broadcast failed")
177
177
  for event in events:
178
178
  self.push_event_to(event, node)
179
179
  return False
@@ -229,9 +229,7 @@ class ProcessorInterface():
229
229
 
230
230
  for node in kobj.network_targets:
231
231
  self.network.push_event_to(kobj.normalized_event, node)
232
- if not self.network.flush_webhook_queue(node):
233
- logger.warning("Dropping unresponsive node")
234
- self.handle(rid=node, event_type=EventType.FORGET)
232
+ self.network.flush_webhook_queue(node)
235
233
 
236
234
  kobj = self.call_handler_chain(HandlerType.Final, kobj)
237
235
 
File without changes
File without changes
File without changes
File without changes