def delete_metadata(scope, name, key, vo='def'): """ Delete a key from the metadata column :param scope: the scope of did :param name: the name of the did :param key: the key to be deleted :param vo: The VO to act on. """ scope = InternalScope(scope, vo=vo) return did.delete_metadata(scope=scope, name=name, key=key)
def delete_metadata(scope, name, key, vo='def', session=None): """ Delete a key from the metadata column :param scope: the scope of did :param name: the name of the did :param key: the key to be deleted :param vo: The VO to act on. :param session: The database session in use. """ scope = InternalScope(scope, vo=vo) return did.delete_metadata(scope=scope, name=name, key=key, session=session)