-
Notifications
You must be signed in to change notification settings - Fork 425
Open
Labels
Description
Is your feature request related to a problem? Please describe.
I'm trying to use DocxTemplate inside my async FastAPI endpoint but since it's blocking I have to make my FastAPI endpoint synchronous which will create additional thread. I don't want to use up all my threads when getting many requests.
Describe the solution you'd like
If I could simply await the DocxTemplate and all it's methods this would be no problem.
Describe alternatives you've considered
Maybe use aiofiles or something / not sure about this