nebu 0.1.71__tar.gz → 0.1.72__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 (34) hide show
  1. {nebu-0.1.71/src/nebu.egg-info → nebu-0.1.72}/PKG-INFO +1 -1
  2. {nebu-0.1.71 → nebu-0.1.72}/pyproject.toml +1 -1
  3. {nebu-0.1.71 → nebu-0.1.72}/src/nebu/processors/decorate.py +32 -31
  4. {nebu-0.1.71 → nebu-0.1.72/src/nebu.egg-info}/PKG-INFO +1 -1
  5. {nebu-0.1.71 → nebu-0.1.72}/LICENSE +0 -0
  6. {nebu-0.1.71 → nebu-0.1.72}/README.md +0 -0
  7. {nebu-0.1.71 → nebu-0.1.72}/setup.cfg +0 -0
  8. {nebu-0.1.71 → nebu-0.1.72}/src/nebu/__init__.py +0 -0
  9. {nebu-0.1.71 → nebu-0.1.72}/src/nebu/auth.py +0 -0
  10. {nebu-0.1.71 → nebu-0.1.72}/src/nebu/builders/builder.py +0 -0
  11. {nebu-0.1.71 → nebu-0.1.72}/src/nebu/builders/models.py +0 -0
  12. {nebu-0.1.71 → nebu-0.1.72}/src/nebu/cache.py +0 -0
  13. {nebu-0.1.71 → nebu-0.1.72}/src/nebu/config.py +0 -0
  14. {nebu-0.1.71 → nebu-0.1.72}/src/nebu/containers/container.py +0 -0
  15. {nebu-0.1.71 → nebu-0.1.72}/src/nebu/containers/decorator.py +0 -0
  16. {nebu-0.1.71 → nebu-0.1.72}/src/nebu/containers/models.py +0 -0
  17. {nebu-0.1.71 → nebu-0.1.72}/src/nebu/containers/server.py +0 -0
  18. {nebu-0.1.71 → nebu-0.1.72}/src/nebu/data.py +0 -0
  19. {nebu-0.1.71 → nebu-0.1.72}/src/nebu/meta.py +0 -0
  20. {nebu-0.1.71 → nebu-0.1.72}/src/nebu/namespaces/models.py +0 -0
  21. {nebu-0.1.71 → nebu-0.1.72}/src/nebu/namespaces/namespace.py +0 -0
  22. {nebu-0.1.71 → nebu-0.1.72}/src/nebu/orign.py +0 -0
  23. {nebu-0.1.71 → nebu-0.1.72}/src/nebu/processors/consumer.py +0 -0
  24. {nebu-0.1.71 → nebu-0.1.72}/src/nebu/processors/default.py +0 -0
  25. {nebu-0.1.71 → nebu-0.1.72}/src/nebu/processors/models.py +0 -0
  26. {nebu-0.1.71 → nebu-0.1.72}/src/nebu/processors/processor.py +0 -0
  27. {nebu-0.1.71 → nebu-0.1.72}/src/nebu/processors/remote.py +0 -0
  28. {nebu-0.1.71 → nebu-0.1.72}/src/nebu/redis/models.py +0 -0
  29. {nebu-0.1.71 → nebu-0.1.72}/src/nebu/services/service.py +0 -0
  30. {nebu-0.1.71 → nebu-0.1.72}/src/nebu.egg-info/SOURCES.txt +0 -0
  31. {nebu-0.1.71 → nebu-0.1.72}/src/nebu.egg-info/dependency_links.txt +0 -0
  32. {nebu-0.1.71 → nebu-0.1.72}/src/nebu.egg-info/requires.txt +0 -0
  33. {nebu-0.1.71 → nebu-0.1.72}/src/nebu.egg-info/top_level.txt +0 -0
  34. {nebu-0.1.71 → nebu-0.1.72}/tests/test_containers.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nebu
3
- Version: 0.1.71
3
+ Version: 0.1.72
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.71"
3
+ version = "0.1.72"
4
4
  description = "A globally distributed container runtime"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10.14"
@@ -445,37 +445,38 @@ def processor(
445
445
  # --- Get API Key ---
446
446
  print("[DEBUG Decorator] Loading Nebu configuration...")
447
447
  try:
448
- config = GlobalConfig.read()
449
- current_server = config.get_current_server_config()
450
- if not current_server or not current_server.api_key:
451
- raise ValueError("Nebu server configuration or API key not found.")
452
- api_key = current_server.api_key
453
- print("[DEBUG Decorator] Nebu API key loaded successfully.")
454
-
455
- # Add additional environment variables from current configuration
456
- all_env.append(V1EnvVar(key="AGENTSEA_API_KEY", value=api_key))
457
-
458
- # Get server URL and auth server URL from current configuration
459
- server_url = (
460
- current_server.server
461
- if current_server
462
- else GlobalConfig.get_server_url()
463
- )
464
- auth_server_url = current_server.auth_server if current_server else None
465
-
466
- if server_url:
467
- all_env.append(V1EnvVar(key="NEBULOUS_SERVER", value=server_url))
468
-
469
- if auth_server_url:
470
- all_env.append(
471
- V1EnvVar(key="AGENTSEA_AUTH_SERVER", value=auth_server_url)
472
- )
473
-
474
- orign_server = get_orign_server()
475
- if orign_server:
476
- all_env.append(V1EnvVar(key="ORIGN_SERVER", value=orign_server))
477
- else:
478
- print("[DEBUG Decorator] No Orign server found. Not setting...")
448
+ pass
449
+ # config = GlobalConfig.read()
450
+ # current_server = config.get_current_server_config()
451
+ # if not current_server or not current_server.api_key:
452
+ # raise ValueError("Nebu server configuration or API key not found.")
453
+ # api_key = current_server.api_key
454
+ # print("[DEBUG Decorator] Nebu API key loaded successfully.")
455
+
456
+ # # Add additional environment variables from current configuration
457
+ # all_env.append(V1EnvVar(key="AGENTSEA_API_KEY", value=api_key))
458
+
459
+ # # Get server URL and auth server URL from current configuration
460
+ # server_url = (
461
+ # current_server.server
462
+ # if current_server
463
+ # else GlobalConfig.get_server_url()
464
+ # )
465
+ # auth_server_url = current_server.auth_server if current_server else None
466
+
467
+ # if server_url:
468
+ # all_env.append(V1EnvVar(key="NEBULOUS_SERVER", value=server_url))
469
+
470
+ # if auth_server_url:
471
+ # all_env.append(
472
+ # V1EnvVar(key="AGENTSEA_AUTH_SERVER", value=auth_server_url)
473
+ # )
474
+
475
+ # orign_server = get_orign_server()
476
+ # if orign_server:
477
+ # all_env.append(V1EnvVar(key="ORIGN_SERVER", value=orign_server))
478
+ # else:
479
+ # print("[DEBUG Decorator] No Orign server found. Not setting...")
479
480
 
480
481
  except Exception as e:
481
482
  print(f"ERROR: Failed to load Nebu configuration or API key: {e}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nebu
3
- Version: 0.1.71
3
+ Version: 0.1.72
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