def deserialize(s: str) -> Serializable:
    """
    Returns a new instance of the class represented by the string.
    """
    (f, args, kwargs) = pickle.loads(base64.b64decode(s.encode()))  # noqa: S301
    return f(*args, **kwargs)

    Returns a new instance of the class represented by the string.
    
src/datachain/data_storage/serializer.py