MCPcopy Index your code
hub / github.com/pydata/xarray / inplace

Function inplace

xarray/util/generate_ops.py:201–210  ·  view source on GitHub ↗
(other_type: str, type_ignore: str = "")

Source from the content-addressed store, hash-verified

199
200
201def inplace(other_type: str, type_ignore: str = "") -> list[OpsType]:
202 extras = {"other_type": other_type}
203 return [
204 ([(None, None)], required_method_inplace, extras),
205 (
206 BINOPS_INPLACE,
207 template_inplace,
208 extras | {"type_ignore": _type_ignore(type_ignore)},
209 ),
210 ]
211
212
213def unops() -> list[OpsType]:

Callers 1

generate_ops.pyFile · 0.85

Calls 1

_type_ignoreFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…