Skip to content

Commit

Permalink
chore: Change Field.__repr__ print format (feast-dev#4636)
Browse files Browse the repository at this point in the history
change Field.__repr__ print format

Signed-off-by: Matt Green <emgeee@users.noreply.github.com>
  • Loading branch information
emgeee authored Oct 18, 2024
1 parent c1f1912 commit 18d0eaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/python/feast/field.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def __lt__(self, other):
return self.name < other.name

def __repr__(self):
return f"{self.name}-{self.dtype}"
return f"Field(name='{self.name}', dtype={self.dtype}, description='{self.description}' tags={self.tags})"

def __str__(self):
return f"Field(name={self.name}, dtype={self.dtype}, tags={self.tags})"
Expand Down

0 comments on commit 18d0eaa

Please sign in to comment.