Resolve all platform shorthand names in the configuration to URLs. Returns: Dictionary mapping platform names to their resolved URLs.
(self)
| 1990 | return resolution |
| 1991 | |
| 1992 | def resolve_platform_urls(self) -> dict[str, Optional[str]]: |
| 1993 | """ |
| 1994 | Resolve all platform shorthand names in the configuration to URLs. |
| 1995 | |
| 1996 | Returns: |
| 1997 | Dictionary mapping platform names to their resolved URLs. |
| 1998 | """ |
| 1999 | resolutions: dict[str, Optional[str]] = {} |
| 2000 | |
| 2001 | for section_name, option_name, platform_value in self.get_platform_urls(): |
| 2002 | if platform_value and not self._is_url(platform_value): |
| 2003 | if platform_value not in resolutions: |
| 2004 | resolutions[platform_value] = self.resolve_platform_url( |
| 2005 | platform_value |
| 2006 | ) |
| 2007 | |
| 2008 | return resolutions |
| 2009 | |
| 2010 | def resolve_framework_urls(self) -> dict[str, Optional[str]]: |
| 2011 | """ |