3 fY@s`dZddlmZddlZddlZddlZddlmZddlm Z ddl m Z Gdd d e Z dS) z Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.7.4 Generated by: https://github.com/swagger-api/swagger-codegen.git )absolute_importN) iteritems) Configuration) ApiClientc@s*eZdZdZd ddZddZddZdS) VersionApiz NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. Ref: https://github.com/swagger-api/swagger-codegen NcCs,t}|r||_n|js t|_|j|_dS)N)r api_clientr)selfrconfigr S/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/apis/version_api.py__init__"s zVersionApi.__init__cKs2d|d<|jdr|jf|S|jf|}|SdS)aq get the code version This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.get_code(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :return: VersionInfo If the method is called asynchronously, returns the request thread. T_return_http_data_onlycallbackN)getget_code_with_http_info)r kwargsdatar r r get_code+s    zVersionApi.get_codecKsg}|jd|jd|jd|jdt}x4t|dD]$\}}||kr\td||||<q@W|d=i}djdd }i}i} i} g} i} d } |jjd g| d <|jjd g| d <dg}|jj|d|| | | | | d||j d|j d|j dd|j d|dS)a get the code version This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.get_code_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :return: VersionInfo If the method is called asynchronously, returns the request thread. rr_preload_content_request_timeoutrz:Got an unexpected keyword argument '%s' to method get_codez /version/z{format}jsonNzapplication/jsonAcceptz Content-Type BearerTokenGET VersionInfoT) body post_paramsfiles response_type auth_settingsrrrrcollection_formats) appendlocalsr TypeErrorreplacerselect_header_acceptselect_header_content_typecall_apir)r r all_paramsparamskeyvalr! resource_path path_params query_params header_params form_paramslocal_var_files body_paramsr r r r rCsP          z"VersionApi.get_code_with_http_info)N)__name__ __module__ __qualname____doc__r rrr r r r rs r)r7 __future__rsysosresixr configurationrrrobjectrr r r r  s