docs: def encode_relation(obj):
      """Encode a single relation."""
      warnings.warn("deprecated. Please use bioc.biocxml.encoder.encode_relation", DeprecationWarning)
      return bioc.biocxml.encoder.encode_relation(obj)