Skip to content

asaf.utils

Utility functions for the ASAF package.

quote

quote(string: str) -> str

Quotes a string with single quotes.

Source code in src/asaf/utils.py
5
6
7
def quote(string: str) -> str:
    """Quotes a string with single quotes."""
    return f"'{string}'"

options: filters: ["!^_"]