Robin Eklund
10/03/2022, 9:10 AMRobin Eklund
10/03/2022, 9:12 AMpip install flytekitplugins-dbt
i get this error:
ERROR: Could not find a version that satisfies the requirement flytekitplugins-dbt (from versions: none)
ERROR: No matching distribution found for flytekitplugins-dbt
Also when searching for flytekitplugins-dbt
in pypi it doesn't give any resultSamhita Alla
Robin Eklund
10/03/2022, 9:56 AMpip install git+<https://github.com/flyteorg/flytekit.git#subdirectory=plugins/flytekit-dbt>
Do you recommend against using it? or is it possible to use the code in the master branch?Robin Eklund
10/03/2022, 9:58 AMSamhita Alla
Do you recommend against using it? or is it possible to use the code in the master branch?It’s okay for now but we recommend you to use the stable version after it’s released.
If you would run different DBT jobs how would you implement that with Flyte? So what is the recommended approach?@Eduardo Apolinario (eapolinario) should be able to answer this.
Also a tip, ask DBT to add Flyte here as well: https://docs.getdbt.com/docs/running-a-dbt-project/running-dbt-in-productionCool, thanks! Would you be up for adding it, Eduardo?
Robin Eklund
10/03/2022, 12:13 PMKetan (kumare3)
Robin Eklund
10/03/2022, 2:20 PMRobin Eklund
10/04/2022, 12:24 PMselect
option. When doing that we get this error:
raise ValueError("Only generic univariate typing.List[T] type is supported.")
ValueError: Only generic univariate typing.List[T] type is supported.
Is it something you recognize?
this is the code:
from flytekitplugins.dbt.task import DBTRun, DBTRunInput
from flytekit import workflow
dbt_task = DBTRun(name="name_of_the_task")
@workflow
def my_wf() -> None:
_input = DBTRunInput(
project_dir=f"{project_path}/dbt/analytics",
profiles_dir=f"{project_path}/dbt/analytics/docker-context",
profile="default",
select=['tag:something']
)
dbt_task(input=_input)
if __name__ == "__main__":
my_wf()
Ketan (kumare3)
Eduardo Apolinario (eapolinario)
10/04/2022, 3:23 PMEduardo Apolinario (eapolinario)
10/04/2022, 11:34 PMRobin Eklund
10/06/2022, 10:19 AMEduardo Apolinario (eapolinario)
10/06/2022, 2:59 PMRobin Eklund
10/06/2022, 3:00 PMEduardo Apolinario (eapolinario)
10/07/2022, 7:36 AMRobin Eklund
10/07/2022, 7:37 AMRobin Eklund
10/12/2022, 10:48 AMRobin Eklund
10/19/2022, 10:00 AMKetan (kumare3)