def get_qualifier(module):
 qualifier = None
 if (module.params['version'] > 0):
  qualifier = str(module.params['version'])
 elif module.params['alias']:
  qualifier = str(module.params['alias'])
 return qualifier

def get_qualifier ( module ) : qualifier = None if ( module . params [ 'version' ] > 0 ) : qualifier = str ( module . params [ 'version' ] ) elif module . params [ 'alias' ] : qualifier = str ( module . params [ 'alias' ] ) return qualifier
returns the function qualifier as a version or alias or none .