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

Function names

xarray/testing/strategies.py:118–132  ·  view source on GitHub ↗

Generates arbitrary string names for dimensions / variables. Requires the hypothesis package to be installed. See Also -------- :ref:`testing.hypothesis`_

()

Source from the content-addressed store, hash-verified

116
117
118def names() -> st.SearchStrategy[str]:
119 """
120 Generates arbitrary string names for dimensions / variables.
121
122 Requires the hypothesis package to be installed.
123
124 See Also
125 --------
126 :ref:`testing.hypothesis`_
127 """
128 return st.text(
129 _readable_characters,
130 min_size=1,
131 max_size=5,
132 )
133
134
135def dimension_names(

Callers 4

drop_varsMethod · 0.85
drop_varsMethod · 0.85
dimension_namesFunction · 0.85
dimension_sizesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…