I've been remiss and skipped too may Web2py updates.
I've now updated from web2py v2.14.6 to web2py v2.18.2
db.py
openings_service = Service()
controller.py
@openings_service.json
def submit_openings():
...
An external program calls my Web2py service and the function submit_openings()
The caller has passed in a parameter and even though my `def` doesn't define a parameter I was able to access the required parameter via `request`
After the update to Web2py 2.18.2 the call no longer succeeds.
TypeError: submit_openings() takes no arguments (1 given)
I can see why this no longer works and the fix is simple; redefine the `def` in my code as:
@openings_service.json
def submit_openings(openings):
But I'd like to know what changed in Web2py? Mainly to confirm that I am using Web2py correctly.