ksuit.utils.common.validation¶
Functions¶
Converts floats without decimals to int. |
|
|
Checks if exactly one of the arguments is not None. |
|
Checks if either all arguments are not None or if all are None. |
|
Checks if at least one of the arguments is not None. |
|
Checks if at most one of the arguments is not None. |
|
Checks if all arguments are None. |
Module Contents¶
- ksuit.utils.common.validation.float_to_integer_exact(f)¶
Converts floats without decimals to int.
- ksuit.utils.common.validation.check_exclusive(*args)¶
Checks if exactly one of the arguments is not None.
- Parameters:
args (Any)
- Return type:
- ksuit.utils.common.validation.check_inclusive(*args)¶
Checks if either all arguments are not None or if all are None.
- Parameters:
args (Any)
- Return type:
- ksuit.utils.common.validation.check_at_least_one(*args)¶
Checks if at least one of the arguments is not None.
- Parameters:
args (Any)
- Return type:
- ksuit.utils.common.validation.check_at_most_one(*args)¶
Checks if at most one of the arguments is not None.
- Parameters:
args (Any)
- Return type: