nebu 0.1.100__tar.gz → 0.1.103__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 (35) hide show
  1. {nebu-0.1.100/src/nebu.egg-info → nebu-0.1.103}/PKG-INFO +1 -1
  2. {nebu-0.1.100 → nebu-0.1.103}/pyproject.toml +1 -1
  3. {nebu-0.1.100 → nebu-0.1.103}/src/nebu/processors/processor.py +5 -5
  4. {nebu-0.1.100 → nebu-0.1.103/src/nebu.egg-info}/PKG-INFO +1 -1
  5. {nebu-0.1.100 → nebu-0.1.103}/LICENSE +0 -0
  6. {nebu-0.1.100 → nebu-0.1.103}/README.md +0 -0
  7. {nebu-0.1.100 → nebu-0.1.103}/setup.cfg +0 -0
  8. {nebu-0.1.100 → nebu-0.1.103}/src/nebu/__init__.py +0 -0
  9. {nebu-0.1.100 → nebu-0.1.103}/src/nebu/auth.py +0 -0
  10. {nebu-0.1.100 → nebu-0.1.103}/src/nebu/builders/builder.py +0 -0
  11. {nebu-0.1.100 → nebu-0.1.103}/src/nebu/builders/models.py +0 -0
  12. {nebu-0.1.100 → nebu-0.1.103}/src/nebu/cache.py +0 -0
  13. {nebu-0.1.100 → nebu-0.1.103}/src/nebu/config.py +0 -0
  14. {nebu-0.1.100 → nebu-0.1.103}/src/nebu/containers/container.py +0 -0
  15. {nebu-0.1.100 → nebu-0.1.103}/src/nebu/containers/models.py +0 -0
  16. {nebu-0.1.100 → nebu-0.1.103}/src/nebu/data.py +0 -0
  17. {nebu-0.1.100 → nebu-0.1.103}/src/nebu/errors.py +0 -0
  18. {nebu-0.1.100 → nebu-0.1.103}/src/nebu/logging.py +0 -0
  19. {nebu-0.1.100 → nebu-0.1.103}/src/nebu/meta.py +0 -0
  20. {nebu-0.1.100 → nebu-0.1.103}/src/nebu/namespaces/models.py +0 -0
  21. {nebu-0.1.100 → nebu-0.1.103}/src/nebu/namespaces/namespace.py +0 -0
  22. {nebu-0.1.100 → nebu-0.1.103}/src/nebu/orign.py +0 -0
  23. {nebu-0.1.100 → nebu-0.1.103}/src/nebu/processors/consumer.py +0 -0
  24. {nebu-0.1.100 → nebu-0.1.103}/src/nebu/processors/consumer_process_worker.py +0 -0
  25. {nebu-0.1.100 → nebu-0.1.103}/src/nebu/processors/decorate.py +0 -0
  26. {nebu-0.1.100 → nebu-0.1.103}/src/nebu/processors/default.py +0 -0
  27. {nebu-0.1.100 → nebu-0.1.103}/src/nebu/processors/models.py +0 -0
  28. {nebu-0.1.100 → nebu-0.1.103}/src/nebu/redis/models.py +0 -0
  29. {nebu-0.1.100 → nebu-0.1.103}/src/nebu/services/service.py +0 -0
  30. {nebu-0.1.100 → nebu-0.1.103}/src/nebu.egg-info/SOURCES.txt +0 -0
  31. {nebu-0.1.100 → nebu-0.1.103}/src/nebu.egg-info/dependency_links.txt +0 -0
  32. {nebu-0.1.100 → nebu-0.1.103}/src/nebu.egg-info/requires.txt +0 -0
  33. {nebu-0.1.100 → nebu-0.1.103}/src/nebu.egg-info/top_level.txt +0 -0
  34. {nebu-0.1.100 → nebu-0.1.103}/tests/test_bucket.py +0 -0
  35. {nebu-0.1.100 → nebu-0.1.103}/tests/test_containers.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nebu
3
- Version: 0.1.100
3
+ Version: 0.1.103
4
4
  Summary: A globally distributed container runtime
5
5
  Requires-Python: >=3.10.14
6
6
  Description-Content-Type: text/markdown
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "nebu"
3
- version = "0.1.100"
3
+ version = "0.1.103"
4
4
  description = "A globally distributed container runtime"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10.14"
@@ -2,7 +2,7 @@ import json
2
2
  import threading
3
3
  import time
4
4
  import uuid
5
- from typing import Any, Dict, Generic, List, Optional, TypeVar, cast
5
+ from typing import Any, Dict, Generic, List, Optional, TypeVar
6
6
 
7
7
  import requests
8
8
  from pydantic import BaseModel
@@ -213,7 +213,7 @@ class Processor(Generic[InputType, OutputType]):
213
213
 
214
214
  # --- Wait for health check if requested ---
215
215
  if wait_for_healthy:
216
- self._wait_for_health_check()
216
+ self.wait_for_health_check()
217
217
 
218
218
  def __call__(
219
219
  self,
@@ -442,8 +442,8 @@ class Processor(Generic[InputType, OutputType]):
442
442
  else:
443
443
  logger.info(f"No active log stream to stop for {self.name}.")
444
444
 
445
- def _wait_for_health_check(
446
- self, timeout: float = 300.0, retry_interval: float = 5.0
445
+ def wait_for_health_check(
446
+ self, timeout: float = 3600.0, retry_interval: float = 5.0
447
447
  ) -> None:
448
448
  """
449
449
  Wait for the processor to respond to health checks.
@@ -472,7 +472,7 @@ class Processor(Generic[InputType, OutputType]):
472
472
 
473
473
  # Send health check and wait for response
474
474
  response = self.send(
475
- data=cast(InputType, health_check_data),
475
+ data=health_check_data, # type: ignore
476
476
  wait=True,
477
477
  timeout=30.0, # Short timeout for individual health check
478
478
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nebu
3
- Version: 0.1.100
3
+ Version: 0.1.103
4
4
  Summary: A globally distributed container runtime
5
5
  Requires-Python: >=3.10.14
6
6
  Description-Content-Type: text/markdown
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes