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

Simplify config usage #17

Open
pkulev opened this issue Oct 12, 2016 · 0 comments
Open

Simplify config usage #17

pkulev opened this issue Oct 12, 2016 · 0 comments
Assignees

Comments

@pkulev
Copy link
Owner

pkulev commented Oct 12, 2016

Now configs are read only, no need to create machinery to mantain wierd cases.
Now config (Settings) creates on import time, with some singletones raises problem of depending on import order.

Solution:

  • make separate module common
  • move all config related code from common.py to config.py
  • create config not on reading time, use class or function
  • look at singletones, maybe no need to use this antipattern
@pkulev pkulev added the wontfix label Oct 12, 2016
@pkulev pkulev added this to the Working alpha version milestone Oct 12, 2016
@pkulev pkulev self-assigned this Oct 12, 2016
@pkulev pkulev removed this from the Working prototype milestone Dec 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant