|
|
|
|
|
by paddy_m
356 days ago
|
|
So, this is a jupyter/anywidget project. I think OpenAPI can work, but it's a bit of grafting I think. Further, I develop the frontend visualization library separately from the python code. It is much more natural to write typescript there, first for types that power the frontend. I just want to make sure earlier that python is sending the same types. I'd like to avoid pydantic, because it is a another dependency, and I control both sides. I'm not worried about an errant request/response, just proviing at build time that I am sending and receiving the proper compatible types. |
|