parser
¤
PythonParser An interface to extract different parts of the provided python code into a simple metadata object.
Classes:
Name | Description |
---|---|
PythonParser |
A unified interface for accessing python parsed data. |
PythonParser
¤
PythonParser(decorated: Any)
A unified interface for accessing python parsed data.
Attributes:
Name | Type | Description |
---|---|---|
has_any_return_defs |
bool
|
A return definition is any of the following: |
has_structured_return_type |
bool
|
Except for the following types, a dedicated output parsing |
Source code in src/declarai/python_parser/parser.py
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
|