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

15 lines
289 B
Python

from starlette.responses import PlainTextResponse
from halfapi.lib import acl
ACLS = {
'GET': [{'acl':acl.public}]
}
async def get(request, *args, **kwargs):
"""
responses:
200:
description: dummy abc.alphabet route
"""
return PlainTextResponse('True')