This is an automated email from the ASF dual-hosted git repository.

mobuchowski pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new fba682b1a5 Remove ClassVar annotations. (#36084)
fba682b1a5 is described below

commit fba682b1a54a7936e955be1dbfae8e0e6f7a9443
Author: Jakub Dardzinski <kuba0...@gmail.com>
AuthorDate: Wed Dec 6 15:16:27 2023 +0100

    Remove ClassVar annotations. (#36084)
    
    Signed-off-by: Jakub Dardzinski <kuba0...@gmail.com>
---
 airflow/providers/openlineage/plugins/facets.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/airflow/providers/openlineage/plugins/facets.py 
b/airflow/providers/openlineage/plugins/facets.py
index b50db6c267..4037b9026a 100644
--- a/airflow/providers/openlineage/plugins/facets.py
+++ b/airflow/providers/openlineage/plugins/facets.py
@@ -28,7 +28,7 @@ class AirflowMappedTaskRunFacet(BaseFacet):
     mapIndex: int
     operatorClass: str
 
-    _additional_skip_redact: list[str] = ["operatorClass"]
+    _additional_skip_redact = ["operatorClass"]
 
     @classmethod
     def from_task_instance(cls, task_instance):
@@ -63,7 +63,7 @@ class UnknownOperatorInstance(RedactMixin):
     properties: dict[str, object]
     type: str = "operator"
 
-    _skip_redact: list[str] = ["name", "type"]
+    _skip_redact = ["name", "type"]
 
 
 @define(slots=False)

Reply via email to