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

15 lines
289 B
Python
Raw Normal View History

from starlette.responses import PlainTextResponse
2021-06-17 18:52:18 +02:00
from halfapi.lib import acl
2021-06-16 15:34:25 +02:00
ACLS = {
'GET': [{'acl':acl.public}]
}
async def get(request, *args, **kwargs):
"""
responses:
200:
description: dummy abc.alphabet route
"""
return PlainTextResponse('True')