Skip to content

Commit 7016893

Browse files
committed
Add return type annotation for the new image-to-schema method
1 parent 932cc0e commit 7016893

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

splitgraph/core/image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def __eq__(self, other: object) -> bool:
7070
return NotImplemented
7171
return self.image_hash == other.image_hash and self.repository == other.repository
7272

73-
def to_schema(self):
73+
def to_schema(self) -> str:
7474
"""Schema reference for the given image."""
7575
return self.repository.to_schema() + ":" + self.image_hash
7676

0 commit comments

Comments
 (0)