Skip to content

Conversation

@QuanMPhm
Copy link
Contributor

@QuanMPhm QuanMPhm commented Apr 3, 2025

As a small improvement, this will make tasks.UNIT_QUOTA_MULTIPLIERS the source of truth for what quota attributes any given allocation should have, making the code a bit easier to manage. This will also somewhat simplify the coding required to add the Openshift Virtualization resource type.

Copy link
Collaborator

@knikolla knikolla left a comment

Choose a reason for hiding this comment

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

Besides my 1 comment, looks good.

@QuanMPhm QuanMPhm force-pushed the refactor/validate_allo branch 2 times, most recently from f2f5ab2 to 07add14 Compare May 6, 2025 15:51
@QuanMPhm QuanMPhm requested a review from knikolla May 6, 2025 16:15
when determining what attributes an allocation should have

This is done by a function `get_expected_attributes` in `tasks.py`
to fetch the list of expected attributes
@QuanMPhm QuanMPhm force-pushed the refactor/validate_allo branch from 07add14 to 9242463 Compare May 6, 2025 20:37
@QuanMPhm QuanMPhm merged commit c9ef7a1 into nerc-project:main May 7, 2025
6 checks passed
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