i_vis/core/file_utils.py
def read_query(fname: str) -> str:
    """Read a query from file.

    Read query and remove all white space between tags.

    Args:
        fname: Filename tor read.

    Returns:
        Read query.
    """
    with open(fname, "r") as file:
        s = file.read()
        return re.sub(r"\s+(?=<)", "", s)
Read a query from file.

    Read query and remove all white space between tags.

    Args:
        fname: Filename tor read.

    Returns:
        Read query.
    
Read a query from file.
Read query and remove all white space between tags.
Read a query from file . Read query and remove all white space between tags .
def read_query(fname: str) -> str:
    with open(fname, "r") as file:
        s = file.read()
        return re.sub(r"\s+(?=<)", "", s)
def read_query ( fname : str ) -> str : with open ( fname , "r" ) as file : s = file . read ( ) return re . sub ( r"\s+(?=<)" , "" , s )
Read a query from file.
Read a query from file .
"""Read a query from file.

    Read query and remove all white space between tags.

    Args:
        fname: Filename tor read.

    Returns:
        Read query.
    """
None
fname
str
Filename tor read.
Filename tor read .