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

refator(basic): EnumMeta #26

Merged
merged 1 commit into from
Sep 22, 2024
Merged

refator(basic): EnumMeta #26

merged 1 commit into from
Sep 22, 2024

Conversation

Snoopy1866
Copy link
Owner

@Snoopy1866 Snoopy1866 commented Sep 22, 2024

自定义枚举的 __getitem__ 方法,使得通过字符串访问枚举成员时对大小写不敏感

自定义枚举的 __getitem__ 方法,使得通过字符串访问枚举成员时对大小写不敏感
@Snoopy1866 Snoopy1866 added the refactor This issue or pull request is about refactoring label Sep 22, 2024
Copy link

codecov bot commented Sep 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
src/pystatpower/basic.py 100.00% <100.00%> (ø)
tests/test_basic.py 100.00% <100.00%> (ø)

@Snoopy1866 Snoopy1866 merged commit 1b8e5b0 into main Sep 22, 2024
13 checks passed
@Snoopy1866 Snoopy1866 deleted the refactor branch September 22, 2024 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor This issue or pull request is about refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant