Error:
2024-11-22 17:01:54.141 - WARNING - Resolved USER [TEST_SNOWDDL_USER_1]: ERROR
Traceback (most recent call last):
File "...(redacted)...\lib\site-packages\snowddl\resolver\abc_resolver.py", line 129, in _process_tasks
result = f.result()
...(redacted)...
\lib\site-packages\snowddl\resolver\user.py", line 147, in _build_common_parameters
for param_name, param_value in bp.session_params.items():
AttributeError: 'NoneType' object has no attribute 'items'
Hi, UserBlueprint session_params is optional but if I don't pass it I get the error below. To workaround it I have to pass: session_params = {}.
from snowddl import SnowDDLConfig, UserBlueprint, AccountObjectIdent
def handler(config: SnowDDLConfig):
Error: 2024-11-22 17:01:54.141 - WARNING - Resolved USER [TEST_SNOWDDL_USER_1]: ERROR Traceback (most recent call last): File "...(redacted)...\lib\site-packages\snowddl\resolver\abc_resolver.py", line 129, in _process_tasks result = f.result() ...(redacted)... \lib\site-packages\snowddl\resolver\user.py", line 147, in _build_common_parameters for param_name, param_value in bp.session_params.items(): AttributeError: 'NoneType' object has no attribute 'items'