-
Notifications
You must be signed in to change notification settings - Fork 28
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
Merging connect kwargs and init kwargs with priority #31
Conversation
Hi there! It's a good starting point, but I am thinking about merging args and kwargs both Broker("smth-url")
Broker.connect(url="smth-url") Should be a valid case, but in your code it leads to exception. |
Thanks for your comment. |
Do you need some help with this? |
Hi, didn't have time for this task. The first approach would be, storing the arguments list in the broker class:
and we can do like this:
What do you think? |
I suppose, you should move all broker init arguments from .pyi to real .py files and get information about them by inspect module. |
Hi @Lancetnik
|
Wow! That was a greate work. I will just take a look and merge it soon. |
@sallory thanks for your help! Can I wait any more PRs from u? |
@Lancetnik For sure. If I will have time, I would like to help you meet your goals with this project |
#14
Please feel free to correct me and ask me to fix/add something.