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

Add __configure__ function to component #210

Merged
merged 19 commits into from
Dec 18, 2020
Merged

Add __configure__ function to component #210

merged 19 commits into from
Dec 18, 2020

Conversation

jneeven
Copy link
Contributor

@jneeven jneeven commented Dec 3, 2020

Which is responsible for calling 'configure' on itself. Allows the user to override default values, change the config dict, etc.

@jneeven jneeven marked this pull request as ready for review December 9, 2020 14:07
@jneeven jneeven added the feature New feature or request label Dec 9, 2020
zookeeper/core/component.py Outdated Show resolved Hide resolved
zookeeper/core/component.py Outdated Show resolved Hide resolved
zookeeper/core/component.py Outdated Show resolved Hide resolved
zookeeper/core/component_test.py Outdated Show resolved Hide resolved
zookeeper/core/component_test.py Outdated Show resolved Hide resolved
zookeeper/core/component_test.py Outdated Show resolved Hide resolved
zookeeper/core/component_test.py Show resolved Hide resolved
zookeeper/core/component_test.py Show resolved Hide resolved
jneeven and others added 5 commits December 10, 2020 14:46
Co-authored-by: Adam Hillier <7688302+AdamHillier@users.noreply.github.com>
Co-authored-by: Adam Hillier <7688302+AdamHillier@users.noreply.github.com>
Co-authored-by: Adam Hillier <7688302+AdamHillier@users.noreply.github.com>
Co-authored-by: Adam Hillier <7688302+AdamHillier@users.noreply.github.com>
@jneeven
Copy link
Contributor Author

jneeven commented Dec 10, 2020

Unfortunately some doc formatting has snuck into this PR, but only in these two files. I'll make another one that formats everything once this is merged (to prevent conflicts)

@jneeven jneeven added feature New feature or request and removed feature New feature or request labels Dec 10, 2020
@AdamHillier
Copy link
Contributor

I've just pushed a commit to this branch that undoes the docstring formatting. That can be part of another PR if necessary.

@AdamHillier
Copy link
Contributor

This is good to go after those small nits are dealt with :)

jneeven and others added 3 commits December 10, 2020 18:19
@jneeven jneeven requested a review from lgeiger December 17, 2020 12:08
@jneeven jneeven removed the feature New feature or request label Dec 17, 2020
@jneeven jneeven added the feature New feature or request label Dec 17, 2020
Copy link
Member

@lgeiger lgeiger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! I only have some minor nit picks, otherwise this looks good to me.

zookeeper/core/component.py Outdated Show resolved Hide resolved
zookeeper/core/component.py Outdated Show resolved Hide resolved
zookeeper/core/component.py Outdated Show resolved Hide resolved
jneeven and others added 3 commits December 18, 2020 15:20
Co-authored-by: Lukas Geiger <lukas.geiger94@gmail.com>
Co-authored-by: Lukas Geiger <lukas.geiger94@gmail.com>
Co-authored-by: Lukas Geiger <lukas.geiger94@gmail.com>
@jneeven jneeven added feature New feature or request and removed feature New feature or request labels Dec 18, 2020
@jneeven jneeven mentioned this pull request Dec 18, 2020
@jneeven jneeven merged commit ca05730 into master Dec 18, 2020
@jneeven jneeven deleted the __configure__ branch December 18, 2020 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants