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

Function validate_head

backend/apps/system/crud/user_excel.py:149–155  ·  view source on GitHub ↗
(trans, head_i18n_list: list[str], head_list: list)

Source from the content-addressed store, hash-verified

147 ]
148
149def validate_head(trans, head_i18n_list: list[str], head_list: list):
150 if len(head_list) != len(head_i18n_list):
151 return False
152 for i in range(len(head_i18n_list)):
153 if head_list[i] != trans(head_i18n_list[i]):
154 return False
155 return True
156
157
158

Callers 1

batchUploadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected