File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
text_2_sql/text_2_sql_core/src/text_2_sql_core/data_dictionary Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -212,8 +212,8 @@ def __init__(
212212 excluded_entities = []
213213
214214 self .entities = entities
215- self .excluded_entities = excluded_entities
216- self .excluded_schemas = excluded_schemas
215+ self .excluded_entities = [ x . lower () for x in excluded_entities ]
216+ self .excluded_schemas = [ x . lower () for x in excluded_schemas ]
217217 self .single_file = single_file
218218 self .generate_definitions = generate_definitions
219219
@@ -428,8 +428,8 @@ async def extract_entities_with_definitions(self) -> list[EntityItem]:
428428 all_entities = [
429429 entity
430430 for entity in all_entities
431- if entity .entity not in self .excluded_entities
432- and entity .entity_schema not in self .excluded_schemas
431+ if entity .entity . lower () not in self .excluded_entities
432+ and entity .entity_schema . lower () not in self .excluded_schemas
433433 ]
434434
435435 # Add warehouse and database to entities
You can’t perform that action at this time.
0 commit comments