class ThriftBinaryFetcher(Task):
@classmethod
def task_subsystems(cls):
return super(ThriftBinaryFetcher, cls).task_subsystems() + (ThriftBinary.Factory,)
def execute(self):
thrift_binary = ThriftBinary.Factory.scoped_instance(self).create()
version = thrift_binary.version
version = thrift_binary.path # This does the fetch and cache if its never been done