-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Summary
- Add detection of primitive Python
complextypes in theInputSchematoparse.py:_simplify_schema() - Modify
render_fields()macro intemplates/template.j2to catch the complex input type, and render a pair of numerical inputs, taking real and imaginary components of the complex number - Ensure that this is correctly formatted in the Tesseract inputs of the generated app
Why is this needed?
Adds missing compatibility for the Python primitive complex type.
Usage example
tesseract-streamlit "http://localhost:39597" app.pyWhere http://localhost:39597 has a complex attribute in its InputSchema, and app.py has a grouped pair of numerical inputs for real and imaginary components of the corresponding complex number.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers