From aa715b7a4f2b4101c26f6a6f702ba7d6b17083f5 Mon Sep 17 00:00:00 2001 From: satsuta <15633521+satsuta@users.noreply.github.com> Date: Thu, 19 Feb 2026 21:33:44 +0400 Subject: [PATCH] Fix error in base_model_creation documentation in README.md base_model_creation supports only a single table and does not handle a list of tables. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 438d248..d4ae7ca 100644 --- a/README.md +++ b/README.md @@ -236,7 +236,7 @@ This bash script when executed from your local IDE will create model files in yo ### Arguments: - `source_name` (required): The source you wish to generate base model SQL for. -- `tables` (required): A list of all tables you want to generate the base models for. +- `table_name` (required): A single table name for which you want to generate the base model. ### Usage: @@ -244,7 +244,7 @@ This bash script when executed from your local IDE will create model files in yo 2. Copy the macro into a statement tab into your local IDE, and run your code ```bash -source dbt_packages/codegen/bash_scripts/base_model_creation.sh "source_name" ["this-table","that-table"] +source dbt_packages/codegen/bash_scripts/base_model_creation.sh "source_name" "table_name" ``` ## generate_model_yaml ([source](macros/generate_model_yaml.sql))