Skip to content

Refactor validate_mac_address method #294

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

Merged
merged 1 commit into from
Mar 5, 2025

Conversation

eumiro
Copy link
Contributor

@eumiro eumiro commented Mar 3, 2025

Rewrite the validate_mac_address method to validate and convert the mac address more descriptively. The bytearray has been replaced by a string and a list of integers. No change of functionality.

@eumiro eumiro force-pushed the refactor-mac-address branch from f699cf5 to 0334613 Compare March 3, 2025 20:26
@eumiro eumiro force-pushed the refactor-mac-address branch from 0334613 to 88568e5 Compare March 3, 2025 20:27
Copy link
Collaborator

@yezz123 yezz123 left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@yezz123 yezz123 merged commit 990912c into pydantic:main Mar 5, 2025
10 checks passed
@eumiro eumiro deleted the refactor-mac-address branch March 5, 2025 18:33
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.

2 participants