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

make units an enum #120

Merged
merged 4 commits into from
Dec 14, 2022
Merged

make units an enum #120

merged 4 commits into from
Dec 14, 2022

Conversation

nreinicke
Copy link
Collaborator

Updates the units in hive a bit to support more ways to represent units as strings. Now, units are converted from a string into an Unit enum. This was done to support some internal work to integrate routee powertrain.

Copy link
Collaborator

@robfitzgerald robfitzgerald left a comment

Choose a reason for hiding this comment

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

dig it, certainly helps a bit without adding any overhead. a typo fix request, and a request for a try/catch block lies in your future. 🐝

robfitzgerald
robfitzgerald previously approved these changes Dec 13, 2022
Copy link
Collaborator

@robfitzgerald robfitzgerald left a comment

Choose a reason for hiding this comment

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

good stuff, thanks nick!

@nreinicke
Copy link
Collaborator Author

@robfitzgerald - sorry! I pushed up a change right as you were approving the PR. Do you mind taking a super brief look at a2281be.

Copy link
Collaborator

@robfitzgerald robfitzgerald left a comment

Choose a reason for hiding this comment

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

def valid_commit

@nreinicke nreinicke merged commit 009d964 into main Dec 14, 2022
@nreinicke nreinicke deleted the ndr/improve_units branch December 14, 2022 20:51
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