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

fix(TransportScheme): Add http transport used in opennetzteil and use StrEnum #564

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

emedav
Copy link
Contributor

@emedav emedav commented Jul 26, 2024

Makes TransportScheme a subclass of StrEnum in order to get the enumeration's actual values when calling str() on instances of the class.

Also adds "http" as value to the enum as otherwise support for some power supplies is broken.

@emedav emedav requested review from rumpelsepp and peckto as code owners July 26, 2024 13:30
@rumpelsepp rumpelsepp self-requested a review July 28, 2024 11:31
@emedav emedav merged commit deff43b into master Jul 29, 2024
14 checks passed
@emedav emedav deleted the fix-transportscheme-strenum branch July 29, 2024 07:53
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.

3 participants