MCPcopy
hub / github.com/docker/docker-py / create_environment_dict

Function create_environment_dict

docker/credentials/utils.py:4–10  ·  view source on GitHub ↗

Create and return a copy of os.environ with the specified overrides

(overrides)

Source from the content-addressed store, hash-verified

2
3
4def create_environment_dict(overrides):
5 """
6 Create and return a copy of os.environ with the specified overrides
7 """
8 result = os.environ.copy()
9 result.update(overrides or {})
10 return result

Callers 2

_executeMethod · 0.85

Calls 1

updateMethod · 0.45

Tested by 1