It's possible to create a middleware in python like 'temporal-rest' in ExpressJS?

I’m looking for a way to use some interceptor/middleware like ‘temporal-rest’ (REST APIs for every Temporal Workflow in one line of code), for python (using FastAPI or Flask, for example). The goal is to create endpoints to start workflows, make queries and send signals, using the most apropriated method (using some sdk library, like is used on express, for node). Anyone knows a way to do that?

It is possible to create it, but nobody has that I know of. Feel free to make such a thing that reflectively exposes workflow operations. What many do is just manually create individual HTTP endpoints to use a Temporal client to make specific call they need, doing whatever translation they may need.