def session(): resource = CouchdbResource() info = resource.get("/_session") return info.json_body
def get_userdb(): resource = CouchdbResource() path = "/_config/couch_httpd_auth/authentication_db" info = resource.get(path) return info.json_body