src/pybel/canonicalize.py
def _unset_annotation_to_str(keys: List[str]) -> str:
    """Return an unset annotation string."""
    if len(keys) == 1:
        return 'UNSET {}'.format(list(keys)[0])

    return 'UNSET {{{}}}'.format(', '.join('{}'.format(key) for key in keys))
Return an unset annotation string.
Return an unset annotation string.
Return an unset annotation string .
def _unset_annotation_to_str(keys: List[str]) -> str:
    if len(keys) == 1:
        return 'UNSET {}'.format(list(keys)[0])
    return 'UNSET {{{}}}'.format(', '.join('{}'.format(key) for key in keys))
def _unset_annotation_to_str ( keys : List [ str ] ) -> str : if len ( keys ) == 1 : return 'UNSET {}' . format ( list ( keys ) [ 0 ] ) return 'UNSET {{{}}}' . format ( ', ' . join ( '{}' . format ( key ) for key in keys ) )
Return an unset annotation string.
Return an unset annotation string .
"""Return an unset annotation string."""
keys
List[str]