▲ | jmogly 5 days ago | |
Haha, ChatGPT recommends this: from pydantic import BaseModel class MyModel(BaseModel): name: str
| ||
▲ | gostsamo 4 days ago | parent [-] | |
Yep, and when you are done migrating, you need to remove this, and there is pydantic3 coming. Keeping in mind the number of libraries nad microservices involved, search and replace was the easier option. PS: thank you, I can think on my own and even failing that, chat gpt is not in closed beta any more. |