Skip to content

Update to version v0.1.0#5

Merged
mathsman5133 merged 15 commits into
masterfrom
latest
Apr 21, 2019
Merged

Update to version v0.1.0#5
mathsman5133 merged 15 commits into
masterfrom
latest

Conversation

@mathsman5133

Copy link
Copy Markdown
Owner

Please see the changlog at https://cocpy.readthedocs.io/en/latest/changelog.html for more information

JustinBacher and others added 15 commits April 20, 2019 18:04
Utilise email/password pair, making the need for the client to pass in tokens redundant.
…ng client call.

Remove unnecessary asyncio import
- Set any class attributes as propertys to be created on the fly
- Add `get_member` methods to BasicClan class, used by passing in attr=var, ie. get_member(name='name')
- Add `attr_dict` property to many classes where `attr` is a property to get a dict instead of list, if desired
- Use iter() over lists where applicable, or provide an alternative property which uses iter() as a private (but documentated) property. Eg. `SearchClan.members` would return a list (slow), whereas `SearchClan._members` would return an iterator (fast, but not mutable like a list)

- Update documentation to reflect this
- Update documentation to document inside properties rather than documenting these inside the class docstring
- Fix some punctuation, grammer and otherwise small code typo's
- loop.run_until_complete broke when a 'cog' was reloaded, even if `close()` was called
@mathsman5133 mathsman5133 merged commit b0d643c into master Apr 21, 2019
@mathsman5133 mathsman5133 deleted the latest branch April 21, 2019 14:19
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