MCPcopy Index your code
hub / github.com/algorithmiaio/algorithmia-python / readline

Method readline

Algorithmia/datafile.py:316–324  ·  view source on GitHub ↗
(self, __size=None)

Source from the content-addressed store, hash-verified

314 return output
315
316 def readline(self, __size=None):
317 if not self.local_file:
318 self.local_file = self.getFile()
319 with self.local_file as f:
320 if __size:
321 output = f.readline(__size)
322 else:
323 output = f.readline()
324 return output
325
326 def readlines(self, __hint=None):
327 if not self.local_file:

Callers

nothing calls this directly

Calls 1

getFileMethod · 0.45

Tested by

no test coverage detected