hestia_earth.utils.api.find_node_exact¶
-
hestia_earth.utils.api.find_node_exact(node_type, args)[source]¶ Finds a single Node on the Hestia Platform.
- Parameters
node_type (
SchemaType) – The @type of the Node.args (
dict) – Dictionary of key/value to exec search on. Example: use {‘bibliography.title’: ‘My biblio’} on a SchemaType.Source to find all Source`s having a `bibliography with title == My biblio
- Returns
JSON of the node if found, else None.
- Return type
JSON