flip_api.utils.formatters ========================= .. py:module:: flip_api.utils.formatters Functions --------- .. autoapisummary:: flip_api.utils.formatters.to_pascal_case Module Contents --------------- .. py:function:: to_pascal_case(snake_str: str) -> str Convert a snake_case string to PascalCase. This is needed for the UI to understand the permissions format. Example: CAN_ACCESS_ADMIN_PANEL -> CanAccessAdminPanel :param snake_str: The snake_case (or UPPER_SNAKE_CASE) string to convert. :type snake_str: str :returns: The input string converted to PascalCase. :rtype: str