def load_configuration(configuration):
    if isinstance(configuration, dict):
        return configuration
    else:
        with open(configuration) as configfile:
            return json.load(configfile)
Send a TraitDictEvent to the owning object if there is one.
dataset/ETHPy150Open F-Secure/see/see/environment.py/load_configuration--crossover with--dataset/ETHPy150Open enthought/traits/traits/trait_handlers.py/TraitSetObject._send_trait_items_event