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.
I believe
OBSFileis intended to implement theio.IOBaseinterface (https://docs.python.org/3/library/io.html#io.IOBase), but it does not implementseekable,readable, andwriteable. Additionally, it does not subclass the io.IOBase interface, although it seems like it should.