dabla commented on code in PR #47069:
URL: https://github.com/apache/airflow/pull/47069#discussion_r1972248901
##########
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:
It's indeed slower than doing **dict(context), but then I doesn't resolve
the deprecation warnings. **dict(context.items() is still a shallow copy
normally.
--
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]