griptape-nodes 0.36.0__py3-none-any.whl → 0.36.1__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.
- griptape_nodes/app/app.py +2 -2
- griptape_nodes/retained_mode/managers/config_manager.py +6 -6
- {griptape_nodes-0.36.0.dist-info → griptape_nodes-0.36.1.dist-info}/METADATA +1 -1
- {griptape_nodes-0.36.0.dist-info → griptape_nodes-0.36.1.dist-info}/RECORD +7 -7
- {griptape_nodes-0.36.0.dist-info → griptape_nodes-0.36.1.dist-info}/WHEEL +0 -0
- {griptape_nodes-0.36.0.dist-info → griptape_nodes-0.36.1.dist-info}/entry_points.txt +0 -0
- {griptape_nodes-0.36.0.dist-info → griptape_nodes-0.36.1.dist-info}/licenses/LICENSE +0 -0
griptape_nodes/app/app.py
CHANGED
|
@@ -125,8 +125,8 @@ def _serve_static_server() -> None:
|
|
|
125
125
|
app.add_middleware(
|
|
126
126
|
CORSMiddleware,
|
|
127
127
|
allow_origins=[
|
|
128
|
-
os.getenv("GRIPTAPE_NODES_UI_BASE_URL", "https://nodes.griptape.ai"),
|
|
129
|
-
"https://nodes-staging.griptape.ai",
|
|
128
|
+
os.getenv("GRIPTAPE_NODES_UI_BASE_URL", "https://app.nodes.griptape.ai"),
|
|
129
|
+
"https://app.nodes-staging.griptape.ai",
|
|
130
130
|
"http://localhost:5173",
|
|
131
131
|
],
|
|
132
132
|
allow_credentials=True,
|
|
@@ -321,7 +321,7 @@ class ConfigManager:
|
|
|
321
321
|
# Return the whole shebang. Start with the defaults and then layer on the user config.
|
|
322
322
|
contents = self.merged_config
|
|
323
323
|
details = "Successfully returned the entire config dictionary."
|
|
324
|
-
logger.
|
|
324
|
+
logger.debug(details)
|
|
325
325
|
return GetConfigCategoryResultSuccess(contents=contents)
|
|
326
326
|
|
|
327
327
|
# See if we got something valid.
|
|
@@ -337,7 +337,7 @@ class ConfigManager:
|
|
|
337
337
|
return GetConfigCategoryResultFailure()
|
|
338
338
|
|
|
339
339
|
details = f"Successfully returned the config dictionary for section '{request.category}'."
|
|
340
|
-
logger.
|
|
340
|
+
logger.debug(details)
|
|
341
341
|
return GetConfigCategoryResultSuccess(contents=find_results)
|
|
342
342
|
|
|
343
343
|
def on_handle_set_config_category_request(self, request: SetConfigCategoryRequest) -> ResultPayload:
|
|
@@ -351,7 +351,7 @@ class ConfigManager:
|
|
|
351
351
|
# Assign the whole shebang.
|
|
352
352
|
self._write_user_config_delta(request.contents)
|
|
353
353
|
details = "Successfully assigned the entire config dictionary."
|
|
354
|
-
logger.
|
|
354
|
+
logger.debug(details)
|
|
355
355
|
return SetConfigCategoryResultSuccess()
|
|
356
356
|
|
|
357
357
|
self.set_config_value(key=request.category, value=request.contents)
|
|
@@ -363,7 +363,7 @@ class ConfigManager:
|
|
|
363
363
|
self._update_secret_from_env_var(after_env_var)
|
|
364
364
|
|
|
365
365
|
details = f"Successfully assigned the config dictionary for section '{request.category}'."
|
|
366
|
-
logger.
|
|
366
|
+
logger.debug(details)
|
|
367
367
|
return SetConfigCategoryResultSuccess()
|
|
368
368
|
|
|
369
369
|
def on_handle_get_config_value_request(self, request: GetConfigValueRequest) -> ResultPayload:
|
|
@@ -380,7 +380,7 @@ class ConfigManager:
|
|
|
380
380
|
return GetConfigValueResultFailure()
|
|
381
381
|
|
|
382
382
|
details = f"Successfully returned the config value for section '{request.category_and_key}'."
|
|
383
|
-
logger.
|
|
383
|
+
logger.debug(details)
|
|
384
384
|
return GetConfigValueResultSuccess(value=find_results)
|
|
385
385
|
|
|
386
386
|
def on_handle_get_config_path_request(self, request: GetConfigPathRequest) -> ResultPayload: # noqa: ARG002
|
|
@@ -472,7 +472,7 @@ class ConfigManager:
|
|
|
472
472
|
else:
|
|
473
473
|
details = f"Successfully assigned the config value for '{request.category_and_key}':\n\tFROM '{old_value_copy}'\n\tTO: '{request.value}'"
|
|
474
474
|
|
|
475
|
-
logger.
|
|
475
|
+
logger.debug(details)
|
|
476
476
|
return SetConfigValueResultSuccess()
|
|
477
477
|
|
|
478
478
|
def _write_user_config_delta(self, user_config_delta: dict) -> None:
|
|
@@ -2,7 +2,7 @@ griptape_nodes/__init__.py,sha256=9qxA6Q5LJ83bt6fjoqaXzEHDTVVaGTNf6A-L7CyoC_o,29
|
|
|
2
2
|
griptape_nodes/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
griptape_nodes/app/.python-version,sha256=e1X45ntWI8S-8_ppEojalDfXnTq6FW3kjUgdsyrH0W0,5
|
|
4
4
|
griptape_nodes/app/__init__.py,sha256=Sfv41UJpjRmYq8FlyT0QVm1kX5cg-U-Hw-LgS9Jipk0,233
|
|
5
|
-
griptape_nodes/app/app.py,sha256=
|
|
5
|
+
griptape_nodes/app/app.py,sha256=qQbtD9MXd-73pXrcahn_O5WunumwhucpKDQpZWN1Cog,17758
|
|
6
6
|
griptape_nodes/app/app_websocket.py,sha256=smbTCwNM4anGjmiJDFWntiiz7QgHw0ybVtUAl9S4KUU,18893
|
|
7
7
|
griptape_nodes/app/nodes_api_socket_manager.py,sha256=J7K4yi7jfzJat2xIW0upqNJz3jnQBOb0eJGWT7CCJ9Q,4745
|
|
8
8
|
griptape_nodes/app/watch.py,sha256=Jh7sQoptOuVzEobyhHG5EThxOcb8wfkW0JOmYE-WDpE,1848
|
|
@@ -61,7 +61,7 @@ griptape_nodes/retained_mode/events/validation_events.py,sha256=a3DwE1xmrmAZ9Y2H
|
|
|
61
61
|
griptape_nodes/retained_mode/events/workflow_events.py,sha256=qninIeAh3aGCdmIPCJb25wbmcPoMVEf6hbVzrn3dA7M,4105
|
|
62
62
|
griptape_nodes/retained_mode/managers/__init__.py,sha256=OTXysKusqYCQeAYwnVj4PbE3MxvAUTq9xOZT6vUE3JA,24
|
|
63
63
|
griptape_nodes/retained_mode/managers/arbitrary_code_exec_manager.py,sha256=QnqI2_IkDpc9SHzbb-jwsyYkm91W0V9kLlxARUbbVUI,1777
|
|
64
|
-
griptape_nodes/retained_mode/managers/config_manager.py,sha256=
|
|
64
|
+
griptape_nodes/retained_mode/managers/config_manager.py,sha256=HfPhVTtyq4fBJ37ukyULoJ8cDVYEnxuaCYmp7m_hsQs,23601
|
|
65
65
|
griptape_nodes/retained_mode/managers/context_manager.py,sha256=DiGNh09TZ7rsLEcXqqB9Yrh2ietBy59LPF7GM0OBQS8,22930
|
|
66
66
|
griptape_nodes/retained_mode/managers/event_manager.py,sha256=yJbULFry8CvoNwZjTQfugvWcw0-vDvXPsWOP4BYn-Vs,5840
|
|
67
67
|
griptape_nodes/retained_mode/managers/flow_manager.py,sha256=1eqFsP0m26ltrcFweFulLYGn2jKjMN8T5dFiPQvc4-E,73699
|
|
@@ -90,8 +90,8 @@ griptape_nodes/updater/__main__.py,sha256=lhMMctbBeni57ximitvkwqJ1TQzk79Jg9w0rkK
|
|
|
90
90
|
griptape_nodes/utils/__init__.py,sha256=5-NvqVvxiwuRx2UgyzenuLFXyodvfDqJ_dzcrgZpPOk,33
|
|
91
91
|
griptape_nodes/utils/dict_utils.py,sha256=kyli5MOfzSor0a8lmXfYBVS_NXGf6UK1SM6k_Qn5bs8,6889
|
|
92
92
|
griptape_nodes/utils/metaclasses.py,sha256=RSKyAvZppH_hbMugmUmIr8QqOg1sYY4uRNfQybD4O8Q,287
|
|
93
|
-
griptape_nodes-0.36.
|
|
94
|
-
griptape_nodes-0.36.
|
|
95
|
-
griptape_nodes-0.36.
|
|
96
|
-
griptape_nodes-0.36.
|
|
97
|
-
griptape_nodes-0.36.
|
|
93
|
+
griptape_nodes-0.36.1.dist-info/METADATA,sha256=vcbjoE2VEzT5HuAMlWhu28mTwpFLHoRqsviU2tNUHOA,3925
|
|
94
|
+
griptape_nodes-0.36.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
95
|
+
griptape_nodes-0.36.1.dist-info/entry_points.txt,sha256=Q8V3Ydy7PNfJgTjNEVkPui25AwZ4HJ3kZCU3oh4mq-c,81
|
|
96
|
+
griptape_nodes-0.36.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
97
|
+
griptape_nodes-0.36.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|