We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 163f540 commit 219561bCopy full SHA for 219561b
openeo/udf/run_code.py
@@ -57,6 +57,9 @@ def load_module_from_string(code: str) -> dict:
57
@param code:
58
@return:
59
"""
60
+ if _log.isEnabledFor(logging.DEBUG):
61
+ cache_info = load_module_from_string.cache_info()
62
+ _log.debug(f"run_udf: Loading UDF from string {code[:50]}. Cache info: {cache_info}")
63
globals = _build_default_execution_context()
64
exec(code, globals)
65
return globals
0 commit comments