Skip to content

Conversation

GabrielCappelli
Copy link
Contributor

@GabrielCappelli GabrielCappelli commented Aug 22, 2023

Change Summary

Moves is_pydantic_dataclass function from _internals to public api in pydantic.dataclasses.
Adds unit test for is_pydantic_dataclass.

Related issue number

fix #7207

Checklist

  • The pull request title is a good summary of the changes - it will be used in the changelog
  • Unit tests for the changes exist
  • Tests pass on CI
  • Documentation reflects the changes where applicable
  • My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

Selected Reviewer: @adriangb

Move is_pydantic_dataclass to pydantic.dataclasses
Add test for is_pydantic_dataclass
Add documentation for is_pydantic_dataclass
@GabrielCappelli GabrielCappelli force-pushed the make_is_pydantic_dataclass_public branch from 2255d4e to 2fe4aff Compare August 22, 2023 16:51
@GabrielCappelli
Copy link
Contributor Author

please review

@pydantic-hooky pydantic-hooky bot added awaiting author revision awaiting changes from the PR author and removed ready for review labels Aug 22, 2023
@pydantic-hooky pydantic-hooky bot assigned GabrielCappelli and unassigned adriangb Aug 22, 2023
…_schema

Co-authored-by: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com>
@GabrielCappelli
Copy link
Contributor Author

please review

@pydantic-hooky pydantic-hooky bot added ready for review and removed awaiting author revision awaiting changes from the PR author labels Aug 24, 2023
@pydantic-hooky pydantic-hooky bot assigned adriangb and unassigned GabrielCappelli Aug 24, 2023
@adriangb
Copy link
Member

please fix conflicts, otherwise LGTM!

@adriangb adriangb enabled auto-merge (squash) August 24, 2023 14:34
@adriangb adriangb merged commit 26f0eab into pydantic:main Aug 24, 2023
@GabrielCappelli
Copy link
Contributor Author

please fix conflicts, otherwise LGTM!

Thank you very much! 😄

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

Successfully merging this pull request may close these issues.

Add is_pydantic_dataclass to public API
2 participants