2 ms·
I never had the use case for arbitrary nested input, but I did build a python library that allowed you to specify the HTML input type and the python type to coe
by jazzyjackson 5y ago
I never had the use case for arbitrary nested input, but I did build a python library that allowed you to specify the HTML input type and the python type to coerce it to + regex validation so that our giant SQL queries would fail at the beginning and not half way thru
I dabbled in generating the HTML forms for calling the scripts, but what I was really excited to do was design a chatbot that would use the type declarations to ask for the scripts' requirements conversationally ("next I need a number for...") (alas, the chatscript dialog files I wrote are not open source, I would love to revisit if anyone wants to take another stab at NLP->SQL)
https://github.com/jazzyjackson/py-validate https://github.com/jazzyjackson/py-validate