MCPcopy
hub / github.com/Textualize/rich / null

Method null

rich/style.py:208–210  ·  view source on GitHub ↗

Create an 'null' style, equivalent to Style(), but more performant.

(cls)

Source from the content-addressed store, hash-verified

206
207 @classmethod
208 def null(cls) -> "Style":
209 """Create an 'null' style, equivalent to Style(), but more performant."""
210 return NULL_STYLE
211
212 @classmethod
213 def from_color(

Callers 13

test_emptyFunction · 0.80
test_without_colorFunction · 0.80
parseMethod · 0.80
renderMethod · 0.80
__init__Method · 0.80
decode_lineMethod · 0.80
get_style_for_tokenMethod · 0.80
__init__Method · 0.80
_get_number_stylesMethod · 0.80
__rich_console__Method · 0.80
get_row_styleMethod · 0.80
_renderMethod · 0.80

Calls

no outgoing calls

Tested by 2

test_emptyFunction · 0.64
test_without_colorFunction · 0.64