type_annotation_to_schema
ยค
Functions:
Name | Description |
---|---|
type_annotation_to_str_schema |
This method accepts arbitrary types defined in the return annotation of a functions. |
type_annotation_to_str_schema
ยค
This method accepts arbitrary types defined in the return annotation of a functions. Then creates a string representation of the annotation schema to be passed to the model.
Source code in src/declarai/python_parser/type_annotation_to_schema.py
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
|