File tree Expand file tree Collapse file tree
airflow-core/docs/authoring-and-scheduling/language-sdks Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -206,11 +206,11 @@ Implement the ``Task`` interface directly for full control over how tasks are re
206206read.
207207
208208The runner creates a fresh instance of the task class through reflection for every task-instance run,
209- which puts three constraints on the class. It must be :
209+ which puts three constraints on the class:
210210
211- * Concrete : not abstract and not an interface.
212- * A public no-argument constructor.
213- * If nested inside another class, it must be ``static `` class.
211+ * It must be concrete : not abstract and not an interface.
212+ * It must declare a public no-argument constructor.
213+ * If nested inside another class, it must be a ``static `` nested class.
214214
215215A class that violates any of these fails at runtime with a ``Cannot instantiate task class `` error in the
216216task log.
You can’t perform that action at this time.
0 commit comments