Skip to content

pydantic.errors.PydanticUserError: const is removed, use Literal instead #225

@yosephmi

Description

@yosephmi

Describe the bug
When importing: from from rocketry import Rocketry receiving bug:

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

For further information visit https://errors.pydantic.dev/2.4/u/removed-kwargs

To Reproduce
Steps to reproduce the behavior.

Expected behavior
Import to succeed

  • OS: Windows
  • Python version 3.9.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions