Skip to content

Dict type for Pydantic schema #246

Description

@bogdanaks

Hello, i cant use type Dict from typing
I get the error NotImplementedError: Unsupported type: typing.Dict[str, str]

And also if i use (class) dict, i get error Input should be a valid string [type=string_type, input_value={'English': 'B1', 'Russian': 'NATIVE'}, input_type=dict]

How can I use this type to construct an object with previously unknown keys and values?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions