Skip to content

Get Operators subclassing SkipMixin working with Task SDK #45823

@kaxil

Description

@kaxil

The following classes sub-class airflow.models.skipmixin:SkipMixin which directly access DB.

  • BranchMixIn (which is further used in BaseBranchOperator, BranchPythonOperator,BranchDateTimeOperator, LatestOnlyOperator etc
  • BaseSensorOperator
  • BranchSQLOperator
  • ShortCircuitOperator

To make it work with Task SDK and isolate the DB, we will have to remove the inheritance of these operators from SkipMixin and instead route these operations to the API Server from the worker.

Image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions