Don't raise error when multiple nodes found
Currently in read_node
, we raise an error if more than one node is found. This is overly strict, and fails use cases such as when the user doesn't care, e.g. a file artefact is stored in the database in both compressed and uncompressed format, and both can be used by a process.
Suggested solution: Add a date_created
attribute to all nodes, and return the newest (along with a warning message).