Skip to content

Commit 9cb612d

Browse files
committed
Fix Python linting
Signed-off-by: Willem Pienaar <git@willem.co>
1 parent adfded3 commit 9cb612d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

sdk/python/feast/feature.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def from_proto(cls, feature_proto: FeatureSpecProto):
103103
class FeatureRef:
104104
""" Feature Reference represents a reference to a specific feature. """
105105

106-
def __init__(self, name: str, feature_table: str = None):
106+
def __init__(self, name: str, feature_table: str):
107107
self.proto = FeatureRefProto(name=name, feature_table=feature_table)
108108

109109
@classmethod

sdk/python/tests/test_client.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -983,9 +983,7 @@ def test_no_auth_sent_when_auth_disabled(
983983
client.list_feature_tables()
984984

985985

986-
def _ingest_test_getfeaturetable_mocked_resp(
987-
file_url: str, date_partition_col: str = None
988-
):
986+
def _ingest_test_getfeaturetable_mocked_resp(file_url: str, date_partition_col: str):
989987
return GetFeatureTableResponse(
990988
table=FeatureTableProto(
991989
spec=FeatureTableSpecProto(

0 commit comments

Comments
 (0)