MCPcopy Index your code
hub / github.com/dataease/SQLBot / equals_ignore_case

Function equals_ignore_case

backend/common/utils/utils.py:289–297  ·  view source on GitHub ↗
(str1: str, *args: str)

Source from the content-addressed store, hash-verified

287
288
289def equals_ignore_case(str1: str, *args: str) -> bool:
290 if str1 is None:
291 return None in args
292 for arg in args:
293 if arg is None:
294 continue
295 if str1.casefold() == arg.casefold():
296 return True
297 return False

Callers 15

get_table_sample_dataFunction · 0.90
get_uriFunction · 0.90
get_uri_from_configFunction · 0.90
get_origin_connectFunction · 0.90
get_engineFunction · 0.90
check_connectionFunction · 0.90
get_versionFunction · 0.90
get_schemaFunction · 0.90
get_tablesFunction · 0.90
get_fieldsFunction · 0.90
exec_sqlFunction · 0.90
check_sql_readFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected