def dockerpy_client(**kwargs):
 if ('version' not in kwargs):
  kwargs = kwargs.copy()
  kwargs['version'] = '1.15'
 return decorate_methods(TimeoutClient(**kwargs), partial(with_retry, should_retry=retry_if(_is_known_retryable), steps=get_default_retry_steps()))

def dockerpy_client ( ** kwargs ) : if ( 'version' not in kwargs ) : kwargs = kwargs . copy ( ) kwargs [ 'version' ] = '1.15' return decorate_methods ( TimeoutClient ( ** kwargs ) , partial ( with_retry , should_retry = retry_if ( _is_known_retryable ) , steps = get_default_retry_steps ( ) ) )
create a docker .