Skip to content

Commit

Permalink
Add fileno method to streams wrappers (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasz.walkiewicz authored Aug 20, 2019
1 parent 29d928b commit ddc3cc1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions neptune/internal/streams/stdstream_uploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ def isatty(self):
def flush(self):
self._stream.flush()

def fileno(self):
return self._stream.fileno()


class StdOutWithUpload(StdStreamWithUpload):

Expand Down

0 comments on commit ddc3cc1

Please sign in to comment.