source_parsing module¶
Parse source code to extract information.
Functions:
Get the options default values for the given class, by only addressing kwargs. |
|
|
Get the documentation of a method. |
|
Parse a Google docstring. |
|
Parse a reST docstring. |
- gemseo.utils.source_parsing.get_default_options_values(cls)[source]¶
Get the options default values for the given class, by only addressing kwargs.
- Parameters
cls – The class.
- Return type
Dict[str, str]
- gemseo.utils.source_parsing.get_options_doc(method)[source]¶
Get the documentation of a method.
- Parameters
method (Callable) – The method to retrieve the doc from.
- Returns
The descriptions of the options.
- Return type
Dict[str, str]