parameters: (attr_name: str, rtype: str)
return_statement: return property_map.get((attr_name, rtype), rtype)
docstring: Match property of known type.
  
      This method is double check for case when
      properties of different object could have different return types.
docstring_summary: Match property of known type.
docstring_tokens: Match property of known type .
function: def _update_property_return_type(attr_name: str, rtype: str):
      """
      Match property of known type.
  
      This method is double check for case when
      properties of different object could have different return types.
  
      """
  
      if rtype.startswith("<type"):
          rtype = rtype[7:-2]
      else:
          rtype = rtype.split(".")[-1].strip("'>")
  
      property_map = {
          ("shipIDs", "IntSet"): "Set[ShipId]",
          ("shipIDs", "IntVec"): "Sequence[ShipId]",
          ("buildingIDs", "IntSet"): "Set[BuildingId]",
          ("buildingIDs", "IntVec"): "Sequence[BuildingId]",
          ("planetIDs", "IntSet"): "Set[PlanetId]",
          ("planetIDs", "IntVec"): "Sequence[PlanetId]",
          ("fleetIDs", "IntVec"): "Sequence[FleetId]",
          ("fleetIDs", "IntSet"): "Set[FleetId]",
          ("systemIDs", "IntVec"): "Sequence[SystemId]",
          ("empireID", "int"): "EmpireId",
          ("capitalID", "int"): "PlanetId",
          ("locationID", "int"): "PlanetId",
          ("owner", "int"): "EmpireId",
          ("speciesName", "str"): "SpeciesName",
          ("designedOnTurn", "int"): "Turn",
      }
      return property_map.get((attr_name, rtype), rtype)
function_tokens: def _update_property_return_type ( attr_name : str , rtype : str ) : if rtype . startswith ( "<type" ) : rtype = rtype [ 7 : - 2 ] else : rtype = rtype . split ( "." ) [ - 1 ] . strip ( "'>" ) property_map = { ( "shipIDs" , "IntSet" ) : "Set[ShipId]" , ( "shipIDs" , "IntVec" ) : "Sequence[ShipId]" , ( "buildingIDs" , "IntSet" ) : "Set[BuildingId]" , ( "buildingIDs" , "IntVec" ) : "Sequence[BuildingId]" , ( "planetIDs" , "IntSet" ) : "Set[PlanetId]" , ( "planetIDs" , "IntVec" ) : "Sequence[PlanetId]" , ( "fleetIDs" , "IntVec" ) : "Sequence[FleetId]" , ( "fleetIDs" , "IntSet" ) : "Set[FleetId]" , ( "systemIDs" , "IntVec" ) : "Sequence[SystemId]" , ( "empireID" , "int" ) : "EmpireId" , ( "capitalID" , "int" ) : "PlanetId" , ( "locationID" , "int" ) : "PlanetId" , ( "owner" , "int" ) : "EmpireId" , ( "speciesName" , "str" ) : "SpeciesName" , ( "designedOnTurn" , "int" ) : "Turn" , } return property_map . get ( ( attr_name , rtype ) , rtype )