Skip to content

Commit

Permalink
Doc strings and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lhupfeldt committed Jul 9, 2018
1 parent 8e0ba21 commit e0f6697
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions multiconf/multiconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -1382,13 +1382,13 @@ def __repr__(self):


class _McConfig(object):
"""Base for config classes dynamically created by the 'mc_config' decorator"""
"""Class of root objects allocated by the 'mc_config' decorator"""

def __init__(self, env_factory, conf_func, mc_json_filter, mc_json_fallback, mc_5_migration):
self.env_factory = env_factory
self.conf_func = conf_func

env_factory._mc_calc_env_group_order() # TODO: Only calculate once if load is called multiple times
env_factory._mc_calc_env_group_order()

# Create root object
self.cr = _ConfigRoot(env_factory, mc_json_filter, mc_json_fallback, mc_5_migration)
Expand Down Expand Up @@ -1475,7 +1475,7 @@ def __init__(self, a:int = MC_REQUIRED):
pre-instantiated for all envs in order to validate correctness of the configuration for all envs. Enabling lazy_load also disables
`mc_post_validate` calls and other checking which cannot be done with lazy loading.
Returns self: This makes it possible to load add get an instantion in a one liner, e.g.::
Returns self: This makes it possible to load and get an instantion in a one liner, e.g.::
config.load()(prod)
"""
Expand Down

0 comments on commit e0f6697

Please sign in to comment.