Quanlse/QPlatform/Utilities.py
def circuitLineLoad(base64str: str) -> Union[CircuitLine, List[CircuitLine]]:
    """
    Convert base64 string into CircuitLine objects.
    
    :param base64str: input base64 string
    :return: returned CircuitLine object
    """
    byteStr = base64.b64decode(base64str.encode())
    obj = pickle.loads(byteStr)  # type: Union[CircuitLine, List[CircuitLine]]
    return obj

    Convert base64 string into CircuitLine objects.
    
    :param base64str: input base64 string
    :return: returned CircuitLine object
    
Convert base64 string into CircuitLine objects.
Convert base64 string into CircuitLine objects .
def circuitLineLoad(base64str: str) -> Union[CircuitLine, List[CircuitLine]]:
    byteStr = base64.b64decode(base64str.encode())
    obj = pickle.loads(byteStr)  
    return obj
def circuitLineLoad ( base64str : str ) -> Union [ CircuitLine , List [ CircuitLine ] ] : byteStr = base64 . b64decode ( base64str . encode ( ) ) obj = pickle . loads ( byteStr ) return obj
Convert base64 string into CircuitLine objects.
Convert base64 string into CircuitLine objects .
"""
    Convert base64 string into CircuitLine objects.
    
    :param base64str: input base64 string
    :return: returned CircuitLine object
    """ # type: Union[CircuitLine, List[CircuitLine]]
returned CircuitLine object
returned CircuitLine object
base64str
str
input base64 string
input base64 string