Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/It4innovations/hyperqueue
/ merge_envs
Function
merge_envs
crates/pyhq/python/hyperqueue/job.py:185–189 ·
view source on GitHub ↗
(default: EnvType, env: Optional[EnvType])
Source
from the content-addressed store, hash-verified
183
184
185
def
merge_envs(default: EnvType, env: Optional[EnvType]) -> EnvType:
186
environment = default.copy()
187
if
env:
188
environment.update(env)
189
return
environment
Callers
2
program
Method · 0.85
function
Method · 0.85
Calls
1
update
Method · 0.45
Tested by
no test coverage detected