(
        self, from_relation: BaseRelation, to_relation: BaseRelation
    )
return [
            col for (col_name, col) in from_columns.items()
            if col_name in missing_columns
        ]
Returns a list of Columns in from_relation that are missing from
        to_relation.
Returns a list of Columns in from_relation that are missing from
        to_relation.
Returns a list of Columns in from_relation that are missing from to_relation .
def get_missing_columns(
        self, from_relation: BaseRelation, to_relation: BaseRelation
    ) -> List[BaseColumn]:
        """Returns a list of Columns in from_relation that are missing from
        to_relation.
        """
        if not isinstance(from_relation, self.Relation):
            invalid_type_error(
                method_name='get_missing_columns',
                arg_name='from_relation',
                got_value=from_relation,
                expected_type=self.Relation)

        if not isinstance(to_relation, self.Relation):
            invalid_type_error(
                method_name='get_missing_columns',
                arg_name='to_relation',
                got_value=to_relation,
                expected_type=self.Relation)

        from_columns = {
            col.name: col for col in
            self.get_columns_in_relation(from_relation)
        }

        to_columns = {
            col.name: col for col in
            self.get_columns_in_relation(to_relation)
        }

        missing_columns = set(from_columns.keys()) - set(to_columns.keys())

        return [
            col for (col_name, col) in from_columns.items()
            if col_name in missing_columns
        ]
def get_missing_columns ( self , from_relation : BaseRelation , to_relation : BaseRelation ) -> List [ BaseColumn ] : if not isinstance ( from_relation , self . Relation ) : invalid_type_error ( method_name = 'get_missing_columns' , arg_name = 'from_relation' , got_value = from_relation , expected_type = self . Relation ) if not isinstance ( to_relation , self . Relation ) : invalid_type_error ( method_name = 'get_missing_columns' , arg_name = 'to_relation' , got_value = to_relation , expected_type = self . Relation ) from_columns = { col . name : col for col in self . get_columns_in_relation ( from_relation ) } to_columns = { col . name : col for col in self . get_columns_in_relation ( to_relation ) } missing_columns = set ( from_columns . keys ( ) ) - set ( to_columns . keys ( ) ) return [ col for ( col_name , col ) in from_columns . items ( ) if col_name in missing_columns ]