def get_registry(entry, runtime):
try:<EOL><INDENT>records_location_param_id = Id('<STR_LIT>')<EOL>registry = runtime.get_configuration().get_value_by_parameter(<EOL>records_location_param_id).get_string_value()<EOL>return import_module(registry).__dict__.get(entry, {})<EOL><DEDENT>except (ImportError, AttributeError, KeyError, NotFound):<EOL><INDENT>return {}<EOL><DEDENT>
Returns a record registry given an entry and runtime