dstandish commented on code in PR #27047:
URL: https://github.com/apache/airflow/pull/27047#discussion_r1002847963
##########
airflow/providers/microsoft/azure/hooks/data_factory.py:
##########
@@ -113,6 +116,23 @@ class
AzureDataFactoryPipelineRunException(AirflowException):
"""An exception that indicates a pipeline run failed to complete."""
+def get_field(extras: dict, field_name: str, strict: bool = False):
+ """Get field from extra, first checking short name, then for backcompat we
check for prefixed name."""
+ backcompat_prefix = "extra__azure_data_factory__"
+ if field_name.startswith("extra_"):
Review Comment:
```suggestion
if field_name.startswith("extra__"):
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]