You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
frompydanticimportBaseModel, FieldclassFoo(BaseModel):
api_version: str=Field(regex=r'^\d+\.\d+\..+$',
description="Semantic API version number.")
f=Foo(api_version='1.0.0')
The text was updated successfully, but these errors were encountered:
regex is replaced by pattern when migrating from v1 to v2docs. Atm, pygeoapi relies only to pydantic v1 while we are waiting for the debian package for v2 (the one based on rust)
As discussed at FOSS4G Europe 2024 with @EdwardBetts and @pantierra (in support of pygeoapi on Debian):
https://hachyderm.io/@edward/112728302761775798
@EdwardBetts @pantierra can you confirm the Debian version?
On jammy (our current baseline):
And a small script to test/reproduce (Debian sid):
docker run -it debian:sid apt update -y && apt install python3-pydantic
The text was updated successfully, but these errors were encountered: