MCPcopy Create free account
hub / github.com/github/copilot-sdk / get_env

Method get_env

python/e2e/test_connection_token.py:74–84  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

72 shutil.rmtree(self.work_dir, ignore_errors=True)
73
74 def get_env(self) -> dict:
75 env = os.environ.copy()
76 env.update(
77 {
78 "COPILOT_API_URL": self.proxy_url,
79 "COPILOT_HOME": self.home_dir,
80 "XDG_CONFIG_HOME": self.home_dir,
81 "XDG_STATE_HOME": self.home_dir,
82 }
83 )
84 return env
85
86 @property
87 def client(self) -> CopilotClient:

Callers 1

setupMethod · 0.95

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected