code: def get_param_tuples(url_rule) -> List[Tuple[str, str]]:
      
      if not url_rule:
          return []
      return [(type_[:-1], name) for type_, name
              in re.findall(PARAM_NAME_RE, url_rule)]
docs: Returns a list of parameter tuples in a URL rule, eg::
  
          url_rule = '/users/<string:username>/roles/<int:id>'
          param_tuples = get_param_tuples(url_rule)
          assert param_tuples == [('string', 'username'), ('int', 'id')]