def __init__(self, host, database, user, password, table, update_id):
        if ':' in host:
            self.host, self.port = host.split(':')
            self.port = int(self.port)
        else:
            self.host = host
            self.port = 1433
        self.database = database
        self.user = user
        self.password = password
        self.table = table
        self.update_id = update_id
Useful pattern for checking for the existence of all required tables
dataset/ETHPy150Open spotify/luigi/luigi/contrib/mssqldb.py/MSSqlTarget.__init__--crossover with--dataset/ETHPy150Open garethr/django-test-extensions/src/test_extensions/examples/examples.py/Examples.test_get_tables_that_should_exist