diff --git a/envoy.docs.abstract/envoy/docs/abstract/utils.py b/envoy.docs.abstract/envoy/docs/abstract/utils.py index 86ac7ebbf..23559fe53 100644 --- a/envoy.docs.abstract/envoy/docs/abstract/utils.py +++ b/envoy.docs.abstract/envoy/docs/abstract/utils.py @@ -476,7 +476,7 @@ def pb_field_cross_ref_label(self, field_name): def hide_not_implemented(self, comment): """Should a given type_context.Comment be hidden because it is tagged as [#not-implemented-hide:]?""" - return self.not_implemented_hide_annotation in comment.annotations + return self.annotations.NOT_IMPLENTED_HIDE in comment.annotations def pb_comment_with_annotations(self, comment, type_name=''): """Format a comment string with additional RST for annotations."""