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

15 lines
269 B
Python
Raw Normal View History

from halfapi.lib import acl
from halfapi.logging import logger
ACLS = {
'GET' : [{'acl':acl.public}]
}
def get(halfapi):
"""
description:
returns the configuration of the domain
"""
logger.error('%s', halfapi)
return halfapi['config']