Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate getters/setters and annotate client.py with TODO project plans #196

Merged
merged 3 commits into from
May 14, 2018

Conversation

non-Jedi
Copy link
Collaborator

@Matrixcoffee could you review this for me? It's the start of my attempt to address your general concerns from #192.

Getters/setters are being removed as they're considered poor python style, and there are ways to make normal attribute access behave like a getter/setter if necessary in the future.

Since we don't have an architecture or design document for this sdk, the
TODO comments I've left throughout client.py should at least give people
the start of my ideas for this project's future.

Signed-off-by: Adam Beckmeyer <[email protected]>
Signed-off-by: Adam Beckmeyer <[email protected]>
@ghost
Copy link

ghost commented Apr 24, 2018

I've looked through it and it generally looks sane. FYI, my next PR already moves _process_state_event to the room object.

@non-Jedi non-Jedi merged commit b37dff8 into matrix-org:master May 14, 2018
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