def __init__(self, id, schedule, host, database, username, password,
                 select_query, insert_query, table, depends_on=None):

        # Validate inputs
        if not isinstance(schedule, Schedule):
            raise ETLInputError(
                'Input schedule must be of the type Schedule')

        if not depends_on:
            depends_on = list()

        kwargs = {
            'id': id,
            'type': 'SqlDataNode',
            'schedule': schedule,
            'database': database,
            'selectQuery': select_query,
            'insertQuery': insert_query,
            'table': table,
            'dependsOn': depends_on,
        }
        super(PostgresNode, self).__init__(**kwargs)
Constructor for the SqlNode class
dataset/ETHPy150Open coursera/dataduct/dataduct/pipeline/postgres_node.py/PostgresNode.__init__