Skip to content

BranchDayOfWeekOperator documentation don't mention how to use parameter use_taks_execution_day or how to use WeekDay #26071

@cra

Description

@cra

What do you see as an issue?

The constructor snippet shows clearly that there's a keyword parameter use_task_exection_day=False, but the doc does not explain how to use it. It also has {WeekDay.TUESDAY}, {WeekDay.SATURDAY, WeekDay.SUNDAY} as options for week_day but does not clarify how to import WeekDay. The tutorial is also very basic and only shows one usecase. The sensor has the same issues.

Solving the problem

I think docs should be added for use_taks_execution_day and there should be mentions of how one uses WeekDay class and where to import it from. The tutorial is also incomplete there. I would like to see examples for, say, multiple different workdays branches and/or some graph for resulting dags

Anything else

I feel like BranchDayOfWeekOperator is tragically underrepresented and hard to find, and I hope that improving docs would help make its use more common

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions