コード例 #1
0
ファイル: __init__.py プロジェクト: fjelltopp/ckanext-harvest
    def update_package_schema(self):
        '''
        Returns the schema for mapping package data from a form to a format
        suitable for the database.
        '''
        from ckanext.harvest.logic.schema import harvest_source_update_package_schema
        schema = harvest_source_update_package_schema()

        return schema
コード例 #2
0
    def update_package_schema(self):
        '''
        Returns the schema for mapping package data from a form to a format
        suitable for the database.
        '''
        from ckanext.harvest.logic.schema import harvest_source_update_package_schema
        schema = harvest_source_update_package_schema()

        return schema
コード例 #3
0
ファイル: schemas.py プロジェクト: kata-csc/ckanext-kata
 def harvest_source_update_package_schema(cls):
     from ckanext.harvest.logic.schema import harvest_source_update_package_schema
     return cls._harvest_non_unique_url(harvest_source_update_package_schema())
コード例 #4
0
 def harvest_source_update_package_schema(cls):
     from ckanext.harvest.logic.schema import harvest_source_update_package_schema
     return cls._harvest_non_unique_url(
         harvest_source_update_package_schema())