WriteableFileLike#
- class astropy.io.typing.WriteableFileLike(*args, **kwargs)[source]#
 Bases:
Protocol[_T_contra]A file-like object that supports writing with a method
write.This is a
Protocolthat can be used to annotate file-like objects. It is also runtime-checkable and can be used withisinstance(). Seeruntime_checkable()for more information about how runtime checking with Protocols works.Methods Summary
write(data)Methods Documentation