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

Method __hash__

src/dotenv/variables.py:61–62  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

59 return (self.name, self.default) == (other.name, other.default)
60
61 def __hash__(self) -> int:
62 return hash((self.__class__, self.name, self.default))
63
64 def resolve(self, env: Mapping[str, Optional[str]]) -> str:
65 default = self.default if self.default is not None else ""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected