[Python] Airflow triggered params: How to put empty string for an optional parameter?

Discussão em 'Python' iniciado por Stack, Maio 30, 2025.

  1. Stack

    Stack Membro Participativo

    Let's say i want an optional param (triggered with config) that can be empty or some string:

    Param("", type=["null", "string"])

    If I leave it empty it will be rendered as None which is not what I expect. Why is such a basic usecase impossible ? Am I missing something ?

    Continue reading...

Compartilhe esta Página