Skip to content

Refactor the SDK - #3

Merged
lukasotocerny merged 5 commits into
exponea:masterfrom
smasty:master
Oct 3, 2018
Merged

Refactor the SDK#3
lukasotocerny merged 5 commits into
exponea:masterfrom
smasty:master

Conversation

@smasty

@smasty smasty commented Oct 2, 2018

Copy link
Copy Markdown
Member

In the spirit of Hacktoberfest, I've done a bit of refactoring to the Python SDK to make it a bit more consistent with our internal Exponea python coding style, as well as PEP-8. Also fixed some small bugs, removed unnecessary code, added some helpers, etc.
If you don't want to apply it all, feel free to cherry-pick only the changes you like.

I might update this PR later if I can find the time:

  • I'd like to add type hints for better support of IDE completion
  • Better error handling
  • Further refactoring - mainly code deduplication - there's still a lot of duplication in the request handling.

@lukasotocerny

Copy link
Copy Markdown
Contributor

LGTM, I'm merging it and releasing.

@lukasotocerny
lukasotocerny merged commit baca280 into exponea:master Oct 3, 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.

2 participants