Skip to content

Commit aa78cb4

Browse files
author
Tsotne Tabidze
committed
Call parent __init__ first
Signed-off-by: Tsotne Tabidze <tsotne@tecton.ai>
1 parent 2cadfe5 commit aa78cb4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎sdk/python/feast/data_source.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -991,15 +991,15 @@ def __init__(
991991
date_partition_column: Optional[str] = "",
992992
query: Optional[str] = None,
993993
):
994-
self._redshift_options = RedshiftOptions(table=table, query=query)
995-
996994
super().__init__(
997995
event_timestamp_column,
998996
created_timestamp_column,
999997
field_mapping,
1000998
date_partition_column,
1001999
)
10021000

1001+
self._redshift_options = RedshiftOptions(table=table, query=query)
1002+
10031003
def __eq__(self, other):
10041004
if not isinstance(other, RedshiftSource):
10051005
raise TypeError(

0 commit comments

Comments
 (0)