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

feat: add support for object type #3062

Merged
merged 1 commit into from Sep 4, 2021

Conversation

PrettyWood
Copy link
Member

@PrettyWood PrettyWood commented Aug 6, 2021

Change Summary

Allow to write something like

class Model(BaseModel):
    metadata: dict[str, object]

Related issue number

/

Checklist

  • Unit tests for the changes exist
  • Tests pass on CI and coverage remains at 100%
  • Documentation reflects the changes where applicable
  • changes/<pull request or issue id>-<github username>.md file added describing change
    (see changes/README.md for details)
  • My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

@PrettyWood PrettyWood changed the title feat: handle object type feat: add support for object type Aug 6, 2021
@PrettyWood PrettyWood merged commit f5a9f4f into pydantic:master Sep 4, 2021
jpribyl pushed a commit to liquet-ai/pydantic that referenced this pull request Oct 7, 2021
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

Successfully merging this pull request may close these issues.

None yet

1 participant