We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1530fd2 commit 2e02b09Copy full SHA for 2e02b09
git/types.py
@@ -194,9 +194,13 @@ class HSH_TD(TypedDict):
194
195
@runtime_checkable
196
class Has_Repo(Protocol):
197
+ """Protocol for having a :attr:`repo` attribute, the repository to operate on."""
198
+
199
repo: "Repo"
200
201
202
203
class Has_id_attribute(Protocol):
204
+ """Protocol for having :attr:`_id_attribute_` used in iteration and traversal."""
205
206
_id_attribute_: str
0 commit comments