The problem I’m having
I want to execute python model created in dbt core
The context of why I’m trying to do this
I created a sample file with name my_first_python as below:
import pandas as pd
def model(dbt,session):
my_py_1= dbt.source('src_int','table1')
return my_py_1
And my config.yml contains below :
version: 3
models:
- name: my_first_python
config:
materialized: table
tags: ['python']
What I’ve already tried
I am trying to execute the code with command : dbt run --select my_first_python
But facing issue :
The selection criterion ‘my_first_python’ does not match any nodes
Nothing to do. Try checking your model configs and model specification args