src.utils.assert_valid_uuid_list¶
- src.utils.assert_valid_uuid_list(whitelist: str | None) str | None¶
Check the uuid list provided is a list of valid uuid’s or an empty string.
- Parameters:
whitelist – A comma separated list of uuid’s.
- Raises:
AssertionError – If any of the uuid’s in the list are not valid uuid’s.
- Returns:
The whitelist if it is a list of valid uuid’s or an empty string.