Is it possible to enable a Kedro plugin only in sp...
# questions
l
Is it possible to enable a Kedro plugin only in specific envs? e.g., Following does not add plugin
Copy code
kedro run
While, the next one does
Copy code
kedro run -e mlfow
👀 2
n
Free to open an Github issue about it, I think it would be an interesting dev ex improvement.
👍 1
For now, I don't think there is a way to do this universally, it's up to the plugin to implement such feature. So it would be plugin specific.
In
settings.py
, you can disable environment via:
Copy code
# DISABLE_HOOKS_FOR_PLUGINS = ("kedro-viz",)
but this is environment agnostic. This is read before Kedro reading any configuration so "environment" isn't available and will requires some workaround for now.
👍 1