Miksus / red-bird

Repository Patterns for Python
https://red-bird.readthedocs.io
MIT License
163 stars 22 forks source link

Issue on page /versions.html #51

Closed nikolanenadovic closed 10 months ago

nikolanenadovic commented 10 months ago
from scheduler import app as app_rocketry

raise error:

raise PydanticUserError('`const` is removed, use `Literal` instead', code='removed-kwargs')
pydantic.errors.PydanticUserError: `const` is removed, use `Literal` instead

and it's in file: redbird/base.py, line 153

ordered: bool = Field(default=False, const=True)
nikolanenadovic commented 10 months ago

PR for this one already exist, just need to be approved and merget ATM. Will close this one.