Skip to content

Conversation

Kludex
Copy link
Member

@Kludex Kludex commented Sep 11, 2023

Selected Reviewer: @davidhewitt

@Kludex Kludex requested a review from lig September 11, 2023 09:27
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Sep 11, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: d3d862f
Status: ✅  Deploy successful!
Preview URL: https://03fbf76b.pydantic-docs2.pages.dev
Branch Preview URL: https://make-encodedstr-dataclass.pydantic-docs2.pages.dev

View logs

@Kludex
Copy link
Member Author

Kludex commented Sep 11, 2023

please review

@@ -1517,6 +1517,7 @@ def __hash__(self) -> int:
return hash(self.encoder)


@_dataclasses.dataclass()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we make it a slots dataclass like EncodeBytes?

Suggested change
@_dataclasses.dataclass()
@_dataclasses.dataclass(**_internal_dataclass.slots_true)

Co-authored-by: Hasan Ramezani <hasan.r67@gmail.com>
@Kludex
Copy link
Member Author

Kludex commented Sep 20, 2023

The pipeline is going to fail.

@adriangb adriangb enabled auto-merge (squash) September 20, 2023 09:29
@Kludex
Copy link
Member Author

Kludex commented Sep 20, 2023

@adriangb adriangb merged commit 3b297ad into main Sep 20, 2023
@adriangb adriangb deleted the make-EncodedStr-dataclass branch September 20, 2023 09:44
@davidhewitt davidhewitt added the relnotes-change Used for changes to existing functionality which don't have a better categorization. label Sep 21, 2023
@Viicos Viicos mentioned this pull request Mar 21, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for review relnotes-change Used for changes to existing functionality which don't have a better categorization.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants