Tarkennettu haku
trixie  ] [  forky  ] [  sid  ]
[ Source: pydantic-compat  ]

Paketti: python3-pydantic-compat (0.1.2-3)

Links for python3-pydantic-compat

Screenshot

Debian-palvelut:

Imuroi lähdekoodipaketti pydantic-compat:

Ylläpitäjät:

External Resources:

Samankaltaisia paketteja:

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.

Muut pakettiin python3-pydantic-compat liittyvät paketit

  • depends
  • recommends
  • suggests
  • enhances

Imuroi python3-pydantic-compat

Imurointi kaikille saataville arkkitehtuureille
Arkkitehtuuri Paketin koko Koko asennettuna Tiedostot
all 13.7 kt56.0 kt [tiedostoluettelo]