cosapp.tools.help¶
Tool to print the description of a CoSApp object.
Functions
|
Display information for Driver, System or Port in a Jupyter notebook. |
Classes
|
Helper class to print nicely information about CoSApp classes. |
Visitor collecting and reformatting Markdown representations of systems and ports. |
-
class
cosapp.tools.help.DocDisplay(obj: Union[type, cosapp.ports.port.BasePort, cosapp.core.module.Module])[source]¶ Bases:
objectHelper class to print nicely information about CoSApp classes.
-
classmethod
display_doc(obj: Union[type, cosapp.ports.port.BasePort, cosapp.core.module.Module]) → cosapp.tools.help.DocDisplay[source]¶ Display information for Driver, System or Port in a Jupyter notebook.
- Parameters
obj (Any) – Object of interest
-
classmethod
-
class
cosapp.tools.help.DocVisitor[source]¶ Bases:
cosapp.patterns.visitor.VisitorVisitor collecting and reformatting Markdown representations of systems and ports.
-
cosapp.tools.help.display_doc(obj: Union[type, cosapp.ports.port.BasePort, cosapp.core.module.Module]) → cosapp.tools.help.DocDisplay¶ Display information for Driver, System or Port in a Jupyter notebook.
- Parameters
obj (Any) – Object of interest