MCPcopy Index your code
hub / github.com/theskumar/python-dotenv / get

Method get

src/dotenv/main.py:112–122  ·  view source on GitHub ↗

(self, key: str)

Source from the content-addressed store, hash-verified

110 return True
111
112 def get(self, key: str) -> Optional[str]:
113 """ """
114 data = self.dict()
115
116 if key in data:
117 return data[key]
118
119 if self.verbose:
120 logger.warning("Key %s not found in %s.", key, self.dotenv_path)
121
122 return None
123
124
125def get_key(

Callers 3

getFunction · 0.80
resolveMethod · 0.80
get_keyFunction · 0.80

Calls 1

dictMethod · 0.95

Tested by

no test coverage detected