Skip to content

Commit

Permalink
remove type signature to pass 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
azliu0 committed Oct 28, 2024
1 parent 61c96ab commit cb52f89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modal/file_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ async def flush(self) -> None:
)
await self._wait(resp.exec_id)

def _get_whence(self, whence: int) -> api_pb2.SeekWhence.ValueType:
def _get_whence(self, whence: int):
if whence == 0:
return api_pb2.SeekWhence.SEEK_SET
elif whence == 1:
Expand Down

0 comments on commit cb52f89

Please sign in to comment.