def add_note(self, note):
        if type(note) == str:
            return self.update_note({"content": note})
        elif (type(note) == dict) and "content" in note:
            return self.update_note(note)
        else:
            return "No string or valid note.", -1
Bucket commits by author.
dataset/ETHPy150Open cpbotha/nvpy/nvpy/simplenote.py/Simplenote.add_note--crossover with--dataset/ETHPy150Open brettcannon/free-labour/freelabour/project.py/Project._commits_by_author