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
class CollectionItemFieldData(pydantic.BaseModel):
name: typing.Optional[str] = pydantic.Field(description="Name of the Item")
slug: typing.Optional[str] = pydantic.Field(
description="URL structure of the Item in your site. Note: Updates to an item slug will break all links referencing the old slug."
)
The text was updated successfully, but these errors were encountered:
For anyone interested. Here is a temporary workaround..
# Monkey patch CollectionItemFieldData to support extra config (necessary to
# retrieve pydantic.Extra.allow reference from same pydantic reference used by
# webflow)
try:
import pydantic.v1 as pydantic
except ImportError:
import pydantic
from webflow import CollectionItemFieldData
CollectionItemFieldData.Config.extra = pydantic.Extra.allow
Only
name
andslug
are available.The text was updated successfully, but these errors were encountered: