MCPcopy Index your code
hub / github.com/numpy/numpy / keys

Method keys

numpy/lib/_datasource.py:128–145  ·  view source on GitHub ↗

Return the keys of currently supported file openers. Parameters ---------- None Returns ------- keys : list The keys are None for uncompressed files and the file extension strings (i.e. ``'.gz'``, ``'.xz'``) for suppo

(self)

Source from the content-addressed store, hash-verified

126 self._loaded = True
127
128 def keys(self):
129 """
130 Return the keys of currently supported file openers.
131
132 Parameters
133 ----------
134 None
135
136 Returns
137 -------
138 keys : list
139 The keys are None for uncompressed files and the file extension
140 strings (i.e. ``'.gz'``, ``'.xz'``) for supported compression
141 methods.
142
143 """
144 self._load()
145 return list(self._file_openers.keys())
146
147 def __getitem__(self, key):
148 self._load()

Callers 2

_iszipMethod · 0.45
_possible_namesMethod · 0.45

Calls 1

_loadMethod · 0.95

Tested by

no test coverage detected