bionty.update_defaults#

bionty.update_defaults(new_defaults, target='current')#

Updates the _current.yaml file wih new user defaults.

The _current.yaml stores the default databases and versions that Bionty accesses. This function overwrites the current defaults in the ._current.yaml file.

Parameters:
  • new_defaults – Triplets of (entity, database, version) tuples.

  • target – The yaml file to update. Defaults to current

Return type:

None