Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pydata/xarray
/ _get_keep_attrs
Function
_get_keep_attrs
xarray/core/options.py:196–197 ·
view source on GitHub ↗
(default: bool)
Source
from the content-addressed store, hash-verified
194
195
196
def
_get_keep_attrs(default: bool) -> bool:
197
return
_get_boolean_with_default(
"keep_attrs"
, default)
198
199
200
class
set_options:
Callers
15
reduce
Method · 0.90
map
Method · 0.90
_unary_op
Method · 0.90
_binary_op
Method · 0.90
quantile
Method · 0.90
rank
Method · 0.90
pad
Method · 0.90
map
Method · 0.90
interp_na
Function · 0.90
clip
Method · 0.90
isnull
Method · 0.90
notnull
Method · 0.90
Calls
1
_get_boolean_with_default
Function · 0.85
Tested by
1
test_keep_attrs
Function · 0.72
Used in the wild
real call sites across dependent graphs
searching dependent graphs…