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
As part of the work in #6802 we use click.version_option, however the eagerly calls dbt.version.get_version_information which in turn calls our legacy flags module. This presents a problem since we want that module to only be loaded after our click group has run. This work should prevent dbt.version.get_version_infromation from being called before the click group as executed. Likely go back to using version as a click.option and use the callback arg.
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
Lazily call version in click params
[CT-1985] Lazily call version in click params
Jan 31, 2023
As part of the work in #6802 we use
click.version_option
, however the eagerly callsdbt.version.get_version_information
which in turn calls our legacyflags
module. This presents a problem since we want that module to only be loaded after our click group has run. This work should preventdbt.version.get_version_infromation
from being called before the click group as executed. Likely go back to usingversion
as aclick.option
and use thecallback
arg.The text was updated successfully, but these errors were encountered: