This repository was archived by the owner on Apr 8, 2024. It is now read-only.
Replies: 1 comment
-
|
Hey, @ADP-BA thanks for reaching out! I think the way you are executing the commands is fine: What may be happenning is that the Can you paste a model you have in your schema.yml along with it's BTW, here is documentation about how that should be: https://docs.fal.ai/Docs/fal-cli/model-scripts |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I've got a dbt project which has several models. Not all of the models are related and I do not want all of them to run on each "dbt run" execution. For that purpose, I've added the "enabled" property in the models passing them a variable so that each of them executes when needed.
Something like this:
I then added the meta section in the schema.yml in order to run the python script when the model has ran. Right now I've got a very simple py file that only creates a file, just to test fal.
After all that I've run dbt as always:
dbt run --vars '{ "sectionX": "true", ... }'I've checked the 'run_results.json' and I can see that the model to which I've attached the python script has been successfully executed.
And then run fal (even using the --all flag). But the python script is not running and I always get the same message:
But, as can be seen above, the list of models and scripts is empty and so the python script is not being executed.
Am I doing something wrong?
Or what I am trying to achieve is not possible?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions