Mint: Use Pydantic
validated BaseModel
for Lightning API responses
#620
Labels
Pydantic
validated BaseModel
for Lightning API responses
#620
Currently, this is our pattern throughout the lightning backends:
We should make use of pydantic and predefine all expected response models from the Lightning backends so we can automatically validate the response. This would get rid of a lot of boilerplate and error checking in the code and make things a lot more robust and less prone to human errors.
The text was updated successfully, but these errors were encountered: