2020-10-07 09:52:23 +02:00
|
|
|
from starlette.responses import PlainTextResponse
|
2020-10-07 15:51:24 +02:00
|
|
|
from dummy_domain import acl
|
2020-10-07 09:52:23 +02:00
|
|
|
|
2020-09-22 12:57:36 +02:00
|
|
|
ROUTES={
|
|
|
|
'': {
|
2020-10-07 15:51:24 +02:00
|
|
|
'GET': [{'acl':acl.public}]
|
2020-09-22 12:57:36 +02:00
|
|
|
},
|
|
|
|
'{test:uuid}': {
|
2020-10-07 15:51:24 +02:00
|
|
|
'GET': [{'acl':None}],
|
|
|
|
'POST': [{'acl':None}],
|
|
|
|
'PATCH': [{'acl':None}],
|
|
|
|
'PUT': [{'acl':None}]
|
2020-09-22 12:57:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2020-10-07 09:52:23 +02:00
|
|
|
|
|
|
|
async def get(request, *args, **kwargs):
|
|
|
|
"""
|
|
|
|
responses:
|
|
|
|
200:
|
|
|
|
description: dummy abc.alphabet route
|
|
|
|
"""
|
|
|
|
return PlainTextResponse('True')
|