155 if pending_connection:
156 pending_connection['tables_processed'] = i
157
158 """159 Modify END
160 """
101
102 load, view_names = get_tables(insp, metadata, bind, schema, views, only, extend_existing)
103
104 """105 Modified: Added default PK set and progress display
106 """
107
The string statement has not been assigned to anything. This is pointless and should be removed if not necessary. In case this is supposed to describe what's happening in the code, it is recommended to use comments or docstrings instead.
'Define a function to add 2 numbers here.'
def add(a, b):
return a + b
Use Comments:
# Define a function to add 2 numbers here.
def add(a, b):
return a + b
or, use docstrings:
def add(a, b):
'''Function to add 2 numbers here.'''
return a + b