Function post_init

Synopsis

def post_init(config_obj)

Description

Recursively calls the post_init method on a config and it's attributes

Source

Lines 159-165 in anyfig/figutils.py.

def post_init(config_obj):
  ''' Recursively calls the post_init method on a config and it's attributes '''
  config_obj.post_init()
  for _, val in config_obj.get_parameters(copy=False).items():
    if is_config_class(val):
      post_init(val)





Add Discussion as Guest

Log in