Beispiel #1
0
def close_file(file_id):
    from kervi.spine import Spine
    spine = Spine()

    spine.stream_data(file_id, "FILE_CLOSE", b"")
Beispiel #2
0
def write_file(source, file_id, data_io, metadata=None):
    from kervi.spine import Spine
    spine = Spine()

    spine.stream_data(file_id, "FILE_CHUNK", data_io)