(self)
return f"{key}"
Create string describing each type of difference (change, addition, etc). Used in get_markdown_string.

        Includes minor changes if the DiffStix instance was instantiated with the minor_changes argument.

        Includes deletions if the changes include deletions.
Create string describing each type of difference (change, addition, etc). Used in get_markdown_string.
Create string describing each type of difference ( change addition etc ) . Used in get_markdown_string .
def get_md_key(self):
        """
        Create string describing each type of difference (change, addition, etc). Used in get_markdown_string.

        Includes minor changes if the DiffStix instance was instantiated with the minor_changes argument.

        Includes deletions if the changes include deletions.
        """

        have_deletions = False
        for types in self.data.keys():
            for domain in self.data[types].keys():
                if "deletions" in self.data[types][domain].keys():
                    have_deletions = True

        key = "#### Key\n\n"
        key += (
            "* New objects: " + statusDescriptions['additions'] + "\n"
            "* Object changes: " + statusDescriptions['changes'] + "\n"
        )
        if self.minor_changes:
            key += "* Minor object changes: " + statusDescriptions['minor_changes'] + "\n"
        if self.unchanged:
            key += "* Unchanged objects: " + statusDescriptions['unchanged'] + "\n"
        key += (
            "* Object revocations: " + statusDescriptions['revocations'] + "\n"
            "* Object deprecations: " + statusDescriptions['deprecations']
        )
        if have_deletions:
            key += "\n" + "* Object deletions: " + statusDescriptions['deletions']
        return f"{key}"
def get_md_key ( self ) : have_deletions = False for types in self . data . keys ( ) : for domain in self . data [ types ] . keys ( ) : if "deletions" in self . data [ types ] [ domain ] . keys ( ) : have_deletions = True key = "#### Key\n\n" key += ( "* New objects: " + statusDescriptions [ 'additions' ] + "\n" "* Object changes: " + statusDescriptions [ 'changes' ] + "\n" ) if self . minor_changes : key += "* Minor object changes: " + statusDescriptions [ 'minor_changes' ] + "\n" if self . unchanged : key += "* Unchanged objects: " + statusDescriptions [ 'unchanged' ] + "\n" key += ( "* Object revocations: " + statusDescriptions [ 'revocations' ] + "\n" "* Object deprecations: " + statusDescriptions [ 'deprecations' ] ) if have_deletions : key += "\n" + "* Object deletions: " + statusDescriptions [ 'deletions' ] return f"{key}"