scrapi.base.helpers.single_result

Here are the examples of the python api scrapi.base.helpers.single_result taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

Example 1

Project: scrapi Source File: icpsr.py
Function: schema
    @property
    def schema(self):
        return helpers.updated_schema(self._schema, {
            "uris": {
                "canonicalUri": ('//dc:identifier/node()', helpers.compose(create_icpsr_url, helpers.single_result)),
                "objectUris": [('//dc:identifier/node()', icpsr_exttract_doi)]
            }
        })