skrawcz opened a new issue, #652:
URL: https://github.com/apache/burr/issues/652

   Need to drop usage of model_fields:
   
   # Current behavior
   
   >   /.../python3.11/site-packages/burr/integrations/pydantic.py:37: 
PydanticDeprecatedSince211: Accessing the 'model_fields' attribute on the 
instance is deprecated. Instead, you should access this attribute from the 
model class. Deprecated in Pydantic V2.11 to be removed in V3.0.
            keys = model.model_fields.keys()
   
   
   ## Steps to replicate behavior
   1. Use pydantic 2.11+
   2. You'll see this warning.
   
   ## Library & System Information
   python 3.11
   pydantic 2.11
   
   
   # Expected behavior
   we dont see this warning and things work.
   
   # Additional context
   We should set a minimum pin once we do this change.
   


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