src/pybel/struct/graph.py
def annotation_pattern(self) -> Dict[str, str]:  # noqa: D401
        """The mapping from the annotation keywords used to create this graph to their regex patterns as strings.

        .. hint:: Can be appended with the ``DEFINE ANNOTATION [key] AS PATTERN "[value]"`` entries in the definitions
                  section of the source BEL document.
        """
        return self.graph[GRAPH_ANNOTATION_PATTERN]
The mapping from the annotation keywords used to create this graph to their regex patterns as strings.

        .. hint:: Can be appended with the ``DEFINE ANNOTATION [key] AS PATTERN "[value]"`` entries in the definitions
                  section of the source BEL document.
        
The mapping from the annotation keywords used to create this graph to their regex patterns as strings.
hint:: Can be appended with the ``DEFINE ANNOTATION [key] AS PATTERN "[value]"`` entries in the definitions
section of the source BEL document.
The mapping from the annotation keywords used to create this graph to their regex patterns as strings . hint :: Can be appended with the ` ` DEFINE ANNOTATION [ key ] AS PATTERN " [ value ] " ` ` entries in the definitions section of the source BEL document .
def annotation_pattern(self) -> Dict[str, str]:  
        return self.graph[GRAPH_ANNOTATION_PATTERN]
def annotation_pattern ( self ) -> Dict [ str , str ] : return self . graph [ GRAPH_ANNOTATION_PATTERN ]
The mapping from the annotation keywords used to create this graph to their regex patterns as strings.
The mapping from the annotation keywords used to create this graph to their regex patterns as strings .
# noqa: D401 """The mapping from the annotation keywords used to create this graph to their regex patterns as strings.

        .. hint:: Can be appended with the ``DEFINE ANNOTATION [key] AS PATTERN "[value]"`` entries in the definitions
                  section of the source BEL document.
        """
self