Skip to content

Commit cf6bcbc

Browse files
adds comments
1 parent a5d0934 commit cf6bcbc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

digital_land/expectations/operation.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,13 @@ def count_deleted_entities(
189189

190190

191191
def check_columns(conn, expected: dict):
192+
# This operation checks that the db connection provided contains the tables with the expected columns provided
193+
194+
# expected: a dictionary containing table names as keys, with a list of their expected columns as the value
195+
192196
details = []
193197
success_count = 0
194198
failure_count = 0
195-
# expected: a dictionary containing table names as keys, with their a list of their expected columns as the value
196199
for k, v in expected.items():
197200
table_name = k
198201
expected_columns = v

0 commit comments

Comments
 (0)