<s> __all__ = [ '<STR_LIT:http>' , '<STR_LIT>' ] <EOL> class QueueServer ( object ) : <EOL> def __new__ ( cls , method = '<STR_LIT>' , * args , ** kwargs ) : <EOL> if method == '<STR_LIT>' : <EOL> from zenqueue . server . native import NativeQueueServer <EOL> return NativeQueueServer ( * args , ** kwargs ) <EOL> elif method == '<STR_LIT:http>' : <EOL> from zenqueue . server . http import HTTPQueueServer <EOL> return HTTPQueueServer ( * args , ** kwargs ) <EOL> raise ValueError ( '<STR_LIT>' % ( method , ) ) </s>
