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

Add more typing around scale-in decision state #3119

Merged
merged 2 commits into from
Mar 5, 2024

Conversation

benclifford
Copy link
Collaborator

Use a typed dataclass with human readable names, instead of a numerically index list for the decision state itself, and add type anontations on the method signature.

Changed Behaviour

This is intended to make some of the decision code easier to read and typecheck, but should not change behaviour.

Type of change

  • Update to human readable text: Documentation/error messages/comments
  • Code maintenance/cleanup

Use a typed dataclass with human readable names, instead of a numerically
index list for the decision state itself, and add type anontations on the
method signature.

This is intended to make some of the decision code easier to read and
typecheck, but should not change behaviour.
Copy link
Collaborator

@khk-globus khk-globus left a comment

Choose a reason for hiding this comment

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

Nice.

Copy link
Collaborator

@khk-globus khk-globus left a comment

Choose a reason for hiding this comment

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

Nice.

@benclifford benclifford merged commit 23a8c70 into master Mar 5, 2024
6 checks passed
@benclifford benclifford deleted the benc-ghent-scalein-names branch March 5, 2024 13:20
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