ResourceHandleProtocol¶
- class lsst.resources.ResourceHandleProtocol(*args, **kwargs)¶
-
Defines the interface protocol that is compatible with children of
BaseResourceHandle
.Any class that satisfies this protocol can be used in any context where a
BaseResourceHandle
is expected.Attributes Summary
Methods Summary
close
()fileno
()flush
()read
([size])readable
()readline
([size])readlines
([hint])seek
(offset[, whence])seekable
()tell
()truncate
([size])writable
()write
(b, /)writelines
(lines, /)Attributes Documentation
- closed¶
- isatty¶
- mode¶
- name¶
Methods Documentation