Skip to content

Make SDK more pythonic#1

Open
timothyaaron wants to merge 2 commits intoactionably:masterfrom
timothyaaron:master
Open

Make SDK more pythonic#1
timothyaaron wants to merge 2 commits intoactionably:masterfrom
timothyaaron:master

Conversation

@timothyaaron
Copy link
Copy Markdown

  • Removes unused code
  • Uses industry-standard styling and naming conventions #pep8
  • Benefits from class inheritance

NOTE: This introduces breaking changes. Namely, class/function names use Python conventions, also parameters are passed as dictionaries (instead of having to json.dump existing dictionaries, just so the SDK can json.load them).

I understand if these changes are just not viable do to breaking changes, but wanted to show what the SDK should look like stylistically and leveraging inheritance and such.

Also, as I'm having trouble getting Dashbot to work at all, at the moment, this is untested and may include some typos.

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