flip.utils.utils

Utility functions for FLIP.

Classes

Utils

Utility class with static helper methods.

Module Contents

class flip.utils.utils.Utils[source]

Utility class with static helper methods.

static is_valid_uuid(val) bool[source]

Check if a value is a valid UUID.

Parameters:

val – Value to check (will be converted to string)

Returns:

bool – True if valid UUID, False otherwise

static is_string_empty(val: str) bool[source]

Check if a string is empty or contains only whitespace.

Parameters:

val – String to check

Returns:

bool – True if empty or whitespace-only, False otherwise