diff --git a/pep_sphinx_extensions/pep_zero_generator/parser.py b/pep_sphinx_extensions/pep_zero_generator/parser.py index e7f118542..d7a26e95e 100644 --- a/pep_sphinx_extensions/pep_zero_generator/parser.py +++ b/pep_sphinx_extensions/pep_zero_generator/parser.py @@ -148,9 +148,10 @@ class PEP: } @property - def full_details(self) -> dict[str, str]: + def full_details(self) -> dict[str, str | int]: """Returns all headers of the PEP as a dict.""" return { + "number": self.number, "title": self.title, "authors": ", ".join(author.nick for author in self.authors), "discussions_to": self.discussions_to,