MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / tell

Method tell

gridfs/asynchronous/grid_file.py:1701–1703  ·  view source on GitHub ↗

Return the current position of this file.

(self)

Source from the content-addressed store, hash-verified

1699 return await self._read_size_or_line(size=size)
1700
1701 def tell(self) -> int:
1702 """Return the current position of this file."""
1703 return self._position
1704
1705 async def seek(self, pos: int, whence: int = _SEEK_SET) -> int:
1706 """Set the current position of this file.

Callers 3

test_tellMethod · 0.95
writeMethod · 0.45
_write_asyncMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_tellMethod · 0.76