code: def getVariable(self, name):
          
          return lock_and_call(
              lambda: Variable(self._impl.getVariable(name)),
              self._lock
          )
docs: Get the variable with the corresponding name.
  
          Args:
              name: Name of the variable to be found.
  
          Raises:
              TypeError: if the specified variable does not exist.