potiuk commented on code in PR #47069:
URL: https://github.com/apache/airflow/pull/47069#discussion_r1976658813
##########
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:
Maybe better way would be to suppress warnings around that call? That will
be certainly cheaper. I also fear that some context items might be expensive or
sometimes even problematic to copy and might cause some side effects.
--
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]