site_cubicweb.py
author Denis Laxalde <denis.laxalde@logilab.fr>
Thu, 22 Jan 2015 18:07:51 +0100
changeset 67 64966fde037f
parent 17 7c8af9dda7d9
permissions -rw-r--r--
[entities] Let dataset_maintainer just return name and email information Thus do not force that downstream code to use CWUser.

from logilab.common.configuration import REQUIRED

options = (
    ('ckan-baseurl',
     {'type' : 'string',
      'default': REQUIRED,
      'help': u'base url of the CKAN instance to push data to',
      'group': 'ckan', 'level': 0,
      }),
    ('ckan-api-key',
     {'type' : 'string',
      'default': REQUIRED,
      'help': u'an API key for the CKAN instance',
      'group': 'ckan', 'level': 0,
      }),
    ('ckan-organization',
     {'type' : 'string',
      'help': u'the organization under which dataset will be created',
      'group': 'ckan', 'level': 0,
      }),
)