I have a function which takes the incoming request, parses the data and performs an action and posts the results to a webhook. This is running as b...
For further actions, you may consider blocking this person and/or reporting abuse
I solved it by making two important changes:
kwargs
as I receive them without unpacking. It is the processor's job.Now I have the same lean structure as I originally had. The only processor specific code is the file downloads which I think I can live with for now.
Very interesting solution. I didn't know there existed dispatcher wrappers. I will try it out and see if it make simplifies the code. Thank you.
I have asked the question in Stack Exchange as well and was offered a simple solution which involves minimal rewrite. Here softwareengineering.stackexchange....