code: def _unwrap(variable_parts: VariablePartsType):
      
      curr_parts = variable_parts
      var_any = []
  
      while curr_parts:
          curr_parts, (var_type, part) = curr_parts
  
          if var_type == Routes._VAR_ANY_NODE:
              var_any.append(part)
              continue
  
          if var_type == Routes._VAR_ANY_BREAK:
              if var_any:
                  yield tuple(reversed(var_any))
                  var_any.clear()
  
              var_any.append(part)
              continue
  
          if var_any:
              yield tuple(reversed(var_any))
              var_any.clear()
              yield part
              continue
  
          yield part
  
      if var_any:
          yield tuple(reversed(var_any))
docs: Yield URL parts. The given parts are usually in reverse order.