Skip to content

Fix AzureDataFactoryPipelineRunLink UI link generation#30514

Merged
potiuk merged 1 commit into
apache:mainfrom
hussein-awala:fix/data_factory_ui_link
Apr 8, 2023
Merged

Fix AzureDataFactoryPipelineRunLink UI link generation#30514
potiuk merged 1 commit into
apache:mainfrom
hussein-awala:fix/data_factory_ui_link

Conversation

@hussein-awala

Copy link
Copy Markdown
Member

closes: #30504


In the extra_links route, we are using the method dag.get_task to get the task:

task: AbstractOperator = dag.get_task(task_id)

knowing that the dag contains a dict of SerializedBaseOperator instead of BaseOperator.

In AzureDataFactoryPipelineRunLink, a check on the operator type was added to fix the static checks, but this condition is always False, because the provided operator is an instance of SerializedBaseOperator. To fix this I just remove the check for now as we do for the other link classes, but we need to refacto all the typing part and the methods signatures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pipeline run URL is empty for AzureDataFactoryRunPipelineOperator

3 participants