parameters: (
          self, client: OpenrCtrl.Client, prefixes: List[str], prefix_type: Optional[str]
      )
return_statement: return client.getAdvertisedRoutesFiltered(route_filter)
docstring: Fetch the requested data
docstring_summary: Fetch the requested data
docstring_tokens: Fetch the requested data
function: def fetch(
          self, client: OpenrCtrl.Client, prefixes: List[str], prefix_type: Optional[str]
      ) -> List[ctrl_types.AdvertisedRouteDetail]:
          """
          Fetch the requested data
          """
  
          # Create filter
          route_filter = get_advertised_route_filter(prefixes, prefix_type)
  
          # Get routes
          return client.getAdvertisedRoutesFiltered(route_filter)
function_tokens: def fetch ( self , client : OpenrCtrl . Client , prefixes : List [ str ] , prefix_type : Optional [ str ] ) -> List [ ctrl_types . AdvertisedRouteDetail ] : # Create filter route_filter = get_advertised_route_filter ( prefixes , prefix_type ) # Get routes return client . getAdvertisedRoutesFiltered ( route_filter )