UserWarning: Field name "XXX" shadows an attribute in parent "XXX"
UserWarning: Field name "XXX" shadows an attribute in parent "XXX": a task in MiMo-V2.6-Code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). When I put a field with an assigned default value into a separated mix-in class (for reuse), and include it in another Pydantic module, it generates the…
The task
When I put a field with an assigned default value into a separated mix-in class (for reuse), and include it in another Pydantic module, it generates the following unexpected and annoying warning.
Part of openmodelai/MiMo-V2.6-Code.