Paquet : python3-pydantic-compat (0.1.2-3)
Liens pour python3-pydantic-compat
Ressources Debian :
- Rapports de bogues
- Developer Information
- Journal des modifications Debian
- Fichier de licence
- Suivis des correctifs pour Debian
Télécharger le paquet source pydantic-compat :
- [pydantic-compat_0.1.2-3.dsc]
- [pydantic-compat_0.1.2.orig.tar.gz]
- [pydantic-compat_0.1.2-3.debian.tar.xz]
Responsables :
Ressources externes :
- Page d'accueil [github.com]
Paquets similaires :
Compatibility layer for pydantic v1/v2
Pydantic 2 was a major release that completely changed the pydantic API.
For applications, this is not a big deal, as they can pin to whatever version of pydantic they need. But for libraries that want to exist in a broader environment, pinning to a specific version of pydantic is not always an option (as it limits the ability to co-exist with other libraries).
This package provides (unofficial) compatibility mixins and function adaptors for pydantic v1-v2 cross compatibility. It allows you to use either v1 or v2 API names, regardless of the pydantic version installed. (Prefer using v2 names when possible).
Tests are run on Pydantic v1.8 and up
The API conversion is not exhaustive, but suffices for many use cases.
Autres paquets associés à python3-pydantic-compat
|
|
|
|
-
- dep: python3
- langage orienté objet interactif de haut niveau – version par défaut de Python 3
-
- dep: python3-pydantic
- Data validation and settings management using Python type hinting
Télécharger python3-pydantic-compat
Architecture | Taille du paquet | Espace occupé une fois installé | Fichiers |
---|---|---|---|
all | 13,7 ko | 56,0 ko | [liste des fichiers] |