Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On hub.getdbt.com you've got an error in arguments of generate_model_yaml (model_names not model_name) #176

Closed
elycenok-wowcorp opened this issue Jul 20, 2024 · 2 comments · Fixed by #164
Labels
documentation Improvements or additions to documentation

Comments

@elycenok-wowcorp
Copy link

elycenok-wowcorp commented Jul 20, 2024

Describe the bug

see issue header

Steps to reproduce

so I tried to run the very first command example (no matter if it was from the wrong macro description) and it failed

dbt --quiet run-operation generate_model_yaml --args '{"model_name": "stg_jaffle_shop__orders"}' > models/staging/jaffle_shop/stg_jaffle_shop__orders.yml

from here https://hub.getdbt.com/dbt-labs/codegen/latest/

(something like model_name is the wrong parameter of macro generate_model_yaml

@elycenok-wowcorp elycenok-wowcorp added bug Something isn't working triage labels Jul 20, 2024
@elycenok-wowcorp
Copy link
Author

elycenok-wowcorp commented Jul 20, 2024

and I was going to give up and abandon this dbt package

@elycenok-wowcorp elycenok-wowcorp changed the title In readme.md you've an error in arguments of generate_model_yaml (model_names not model_name) On hub.getdbt.com you've an got error in arguments of generate_model_yaml (model_names not model_name) Jul 20, 2024
@elycenok-wowcorp elycenok-wowcorp changed the title On hub.getdbt.com you've an got error in arguments of generate_model_yaml (model_names not model_name) On hub.getdbt.com you've got error in arguments of generate_model_yaml (model_names not model_name) Jul 20, 2024
@elycenok-wowcorp elycenok-wowcorp changed the title On hub.getdbt.com you've got error in arguments of generate_model_yaml (model_names not model_name) On hub.getdbt.com you've got an error in arguments of generate_model_yaml (model_names not model_name) Jul 20, 2024
@dbeatty10
Copy link
Contributor

Thank you for reporting this @elycenok-wowcorp !

This was fixed by 390ab08 as part of #164, and the fix will show up at https://hub.getdbt.com/dbt-labs/codegen/latest/ upon the next release (which is coming soon).

@dbeatty10 dbeatty10 added documentation Improvements or additions to documentation and removed bug Something isn't working triage labels Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants