Resolve all framework shorthand names in the configuration to URLs. Returns: Dictionary mapping framework names to their resolved URLs.
(self)
| 2008 | return resolutions |
| 2009 | |
| 2010 | def resolve_framework_urls(self) -> dict[str, Optional[str]]: |
| 2011 | """ |
| 2012 | Resolve all framework shorthand names in the configuration to URLs. |
| 2013 | |
| 2014 | Returns: |
| 2015 | Dictionary mapping framework names to their resolved URLs. |
| 2016 | """ |
| 2017 | resolutions: dict[str, Optional[str]] = {} |
| 2018 | |
| 2019 | for section_name, option_name, framework_value in self.get_framework_urls(): |
| 2020 | if ( |
| 2021 | framework_value |
| 2022 | and not self._is_url(framework_value) |
| 2023 | and not self._is_builtin_framework(framework_value) |
| 2024 | ): |
| 2025 | if framework_value not in resolutions: |
| 2026 | resolutions[framework_value] = self.resolve_framework_url( |
| 2027 | framework_value |
| 2028 | ) |
| 2029 | |
| 2030 | return resolutions |
| 2031 | |
| 2032 | def get_resolved_urls_cache(self) -> ResolvedUrlsCache: |
| 2033 | """ |