halfapi/tests/dummy_domain/routers/abc/alphabet/__init__.py

24 lines
465 B
Python
Raw Normal View History

from starlette.responses import PlainTextResponse
from dummy_domain import acl
ROUTES={
'': {
'GET': [{'acl':acl.public}]
},
'{test:uuid}': {
'GET': [{'acl':None}],
'POST': [{'acl':None}],
'PATCH': [{'acl':None}],
'PUT': [{'acl':None}]
}
}
async def get(request, *args, **kwargs):
"""
responses:
200:
description: dummy abc.alphabet route
"""
return PlainTextResponse('True')