MCPcopy Create free account
hub / github.com/theskumar/python-dotenv / __init__

Method __init__

src/dotenv/parser.py:63–66  ·  view source on GitHub ↗
(self, stream: IO[str])

Source from the content-addressed store, hash-verified

61
62class Reader:
63 def __init__(self, stream: IO[str]) -> None:
64 self.string = stream.read()
65 self.position = Position.start()
66 self.mark = Position.start()
67
68 def has_next(self) -> bool:
69 return self.position.chars < len(self.string)

Callers

nothing calls this directly

Calls 2

readMethod · 0.80
startMethod · 0.80

Tested by

no test coverage detected