Example #1
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
    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
Example #3
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())
Example #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())