Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pydata/xarray
/ encode_attribute
Method
encode_attribute
xarray/backends/common.py:477–479 ·
view source on GitHub ↗
encode one attribute
(self, a)
Source
from the content-addressed store, hash-verified
475
return
v
476
477
def
encode_attribute(self, a):
478
""
"encode one attribute"
""
479
return
a
480
481
def
prepare_variable(self, name, variable, check_encoding, unlimited_dims):
482
raise
NotImplementedError()
Callers
1
encode
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected