Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
Added docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
roll committed Oct 30, 2019
1 parent ad3b48a commit 7e6dc1f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tabulator/stream.py
Expand Up @@ -326,11 +326,15 @@ def encoding(self):

@property
def size(self):
"""Returns the BYTE count of the read chunks if available
"""
if self.__stats:
return self.__stats['size']

@property
def hash(self):
"""Returns the SHA256 hash of the read chunks if available
"""
if self.__stats:
return self.__stats['hash']

Expand Down

0 comments on commit 7e6dc1f

Please sign in to comment.