*jS S SK r S SKrS SKrS SKrS SKrS SKJrJrJrJ r J r JrJr S SKJ r Jr S SKJr \\\R" \ 4 r/ SQr " S S\ R( S9r " S S \5 r\ " S S\5 5 r " S S\5 rg) N)AnyBinaryIOIterableIteratorNoReturnTextOptional)runtime_checkableProtocol)Union)ResourceReaderTraversableTraversableResourcesc \ rS rSrSr\R S\S\4S j5 r \R S\S\4S j5 r \R S\S\4S j5 r\R S\ \ 4S j5 rS rg)r zDAbstract base class for loaders to provide resource reading support.resourcereturnc [ e)zReturn an opened, file-like object for binary reading. The 'resource' argument is expected to represent only a file name. If the resource cannot be found, FileNotFoundError is raised. FileNotFoundErrorselfr s >/opt/alt/python313/lib64/python3.13/importlib/resources/abc.py open_resourceResourceReader.open_resource s c [ e)zReturn the file system path to the specified resource. The 'resource' argument is expected to represent only a file name. If the resource does not exist on the file system, raise FileNotFoundError. r r s r resource_pathResourceReader.resource_path s r pathc [ e)zZReturn True if the named 'path' is a resource. Files are resources, directories are not. r r r s r is_resourceResourceReader.is_resource, s r c [ e)z+Return an iterable of entries in `package`.r r s r contentsResourceReader.contents4 s r N)__name__ __module____qualname____firstlineno____doc__abcabstractmethodr r r r boolr# r strr' __static_attributes__r) r r r r s N d x d t (3- r r ) metaclassc \ rS rSrSrg)TraversalError: r) N)r* r+ r, r- r3 r) r r r6 r6 : s r r6 c N \ rS rSrSr\R S\S 4S j5 rS\ 4S jr SS\\ S\4S jjr \R S\4S j5 r\R S\4S j5 rS\SS 4S jrS \SS 4S jr\R SS j5 r\\R S\4S j5 5 rSrg)r > z An object with a subset of pathlib.Path methods suitable for traversing directories and opening files. Any exceptions that occur when accessing the backing resource may propagate unaltered. r c g)z# Yield Traversable objects in self Nr) r&