yml syntax to tag all table from a source

I need some help. I want to tag all tables from a source, i use these syntax in my _stg_sources.yml:

  - name: my_source
	project: "my-project"
      tags: ['top_level', 'documented']
    description: "awesome source of data"
	dataset: source_dataset

But it does not work. The functionnality seems yo exist : Tags for sources and columns (#1906, #1586) by beckjake · Pull Request #2039 · dbt-labs/dbt-core (github.com)
I think I missing something but what ?

  - name: my_source
    tags: ['top_level','documented']

run tag:

dbt run  -s tag:top_level, documented

Thanks . It works fine.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.