Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, model=None, create_table=True, extra_tables=[]):
self._model = model
self.tables = extra_tables
if self._model:
self._model.clear_caches()
self._connection = DatabaseConnections.connection('jardin_test')
self.create_table = create_table