AhmedAli58 opened a new pull request, #62124:
URL: https://github.com/apache/airflow/pull/62124

   ## What
   Fix `qualname(..., exclude_module=True)` so `functools.partial` returns the 
wrapped callable's qualified name instead of `partial`.\n\n## Why\nThe shared 
module loading tests currently fail because partial callables can resolve to 
the type name (`partial`) instead of the wrapped function's qualname.\n\n## 
How\n- Add an early `functools.partial` guard in `qualname()` before 
module/name checks\n- Reuse existing wrapped callable resolution path\n\n## 
Verification\n`PYTHONPATH=shared/module_loading/src python3 -m pytest -q 
shared/module_loading/tests`\n- 23 passed


-- 
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]

Reply via email to