FunctionDump
class: FunctionDump
class FunctionDump(SymbolDumpBase):
name: str
module_path: str
docstring: str = ''
line_number: int | None = None
type: Literal[function] = 'function'
signature: CallableSignature
Fields
| Field |
Type |
Default |
Since |
| name |
str |
- |
0.1.0 |
| module_path |
str |
- |
0.1.0 |
| docstring |
str |
'' |
0.1.0 |
| line_number |
int | None |
- |
0.1.0 |
| type |
Literal[function] |
'function' |
0.1.0 |
| signature |
CallableSignature |
- |
0.1.0 |
Changes
| Version |
Change |
| 0.3.0 |
field 'line_number' default added: None |
| 0.3.0 |
added base class 'SymbolDumpBase' |
| 0.2.0 |
field 'module_path' default removed (was: PydanticUndefined) |
| 0.2.0 |
field 'signature' default removed (was: PydanticUndefined) |
| 0.2.0 |
field 'name' default removed (was: PydanticUndefined) |
| 0.1.0 |
Made public |