Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
anda-ren committed Feb 7, 2023
1 parent 6ffb287 commit 656db85
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions client/starwhale/core/dataset/type.py
Original file line number Diff line number Diff line change
Expand Up @@ -671,9 +671,7 @@ def to_str(self, encoding: str = "") -> str:

def link_to_content(self, encoding: str = "") -> None:
if not self.content and self.link:
self.content = str(
self.link.to_bytes(), encoding or self.encoding
)
self.content = str(self.link.to_bytes(), encoding or self.encoding)


# TODO: support tensorflow transform
Expand Down

0 comments on commit 656db85

Please sign in to comment.