Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/pydata/xarray
/ __post_init__
Method
__post_init__
xarray/util/generate_aggregations.py:377–380 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
375
preamble: str = field(init=False)
376
377
def
__post_init__(self):
378
self.preamble = self.definition_preamble.format(
379
obj=self.datastructure.name, cls=self.cls
380
)
381
382
def
generate_methods(self):
383
yield
[self.preamble]
Callers
nothing calls this directly
Calls
1
format
Method · 0.45
Tested by
no test coverage detected