Skip to content

Commit 75b4397

Browse files
navingerdaniel-sanche
authored andcommitted
Changes to help clarify path argument in the docs
Signed-off-by: Nancy Avinger <[email protected]>
1 parent 3b84c35 commit 75b4397

File tree

1 file changed

+6
-2
lines changed
  • appengine/standard/endpoints/multiapi

1 file changed

+6
-2
lines changed

appengine/standard/endpoints/multiapi/main.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class Response(messages.Message):
3434
@api_collection.api_class(resource_name='shelves')
3535
class Shelves(remote.Service):
3636

37-
@endpoints.method(Request, Response, path='list')
37+
@endpoints.method(Request, Response)
3838
def list(self, request):
3939
return Response()
4040

@@ -44,7 +44,11 @@ def list(self, request):
4444
class Books(remote.Service):
4545

4646
@endpoints.method(Request, Response, path='bookmark')
47-
def bookmark(self, request):
47+
def get_bookmark(self, request):
48+
return Response()
49+
50+
@endpoints.method(Request, Response)
51+
def best_sellers_list(self, request):
4852
return Response()
4953
# [END books]
5054
# [END multiclass]

0 commit comments

Comments
 (0)