Closed frol closed 8 years ago
@frol I have refactored it little bit, I hope it is okay: https://github.com/cenkalti/kuyruk/commit/428e15a22ad8d1345c9252ddc4e94b1a96e881a0
@cenkalti Oh, I haven't noticed the importer
module... I am sorry for this hacking. Thank you for fixing it!
Having this PR, you can pass a string to
Config.from_object
and it will be imported and loaded:This is how it is implemented in Flask, and since I have noticed quite a similarity to Flask design, I decided to make them closer in terms of my use-case.