def read(*args, **kwargs): acct_url = 'http://127.0.01/AUTH_FOO' body = {'access': {'serviceCatalog': [{u'endpoints': [{'publicURL': acct_url}], 'type': 'object-store'}], 'token': {'id': 'XXXXXXX'}}} return c.json_dumps(body)
def read(*args, **kwargs): acct_url = "http://127.0.01/AUTH_FOO" body = { "access": { "serviceCatalog": [{u"endpoints": [{"publicURL": acct_url}], "type": "object-store"}], "token": {"id": "XXXXXXX"}, } } return c.json_dumps(body)
def read(*args, **kwargs): body = {'a': '1', 'b': '2'} return c.json_dumps(body)
def read(*args, **kwargs): body = {"a": "1", "b": "2"} return c.json_dumps(body)