Subham-KRLX commented on issue #63982:
URL: https://github.com/apache/airflow/issues/63982#issuecomment-4097738310

   I have identified the root cause of this and opened a PR to fix it here: 
#63986.
   **For context**: The crash was happening because the API's Hook metadata 
extractor was temporarily mocking the global `BS3TextFieldWidget` class using 
`unittest.mock.patch`. If a user visited the FAB pages at the exact same time 
the API ran this extraction, `super()` inside FAB evaluated against the 
temporary mock instead of the real base class, causing the `TypeError`.
   The PR removes the non-thread-safe global mocking and natively extracts the 
UI metadata straight from the WTForms `UnboundField`, fully resolving the 
crash. 
   


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