code: def work_generate(self, hash):
          
  
          hash = self._process_value(hash, 'block')
  
          payload = {"hash": hash}
  
          resp = self.call('work_generate', payload)
  
          return resp['work']
docs: Generates **work** for block
  
          .. enable_control required
  
          :param hash: Hash to start generating **work** for
          :type hash: str
  
          :raises: :py:exc:`nano.rpc.RPCException`
  
          >>> rpc.work_generate(
          ...     hash="718CC2121C3E641059BC1C2CFC45666C99E8AE922F7A807B7D07B62C995D79E2"
          ... )
          "2bf29ef00786a6bc"