Skip to content

Commit

Permalink
Fix Python linting
Browse files Browse the repository at this point in the history
Signed-off-by: Willem Pienaar <git@willem.co>
  • Loading branch information
woop committed Mar 28, 2021
1 parent adfded3 commit 9cb612d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sdk/python/feast/feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def from_proto(cls, feature_proto: FeatureSpecProto):
class FeatureRef:
""" Feature Reference represents a reference to a specific feature. """

def __init__(self, name: str, feature_table: str = None):
def __init__(self, name: str, feature_table: str):
self.proto = FeatureRefProto(name=name, feature_table=feature_table)

@classmethod
Expand Down
4 changes: 1 addition & 3 deletions sdk/python/tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -983,9 +983,7 @@ def test_no_auth_sent_when_auth_disabled(
client.list_feature_tables()


def _ingest_test_getfeaturetable_mocked_resp(
file_url: str, date_partition_col: str = None
):
def _ingest_test_getfeaturetable_mocked_resp(file_url: str, date_partition_col: str):
return GetFeatureTableResponse(
table=FeatureTableProto(
spec=FeatureTableSpecProto(
Expand Down

0 comments on commit 9cb612d

Please sign in to comment.