BaseResourceHandle#

class lsst.resources._resourceHandles._baseResourceHandle.BaseResourceHandle(mode: str, log: logging.Logger, uri: ResourcePath, *, newline: AnyStr | None = None)#

Bases: ABC, ResourceHandleProtocol[U]

Base class interface for the handle like interface of ResourcePath subclasses.

Parameters#

modestr

Handle modes as described in the python io module.

logLogger

Logger to used when writing messages.

urilsst.resources.ResourcePath

The URI of the resource being opened.

newlinestr

When doing multiline operations, break the stream on given character Defaults to newline.

Notes#

Documentation on the methods of this class line should refer to the corresponding methods in the io module.

Attributes Summary

Attributes Documentation

mode#
name#