| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -957,7 +957,7 @@ def active_branch(self) -> Head: | |||
| 957 | 957 | # reveal_type(self.head.reference) # => Reference | |
| 958 | 958 | return self.head.reference | |
| 959 | 959 | ||
| 960 | - def blame_incremental(self, rev: str | HEAD, file: str, **kwargs: Any) -> Iterator["BlameEntry"]: | ||
| 960 | + def blame_incremental(self, rev: str | HEAD | None, file: str, **kwargs: Any) -> Iterator["BlameEntry"]: | ||
| 961 | 961 | """Iterator for blame information for the given file at the given revision. | |
| 962 | 962 | ||
| 963 | 963 | Unlike :meth:`blame`, this does not return the actual file's contents, only a | |
@@ -1045,7 +1045,7 @@ def blame_incremental(self, rev: str | HEAD, file: str, **kwargs: Any) -> Iterat | |||
| 1045 | 1045 | ||
| 1046 | 1046 | def blame( | |
| 1047 | 1047 | self, | |
| 1048 | - rev: Union[str, HEAD], | ||
| 1048 | + rev: Union[str, HEAD, None], | ||
| 1049 | 1049 | file: str, | |
| 1050 | 1050 | incremental: bool = False, | |
| 1051 | 1051 | rev_opts: Optional[List[str]] = None, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments