Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Danny Chiao <[email protected]>
  • Loading branch information
adchia committed Feb 14, 2022
1 parent c002451 commit 3feecfa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions sdk/python/feast/infra/online_stores/datastore.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,6 @@ class DatastoreTable(InfraObject):
"""

project: str
name: str
project_id: Optional[str]
namespace: Optional[str]

Expand All @@ -347,8 +346,8 @@ def __init__(
project_id: Optional[str] = None,
namespace: Optional[str] = None,
):
super().__init__(name)
self.project = project
self.name = name
self.project_id = project_id
self.namespace = namespace

Expand Down
3 changes: 1 addition & 2 deletions sdk/python/feast/infra/online_stores/dynamodb.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,11 +227,10 @@ class DynamoDBTable(InfraObject):
region: The region of the table.
"""

name: str
region: str

def __init__(self, name: str, region: str):
self.name = name
super().__init__(name)
self.region = region

def to_infra_object_proto(self) -> InfraObjectProto:
Expand Down

0 comments on commit 3feecfa

Please sign in to comment.