Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dict type for Pydantic schema #246

Open
bogdanaks opened this issue Nov 1, 2023 · 0 comments
Open

Dict type for Pydantic schema #246

bogdanaks opened this issue Nov 1, 2023 · 0 comments

Comments

@bogdanaks
Copy link

bogdanaks commented Nov 1, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant