Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mlco2/codecarbon
/ communicate
Method
communicate
tests/test_powermetrics.py:15–16 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
13
self.returncode = returncode
14
15
def
communicate(self):
16
return
(
""
, self._stderr)
17
18
def
__enter__(self):
19
return
self
Callers
1
_has_powermetrics_sudo
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected