Skip to content

Commit 1f2b46b

Browse files
committed
Add type annotation back to manager create method
1 parent 40267f8 commit 1f2b46b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

democrasite/webiscite/managers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def annotate_user_vote(
112112

113113
def create_from_github(
114114
self, pull_request: "PullRequest", desc: str, author_uid: str
115-
):
115+
) -> T | None:
116116
"""Validate and create a :class:`~democrasite.webiscite.models.Bill` from a
117117
GitHub pull request
118118

0 commit comments

Comments
 (0)