halfapi/tests/dummy_domain/routers/config/__init__.py

12 lines
211 B
Python

from halfapi.lib import acl
import logging
logger = logging.getLogger('uvicorn.asgi')
ACLS = {
'GET' : [{'acl':acl.public}]
}
def get(halfapi):
logger.error('%s', halfapi)
return halfapi['config']