nebu 0.1.71__py3-none-any.whl → 0.1.73__py3-none-any.whl

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.
@@ -37,7 +37,6 @@ from nebu.containers.models import (
37
37
  )
38
38
  from nebu.data import Bucket
39
39
  from nebu.meta import V1ResourceMetaRequest
40
- from nebu.orign import get_orign_server
41
40
  from nebu.processors.models import (
42
41
  Message,
43
42
  V1Scale,
@@ -445,6 +444,7 @@ def processor(
445
444
  # --- Get API Key ---
446
445
  print("[DEBUG Decorator] Loading Nebu configuration...")
447
446
  try:
447
+ pass
448
448
  config = GlobalConfig.read()
449
449
  current_server = config.get_current_server_config()
450
450
  if not current_server or not current_server.api_key:
@@ -452,30 +452,30 @@ def processor(
452
452
  api_key = current_server.api_key
453
453
  print("[DEBUG Decorator] Nebu API key loaded successfully.")
454
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...")
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...")
479
479
 
480
480
  except Exception as e:
481
481
  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.73
4
4
  Summary: A globally distributed container runtime
5
5
  Requires-Python: >=3.10.14
6
6
  Description-Content-Type: text/markdown
@@ -14,15 +14,15 @@ nebu/containers/server.py,sha256=yFa2Y9PzBn59E1HftKiv0iapPonli2rbGAiU6r-wwe0,251
14
14
  nebu/namespaces/models.py,sha256=EqUOpzhVBhvJw2P92ONDUbIgC31M9jMmcaG5vyOrsWg,497
15
15
  nebu/namespaces/namespace.py,sha256=Q_EDH7BgQrTkaDh_l4tbo22qpq-uARfIk8ZPBLjITGY,4967
16
16
  nebu/processors/consumer.py,sha256=wFxPwLXCrRM8eD4nd6pQsGW46e06rbkoF5YZihodjVk,33857
17
- nebu/processors/decorate.py,sha256=03K9iC1ivt1lcFWCFdyhYZNAKfCwCskao4ZfolDMdwM,53979
17
+ nebu/processors/decorate.py,sha256=hgDoi3S00VEN0gpKi8MM2HctEdV_XsjqwY8bITLQxCs,53996
18
18
  nebu/processors/default.py,sha256=W4slJenG59rvyTlJ7gRp58eFfXcNOTT2Hfi6zzJAobI,365
19
19
  nebu/processors/models.py,sha256=y40HoW-MEzDWB2dm_tsYlUy3Nf3s6eiLC0iGO9BoNog,3956
20
20
  nebu/processors/processor.py,sha256=PsLs-Oo0bcvqoDKHErpOaic25y8uvTQ8KxtyFwLptW0,16165
21
21
  nebu/processors/remote.py,sha256=TeAIPGEMqnDIb7H1iett26IEZrBlcbPB_-DSm6jcH1E,1285
22
22
  nebu/redis/models.py,sha256=coPovAcVXnOU1Xh_fpJL4PO3QctgK9nBe5QYoqEcnxg,1230
23
23
  nebu/services/service.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
- nebu-0.1.71.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
25
- nebu-0.1.71.dist-info/METADATA,sha256=5_UsU30p99wxKSRQ6XCUCtnQkN-zJ8GdUDYp7Um4D-4,1731
26
- nebu-0.1.71.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
27
- nebu-0.1.71.dist-info/top_level.txt,sha256=uLIbEKJeGSHWOAJN5S0i5XBGwybALlF9bYoB1UhdEgQ,5
28
- nebu-0.1.71.dist-info/RECORD,,
24
+ nebu-0.1.73.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
25
+ nebu-0.1.73.dist-info/METADATA,sha256=dHdTchUuRy2eGX_PM-DGM2f9E4_rzqhsmhRLOCcs97g,1731
26
+ nebu-0.1.73.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
27
+ nebu-0.1.73.dist-info/top_level.txt,sha256=uLIbEKJeGSHWOAJN5S0i5XBGwybALlF9bYoB1UhdEgQ,5
28
+ nebu-0.1.73.dist-info/RECORD,,
File without changes