MCPcopy Index your code
hub / github.com/docker/docker-py / raise_version_error

Function raise_version_error

docker/api/service.py:8–11  ·  view source on GitHub ↗
(param, min_version)

Source from the content-addressed store, hash-verified

6 rollback_config):
7
8 def raise_version_error(param, min_version):
9 raise errors.InvalidVersion(
10 f'{param} is not supported in API version < {min_version}'
11 )
12
13 if update_config is not None:
14 if utils.version_lt(version, '1.25'):

Callers 1

_check_api_featuresFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected