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

Method copy

rich/console.py:147–155  ·  view source on GitHub ↗

Return a copy of the options. Returns: ConsoleOptions: a copy of self.

(self)

Source from the content-addressed store, hash-verified

145 return not self.encoding.startswith("utf")
146
147 def copy(self) -> "ConsoleOptions":
148 """Return a copy of the options.
149
150 Returns:
151 ConsoleOptions: a copy of self.
152 """
153 options: ConsoleOptions = ConsoleOptions.__new__(ConsoleOptions)
154 options.__dict__ = self.__dict__.copy()
155 return options
156
157 def update(
158 self,

Callers 6

updateMethod · 0.95
update_widthMethod · 0.95
update_heightMethod · 0.95
reset_heightMethod · 0.95
update_dimensionsMethod · 0.95
get_styleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected