![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|


Public Member Functions | |
| None | __init__ (self, Any obj, *Optional[TextType] title=None, bool help=False, bool methods=False, bool docs=True, bool private=False, bool dunder=False, bool sort=True, bool all=True, bool value=True) |
| Panel | __rich__ (self) |
Public Attributes | |
| highlighter | |
| obj | |
| title | |
| help | |
| methods | |
| docs | |
| private | |
| dunder | |
| sort | |
| value | |
Protected Member Functions | |
| Text | _make_title (self, Any obj) |
| Optional[Text] | _get_signature (self, str name, Any obj) |
| Iterable[RenderableType] | _render (self) |
| Optional[str] | _get_formatted_doc (self, Any object_) |
Protected Member Functions inherited from pip._vendor.rich.jupyter.JupyterMixin | |
| Dict[str, str] | _repr_mimebundle_ ("ConsoleRenderable" self, Sequence[str] include, Sequence[str] exclude, **Any kwargs) |
A renderable to inspect any Python Object.
Args:
obj (Any): An object to inspect.
title (str, optional): Title to display over inspect result, or None use type. Defaults to None.
help (bool, optional): Show full help text rather than just first paragraph. Defaults to False.
methods (bool, optional): Enable inspection of callables. Defaults to False.
docs (bool, optional): Also render doc strings. Defaults to True.
private (bool, optional): Show private attributes (beginning with underscore). Defaults to False.
dunder (bool, optional): Show attributes starting with double underscore. Defaults to False.
sort (bool, optional): Sort attributes alphabetically. Defaults to True.
all (bool, optional): Show all attributes. Defaults to False.
value (bool, optional): Pretty print value of object. Defaults to True.
|
protected |
Extract the docstring of an object, process it and returns it.
The processing consists in cleaning up the doctring's indentation,
taking only its 1st paragraph if `self.help` is not True,
and escape its control codes.
Args:
object_ (Any): the object to get the docstring from.
Returns:
Optional[str]: the processed docstring, or None if no docstring was found.
|
protected |
Get a signature for a callable.
|
protected |
Make a default title.
|
protected |
Render object.