def _make_key()

in aws_lambda_builders/registry.py [0:0]


    def _make_key(capability):
        """
        Given the capabilities, generate a string that can be used as the key for the registry object
        """

        # Key is created by concatenating the capabilites data with underscore.
        # This delimiter is positional ie. if a value is not provided, the delimiter still needs to exist in the key.
        # This helps us be forwards compatible with new capabilities
        return "_".join(
            [capability.language or "", capability.dependency_manager or "", capability.application_framework or ""]
        ).lower()