I believe OBSFile is intended to implement the io.IOBase interface (https://docs.python.org/3/library/io.html#io.IOBase), but it does not implement seekable, readable, and writeable. Additionally, it does not subclass the io.IOBase interface, although it seems like it should.