[Python] How to import Airflow's PostgresOperator

Discussão em 'Python' iniciado por Stack, Março 13, 2025.

  1. Stack

    Stack Membro Participativo

    I'm trying to import the PostgresOperator from the airflow package:

    from airflow.providers.postgres.operators.postgres import PostgresOperator


    But I'm getting the following error: Cannot find reference 'postgres' in imported module airflow.providers.

    Continue reading...

Compartilhe esta Página