Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shay-te committed Mar 20, 2024
1 parent 4bc4ee6 commit 0f92ab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core_lib_generator/file_generators/config_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def generate(self, template_content: str, yaml_data: dict, core_lib_name: str, f
conn.pop('migrate', None)
conn_data = {}
conn_type = get_dict_attr(conn, 'type')
if conn['config_instantiate']:
if conn.get('config_instantiate'):
conn.pop('config_instantiate', None)
conn['_target_'] = conn_type
conn.pop('type', None)
Expand Down

0 comments on commit 0f92ab3

Please sign in to comment.