def insert_note(entity_id: int, note: str, public: bool) -> None: from openatlas.util.display import sanitize Db.insert_note(current_user.id, entity_id, sanitize(note, 'text'), public)
def insert_note(entity_id: int, note: str, public: bool) -> None: Db.insert_note(current_user.id, entity_id, sanitize(note, 'text'), public)