MCPcopy Create free account
hub / github.com/FastLED/FastLED / resolve_framework_urls

Method resolve_framework_urls

ci/compiler/platformio_ini.py:2010–2030  ·  view source on GitHub ↗

Resolve all framework shorthand names in the configuration to URLs. Returns: Dictionary mapping framework names to their resolved URLs.

(self)

Source from the content-addressed store, hash-verified

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 """

Calls 4

get_framework_urlsMethod · 0.95
_is_urlMethod · 0.95
_is_builtin_frameworkMethod · 0.95
resolve_framework_urlMethod · 0.95