Skip to content

Conversation

@caleb-walz12
Copy link

Consider the following:

note = keep.createNote('title', 'text')
note.pinned = True

This shows a warning that 'Node' object has no attribute 'pinned'. The object returned from createNote is actually a Note and has attribute pinned, so no error is raised. However, createNote should indicate that it returns a Note to avoid this warning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant