Module Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias FunctionDef arguments args defaults kwarg body Return Call AttributeLoad NameLoad attr NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr If BoolOpAnd NameLoad UnaryOpNot NameLoad body Raise Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword Call NameLoad NameLoad If Call AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str orelse If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse If NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad AttributeLoad NameLoad attr body If CompareEq Call AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr NameLoad orelse Raise Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad Call NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults kwarg body Return Call NameLoad Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body TryExcept body Return SubscriptLoad Call AttributeLoad NameLoad attr keyword NameLoad Index Str handlers ExceptHandler type NameLoad body Raise Call AttributeLoad NameLoad attr Str ExceptHandler type NameLoad name NameStore body Raise Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Return Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults kwarg body Return Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults kwarg body Return Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults kwarg body Return Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults vararg kwarg body For NameStore NameLoad body If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad If Call AttributeLoad NameLoad attr Str NameLoad body Return Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse Return Call AttributeLoad Str attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body If CompareEq AttributeLoad AttributeLoad NameLoad attr attr Num body Raise Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Raise Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assert UnaryOpNot BoolOpAnd NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return Call AttributeLoad NameLoad attr If NameLoad body Return AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Assign NameStore Dict If CompareIsNot NameLoad NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad If CompareNotIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Dict Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Str Return Call AttributeLoad NameLoad attr NameLoad keyword Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Return BoolOpOr NameLoad Dict Str Str Str Num Num Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str Str Num Assign NameStore Call AttributeLoad NameLoad attr Str Str Num Return Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr TryExcept body Assign AttributeStore NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Pass Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Assign NameStore AttributeLoad NameLoad attr While UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Num If UnaryOpNot NameLoad body Break If AttributeLoad AttributeLoad NameLoad attr attr body AugAssignAdd NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Yield NameLoad orelse Expr Yield Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Num While NameLoad body If CompareLt Call NameLoad SubscriptLoad NameLoad Slice NameLoad Num body Break Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Slice NameLoad Assign NameStore BinOpAdd NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore NameLoad Expr Yield SubscriptLoad NameLoad Slice NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad While NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Break Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str NameLoad If UnaryOpNot NameLoad body Continue Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot NameLoad body Break Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad For NameStore Call AttributeLoad NameLoad attr keyword Num keyword NameLoad body If NameLoad body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad For NameStore Call AttributeLoad NameLoad attr keyword Num keyword NameLoad body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd Call NameLoad NameLoad Str Call NameLoad AttributeLoad NameLoad attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If CompareLt Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Num body Return Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return IfExp NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Return Call AttributeLoad NameLoad attr NameLoad orelse Return Call AttributeLoad NameLoad attr ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body If AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr orelse Raise NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults vararg kwarg body If BoolOpAnd CompareIn Str NameLoad SubscriptLoad NameLoad Index Str body Raise Call AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Index Str Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list
N/A N/A json N/A struct N/A sys N/A requests N/A requests.exceptions N/A six N/A websocket N/A api N/A constants N/A errors auth auth unixconn unixconn ssladapter ssladapter utils utils check_resource update_headers kwargs_from_env tls TLSConfig from_env N/A N/A N/A kwargs N/A N/A N/A N/A Client from_env kwargs N/A Client N/A N/A requests Session N/A api BuildApiMixin N/A api ContainerApiMixin N/A api DaemonApiMixin N/A api ExecApiMixin N/A api ImageApiMixin N/A api VolumeApiMixin N/A api NetworkApiMixin N/A __init__ N/A N/A self base_url version timeout tls N/A None None N/A constants DEFAULT_TIMEOUT_SECONDS False N/A N/A N/A N/A N/A super Client self __init__ N/A N/A tls N/A base_url N/A N/A N/A N/A errors TLSParameterError If using TLS, the base_url argument must be provided. N/A N/A self base_url base_url N/A N/A self timeout timeout N/A N/A self _auth_configs N/A N/A auth load_config N/A base_url N/A N/A utils parse_host base_url N/A sys platform tls N/A bool tls N/A N/A N/A base_url startswith http+unix:// N/A N/A N/A self _custom_adapter N/A N/A unixconn UnixAdapter base_url timeout N/A N/A N/A self mount http+docker:// N/A self _custom_adapter N/A N/A self base_url http+docker://localunixsocket N/A N/A N/A isinstance tls TLSConfig N/A N/A N/A N/A tls configure_client self N/A N/A tls N/A N/A N/A self _custom_adapter N/A N/A ssladapter SSLAdapter N/A N/A N/A self mount https:// N/A self _custom_adapter N/A N/A self base_url base_url N/A N/A version None N/A N/A N/A self _version N/A constants DEFAULT_DOCKER_API_VERSION N/A N/A N/A isinstance version N/A six string_types N/A N/A N/A N/A N/A version lower auto N/A N/A N/A self _version N/A N/A self _retrieve_server_version N/A N/A N/A self _version version N/A N/A N/A N/A errors DockerException N/A N/A Version parameter must be a string or None. Found {0} format N/A N/A type version __name__ N/A from_env N/A N/A cls N/A kwargs N/A N/A N/A cls N/A kwargs_from_env kwargs N/A classmethod _retrieve_server_version N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A self version api_version False N/A ApiVersion N/A N/A N/A KeyError N/A N/A N/A N/A errors DockerException Invalid response from docker daemon: key "ApiVersion" is missing. N/A N/A Exception N/A e N/A N/A N/A N/A errors DockerException N/A N/A Error while fetching server API version: {0} format e N/A _set_request_timeout N/A N/A self kwargs N/A N/A N/A Prepare the kwargs for an HTTP request by inserting the timeout
        parameter, if not already present. N/A N/A N/A kwargs setdefault timeout N/A self timeout N/A kwargs N/A _post N/A N/A self url N/A kwargs N/A N/A N/A N/A self post url N/A N/A self _set_request_timeout kwargs N/A update_headers _get N/A N/A self url N/A kwargs N/A N/A N/A N/A self get url N/A N/A self _set_request_timeout kwargs N/A update_headers _put N/A N/A self url N/A kwargs N/A N/A N/A N/A self put url N/A N/A self _set_request_timeout kwargs N/A update_headers _delete N/A N/A self url N/A kwargs N/A N/A N/A N/A self delete url N/A N/A self _set_request_timeout kwargs N/A update_headers _url N/A N/A self pathfmt N/A args kwargs N/A N/A arg args N/A N/A N/A N/A isinstance arg N/A six string_types N/A N/A N/A ValueError N/A N/A Expected a string but found {0} ({1}) instead format arg N/A type arg N/A args N/A map N/A N/A N/A N/A six moves urllib parse quote_plus args N/A N/A N/A kwargs get versioned_api True N/A N/A N/A N/A {0}/v{1}{2} format N/A self base_url N/A self _version N/A N/A pathfmt format args N/A N/A N/A N/A {0}{1} format N/A self base_url N/A N/A pathfmt format args N/A _raise_for_status N/A N/A self response explanation N/A None N/A N/A Raises stored :class:`APIError`, if one occurred. N/A N/A N/A N/A N/A response raise_for_status N/A N/A N/A N/A N/A requests exceptions HTTPError N/A e N/A N/A N/A N/A N/A e response status_code 404 N/A N/A N/A N/A errors NotFound e response explanation explanation N/A N/A N/A errors APIError e response explanation explanation N/A _result N/A N/A self response json binary N/A False False N/A N/A N/A N/A json binary N/A N/A N/A self _raise_for_status response N/A json N/A N/A N/A N/A response json N/A binary N/A N/A N/A response content N/A N/A response text N/A _post_json N/A N/A self url data N/A kwargs N/A N/A data2 N/A N/A N/A data None N/A N/A N/A k v N/A N/A six iteritems data N/A N/A N/A v None N/A N/A N/A data2 N/A k v N/A N/A headers kwargs N/A N/A N/A kwargs N/A headers N/A N/A N/A N/A kwargs N/A headers N/A Content-Type application/json N/A N/A N/A self _post url data N/A N/A json dumps data2 kwargs N/A _attach_params N/A N/A self override N/A None N/A N/A N/A override N/A stdout stderr stream 1 1 1 N/A _attach_websocket N/A N/A self container params N/A None N/A N/A url N/A N/A self _url /containers/{0}/attach/ws container N/A req N/A N/A requests Request POST url params N/A N/A self _attach_params params N/A full_url N/A N/A N/A req prepare url N/A full_url N/A N/A full_url replace http:// ws:// 1 N/A full_url N/A N/A full_url replace https:// wss:// 1 N/A N/A N/A self _create_websocket_connection full_url N/A check_resource _create_websocket_connection N/A N/A self url N/A N/A N/A N/A N/A websocket create_connection url N/A _get_raw_response_socket N/A N/A self response N/A N/A N/A N/A N/A self _raise_for_status response N/A N/A six PY3 N/A N/A sock N/A N/A N/A N/A response raw _fp fp raw N/A N/A N/A N/A self base_url startswith https:// N/A N/A sock N/A sock _sock N/A N/A sock N/A N/A N/A N/A response raw _fp fp _sock N/A N/A N/A N/A sock _response response N/A N/A N/A AttributeError N/A N/A N/A sock N/A _stream_helper N/A N/A self response decode N/A False N/A N/A Generator for data coming from a chunked-encoded HTTP response. N/A N/A N/A N/A response raw _fp chunked N/A N/A reader N/A response raw N/A N/A N/A reader closed N/A N/A data N/A N/A reader read 1 N/A N/A data N/A N/A N/A N/A N/A reader _fp chunk_left N/A N/A data N/A N/A reader read N/A N/A reader _fp chunk_left N/A decode N/A N/A N/A six PY3 N/A N/A data N/A N/A data decode utf-8 N/A data N/A N/A json loads data N/A N/A data N/A N/A N/A N/A N/A self _result response N/A _multiplexed_buffer_helper N/A N/A self response N/A N/A N/A A generator of multiplexed data blocks read from a buffered
        response. N/A buf N/A N/A self _result response binary True N/A walker 0 N/A True N/A N/A N/A N/A len N/A buf N/A walker 8 N/A N/A N/A N/A _ length N/A N/A struct unpack_from >BxxxL N/A buf N/A walker N/A start N/A walker N/A constants STREAM_HEADER_SIZE_BYTES N/A end N/A start length N/A walker end N/A N/A N/A buf N/A start end N/A _multiplexed_response_stream_helper N/A N/A self response N/A N/A N/A A generator of multiplexed data blocks coming from a response
        stream. N/A socket N/A N/A self _get_raw_response_socket response N/A N/A N/A self _disable_socket_timeout socket N/A True N/A N/A header N/A N/A N/A response raw read N/A constants STREAM_HEADER_SIZE_BYTES N/A N/A header N/A N/A N/A N/A _ length N/A N/A struct unpack >BxxxL header N/A N/A length N/A N/A N/A data N/A N/A N/A response raw read length N/A N/A data N/A N/A N/A N/A data N/A _stream_raw_result_old N/A N/A self response N/A N/A N/A  Stream raw output for API versions below 1.6  N/A N/A N/A self _raise_for_status response N/A line N/A N/A response iter_lines chunk_size 1 decode_unicode True N/A N/A line N/A N/A N/A line N/A _stream_raw_result N/A N/A self response N/A N/A N/A  Stream result for TTY-enabled container above API 1.6  N/A N/A N/A self _raise_for_status response N/A out N/A N/A response iter_content chunk_size 1 decode_unicode True N/A N/A N/A out N/A _disable_socket_timeout N/A N/A self socket N/A N/A N/A  Depending on the combination of python version and whether we're
        connecting over http or https, we might need to access _sock, which
        may or may not exist; or we may need to just settimeout on socket
         itself, which also may or may not have settimeout on it.

        To avoid missing the correct one, we try both.
         N/A N/A hasattr socket settimeout N/A N/A N/A N/A socket settimeout None N/A N/A N/A hasattr socket _sock N/A hasattr N/A socket _sock settimeout N/A N/A N/A N/A N/A socket _sock settimeout None N/A _get_result N/A N/A self container stream res N/A N/A N/A cont N/A N/A self inspect_container container N/A N/A N/A self _get_result_tty stream res N/A N/A cont N/A Config N/A Tty N/A _get_result_tty N/A N/A self stream res is_tty N/A N/A N/A N/A N/A N/A utils compare_version 1.6 N/A self _version 0 N/A N/A N/A N/A self _stream_raw_result_old res N/A is_tty N/A N/A N/A stream N/A N/A self _stream_raw_result res N/A N/A self _result res binary True N/A N/A N/A self _raise_for_status res N/A sep N/A N/A six binary_type N/A stream N/A N/A N/A N/A self _multiplexed_response_stream_helper res N/A N/A N/A N/A sep join N/A x N/A x N/A N/A self _multiplexed_buffer_helper res N/A get_adapter N/A N/A self url N/A N/A N/A N/A N/A N/A N/A N/A super Client self get_adapter url N/A N/A N/A N/A N/A requests exceptions InvalidSchema N/A e N/A N/A N/A self _custom_adapter N/A N/A N/A self _custom_adapter N/A N/A e N/A api_version N/A N/A self N/A N/A N/A N/A self _version N/A property N/A AutoVersionClient N/A Client N/A __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A version kwargs N/A kwargs N/A version N/A N/A N/A N/A errors DockerException Can not specify version for AutoVersionClient N/A N/A kwargs N/A version auto N/A N/A N/A N/A super AutoVersionClient self __init__ args kwargs N/A N/A