ashb commented on code in PR #47069:
URL: https://github.com/apache/airflow/pull/47069#discussion_r1972175161
##########
providers/microsoft/azure/src/airflow/providers/microsoft/azure/operators/msgraph.py:
##########
@@ -60,7 +60,7 @@ def execute_callable(
message: str,
) -> Any:
try:
- return func(value, **context) # type: ignore
+ return func(value, **dict(context.items())) # type: ignore
Review Comment:
This does avoid deprecation warnings, but it potentially computes also
copies _a lot_ of relatively expensive things that shouldn't really be needed.
I'm not that familiar with this provider though -- but what's going on here?
--
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]