Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions coldfront/plugins/slurmrest/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ def get_accounts(self) -> list[V0043Account]:
stop=stop_after_attempt(3),
retry=retry_if_not_exception_type(ConnectionError),
before_sleep=before_sleep_log(logging.getLogger(__name__), logging.WARNING),
retry_error_callback=lambda _: None, # move on to the next task
)
def delete_association_user_account(self, username: str, account: str, noop: bool = False) -> None:
if noop:
Expand Down Expand Up @@ -176,6 +177,7 @@ def delete_association_user_account(self, username: str, account: str, noop: boo
stop=stop_after_attempt(3),
retry=retry_if_not_exception_type(ConnectionError),
before_sleep=before_sleep_log(logging.getLogger(__name__), logging.WARNING),
retry_error_callback=lambda _: None, # move on to the next task
)
def delete_slurm_account(self, account: str, noop: bool = False) -> None:
if noop:
Expand Down
Loading