<s> from lib . base import DockerBasePythonAction <EOL> __all__ = [ <EOL> '<STR_LIT>' <EOL> ] <EOL> class DockerPullImageAction ( DockerBasePythonAction ) : <EOL> def run ( self , repo , tag = None , insecure_registry = False , <EOL> auth_username_override = None , auth_password_override = None ) : <EOL> auth_override = ( auth_username_override and auth_password_override ) <EOL> if auth_override : <EOL> auth_config = { } <EOL> auth_config [ '<STR_LIT:username>' ] = auth_username_override <EOL> auth_config [ '<STR_LIT:password>' ] = auth_password_override <EOL> return self . wrapper . pull ( repo = repo , tag = tag , insecure_registry = insecure_registry , <EOL> auth_config = auth_config ) <EOL> else : <EOL> return self . wrapper . pull ( repo = repo , tag = tag , insecure_registry = insecure_registry ) </s>
