You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When wanting to use @resolve/ other power user features, power user mode must be enabled.
It is easy to mistake .enable_dynamic_execution(allow_experimental_mode=True) as a way to enable this.
Error:
File "C:\codebase\venv\lib\site-packages\hamilton\function_modifiers\delayed.py", line 130, in resolve
if not config[settings.ENABLE_POWER_USER_MODE]:
KeyError: 'hamilton.enable_power_user_mode'
Describe the solution you'd like
Error(
"@{power_user_feature} needs to be enabled via the driver config.\n""Try the following to enable it."".with_config({settings.ENABLE_POWER_USER_MODE:True})"
)
Describe alternatives you've considered
I could have read the docs better to find this existing solution.
I think we may want to consider deprecating this requirement -- feels like people naturally self-select for resolve and we don't need as many guard-rails...
Is your feature request related to a problem? Please describe.
When wanting to use
@resolve
/ other power user features, power user mode must be enabled.It is easy to mistake
.enable_dynamic_execution(allow_experimental_mode=True)
as a way to enable this.Error:
Describe the solution you'd like
Describe alternatives you've considered
I could have read the docs better to find this existing solution.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: