Web Service referencing instance of the class #167
Replies: 3 comments 6 replies
-
This example code is not really designed to be used with Microdot, so it is hard to give you an answer. What is I'm also not sure I understand the term "class functions". If here you mean regular class methods, then these are available without having to have a |
Beta Was this translation helpful? Give feedback.
-
My goal is to implement your services without decorators. The decorated functions do not allow access to "self" attributes and methods of my class that microdot is used in. I was looking for a way to use your library without decorated(wrapped) functions. Example, I cannot do this... @app.route('/meas') |
Beta Was this translation helpful? Give feedback.
-
Sorry to resurrect this. But after spending time to understand this framework, my question is now. Can you give me an example of how to create a route without a decorator. And a route/webservice without decorator? Is it possible? |
Beta Was this translation helpful? Give feedback.
-
Sudo code below. Can I create a ws that can reference my class functions
Beta Was this translation helpful? Give feedback.
All reactions