nebu 0.1.59__py3-none-any.whl → 0.1.61__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.
- nebu/config.py +13 -5
- nebu/data.py +3 -2
- {nebu-0.1.59.dist-info → nebu-0.1.61.dist-info}/METADATA +1 -1
- {nebu-0.1.59.dist-info → nebu-0.1.61.dist-info}/RECORD +7 -7
- {nebu-0.1.59.dist-info → nebu-0.1.61.dist-info}/WHEEL +1 -1
- {nebu-0.1.59.dist-info → nebu-0.1.61.dist-info}/licenses/LICENSE +0 -0
- {nebu-0.1.59.dist-info → nebu-0.1.61.dist-info}/top_level.txt +0 -0
nebu/config.py
CHANGED
@@ -54,14 +54,18 @@ class GlobalConfig:
|
|
54
54
|
# Collect environment variables (no fallback defaults here)
|
55
55
|
env_api_key = (
|
56
56
|
os.environ.get("NEBU_API_KEY")
|
57
|
+
or os.environ.get("NEBULOUS_API_KEY")
|
57
58
|
or os.environ.get("AGENTSEA_API_KEY")
|
58
59
|
or os.environ.get("ORIGN_API_KEY")
|
60
|
+
or os.environ.get("ORIGIN_API_KEY")
|
59
61
|
)
|
60
|
-
env_server = os.environ.get("NEBU_SERVER")
|
62
|
+
env_server = os.environ.get("NEBU_SERVER") or os.environ.get("NEBULOUS_SERVER")
|
61
63
|
env_auth_server = (
|
62
64
|
os.environ.get("NEBU_AUTH_SERVER")
|
65
|
+
or os.environ.get("NEBULOUS_AUTH_SERVER")
|
63
66
|
or os.environ.get("AGENTSEA_AUTH_SERVER")
|
64
67
|
or os.environ.get("ORIGN_AUTH_SERVER")
|
68
|
+
or os.environ.get("ORIGIN_AUTH_SERVER")
|
65
69
|
or os.environ.get("AGENTSEA_AUTH_URL")
|
66
70
|
)
|
67
71
|
|
@@ -164,10 +168,14 @@ class ContainerConfig:
|
|
164
168
|
"""
|
165
169
|
return cls(
|
166
170
|
api_key=os.environ.get("NEBU_API_KEY")
|
167
|
-
or os.environ.get("
|
168
|
-
or os.environ.get("ORIGN_API_KEY")
|
169
|
-
|
170
|
-
|
171
|
+
or os.environ.get("NEBULOUS_API_KEY")
|
172
|
+
or os.environ.get("ORIGN_API_KEY")
|
173
|
+
or os.environ.get("ORIGIN_API_KEY"),
|
174
|
+
server=os.environ.get("NEBU_SERVER") or os.environ.get("NEBULOUS_SERVER"),
|
175
|
+
namespace=os.environ.get("NEBU_NAMESPACE")
|
176
|
+
or os.environ.get("NEBULOUS_NAMESPACE")
|
177
|
+
or os.environ.get("ORIGN_NAMESPACE")
|
178
|
+
or os.environ.get("ORIGIN_NAMESPACE"),
|
171
179
|
name=os.environ.get("NEBU_NAME"),
|
172
180
|
container_id=os.environ.get("NEBU_CONTAINER_ID"),
|
173
181
|
date=os.environ.get("NEBU_DATE"),
|
nebu/data.py
CHANGED
@@ -420,9 +420,10 @@ class Bucket:
|
|
420
420
|
|
421
421
|
for action in actions_to_perform:
|
422
422
|
reason = action["reason"]
|
423
|
-
|
423
|
+
|
424
424
|
if action["action"] == "upload":
|
425
425
|
local_path = action["source_path"]
|
426
|
+
dest_full_path_or_key = action["dest_full_path_or_key"]
|
426
427
|
if not isinstance(dest_full_path_or_key, str):
|
427
428
|
print(f"ERROR: Invalid dest path: {dest_full_path_or_key}")
|
428
429
|
continue
|
@@ -447,7 +448,7 @@ class Bucket:
|
|
447
448
|
)
|
448
449
|
elif action["action"] == "download":
|
449
450
|
s3_key_full = action["s3_key_full_src"]
|
450
|
-
local_path = dest_full_path_or_key
|
451
|
+
local_path = action["dest_full_path_or_key"]
|
451
452
|
source_bucket_dl = action["source_bucket"]
|
452
453
|
if self.verbose:
|
453
454
|
print(
|
@@ -1,8 +1,8 @@
|
|
1
1
|
nebu/__init__.py,sha256=gJ49VnAs4GC_bUV90j-SS-iiYWESuCf4uuE7mx4T78k,385
|
2
2
|
nebu/auth.py,sha256=N_v6SPFD9HU_UoRDTaouH03g2Hmo9C-xxqInE1FweXE,1471
|
3
3
|
nebu/cache.py,sha256=jmluqvWnE9N8uNq6nppXSxEJK7DKWaB79GicaGg9KmY,4718
|
4
|
-
nebu/config.py,sha256=
|
5
|
-
nebu/data.py,sha256=
|
4
|
+
nebu/config.py,sha256=jb-yknaTh3rF5XRhBZOccEsmMxd06DN0wxwn6_drHgc,6483
|
5
|
+
nebu/data.py,sha256=X0aAJYuHNVcTCRHpIDDm546HwMqIZpv40lGrozlL41A,39797
|
6
6
|
nebu/meta.py,sha256=CzFHMND9seuewzq9zNNx9WTr6JvrCBExe7BLqDSr7lM,745
|
7
7
|
nebu/builders/builder.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
8
8
|
nebu/builders/models.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -18,8 +18,8 @@ nebu/processors/processor.py,sha256=PsLs-Oo0bcvqoDKHErpOaic25y8uvTQ8KxtyFwLptW0,
|
|
18
18
|
nebu/processors/remote.py,sha256=TeAIPGEMqnDIb7H1iett26IEZrBlcbPB_-DSm6jcH1E,1285
|
19
19
|
nebu/redis/models.py,sha256=coPovAcVXnOU1Xh_fpJL4PO3QctgK9nBe5QYoqEcnxg,1230
|
20
20
|
nebu/services/service.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
21
|
-
nebu-0.1.
|
22
|
-
nebu-0.1.
|
23
|
-
nebu-0.1.
|
24
|
-
nebu-0.1.
|
25
|
-
nebu-0.1.
|
21
|
+
nebu-0.1.61.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
22
|
+
nebu-0.1.61.dist-info/METADATA,sha256=UmM6pvHTUfkUV8xNt8gCTW3Dv_g70ye0E1NcKHCgWaA,1731
|
23
|
+
nebu-0.1.61.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
|
24
|
+
nebu-0.1.61.dist-info/top_level.txt,sha256=uLIbEKJeGSHWOAJN5S0i5XBGwybALlF9bYoB1UhdEgQ,5
|
25
|
+
nebu-0.1.61.dist-info/RECORD,,
|
File without changes
|
File without changes
|