third_party/blink/tools/blinkpy/web_tests/builder_list.py
def builder_name_for_specifiers(self, version, build_type, is_try_builder):
        """Returns the builder name for a give version and build type.

        Args:
            version: A string with the OS version specifier. e.g. "Trusty", "Win10".
            build_type: A string with the build type. e.g. "Debug" or "Release".

        Returns:
            The builder name if found, or an empty string if no match was found.
        """
        for builder_name, info in sorted(self._builders.items()):
            specifiers = set(spec.lower() for spec in info['specifiers'])
            is_try_builder_info = info.get('is_try_builder', False)
            if (version.lower() in specifiers
                    and build_type.lower() in specifiers
                    and is_try_builder_info == is_try_builder):
                return builder_name
        return ''
Returns the builder name for a give version and build type.

        Args:
            version: A string with the OS version specifier. e.g. "Trusty", "Win10".
            build_type: A string with the build type. e.g. "Debug" or "Release".

        Returns:
            The builder name if found, or an empty string if no match was found.
        
Returns the builder name for a give version and build type.
Returns the builder name for a give version and build type .
def builder_name_for_specifiers(self, version, build_type, is_try_builder):
        for builder_name, info in sorted(self._builders.items()):
            specifiers = set(spec.lower() for spec in info['specifiers'])
            is_try_builder_info = info.get('is_try_builder', False)
            if (version.lower() in specifiers
                    and build_type.lower() in specifiers
                    and is_try_builder_info == is_try_builder):
                return builder_name
        return ''
def builder_name_for_specifiers ( self , version , build_type , is_try_builder ) : for builder_name , info in sorted ( self . _builders . items ( ) ) : specifiers = set ( spec . lower ( ) for spec in info [ 'specifiers' ] ) is_try_builder_info = info . get ( 'is_try_builder' , False ) if ( version . lower ( ) in specifiers and build_type . lower ( ) in specifiers and is_try_builder_info == is_try_builder ) : return builder_name return ''
Returns the builder name for a give version and build type.
Returns the builder name for a give version and build type .
"""Returns the builder name for a give version and build type.

        Args:
            version: A string with the OS version specifier. e.g. "Trusty", "Win10".
            build_type: A string with the build type. e.g. "Debug" or "Release".

        Returns:
            The builder name if found, or an empty string if no match was found.
        """
The builder name if found, or an empty string if no match was found.
The builder name if found or an empty string if no match was found .
self
version
A string with the OS version specifier. e.g.
A string with the OS version specifier . e . g .
build_type
A string with the build type. e.g. "Debug" or "Release".
A string with the build type . e . g . " Debug " or " Release " .
is_try_builder