| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1530fd2 commit 2e02b09
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -194,9 +194,13 @@ class HSH_TD(TypedDict): | |||
| 194 | 194 | ||
| 195 | 195 | @runtime_checkable | |
| 196 | 196 | class Has_Repo(Protocol): | |
| 197 | + """Protocol for having a :attr:`repo` attribute, the repository to operate on.""" | ||
| 198 | + | ||
| 197 | 199 | repo: "Repo" | |
| 198 | 200 | ||
| 199 | 201 | ||
| 200 | 202 | @runtime_checkable | |
| 201 | 203 | class Has_id_attribute(Protocol): | |
| 204 | + """Protocol for having :attr:`_id_attribute_` used in iteration and traversal.""" | ||
| 205 | + | ||
| 202 | 206 | _id_attribute_: str | |
| Back | FazBrowse Home | New Git URL |
0 commit comments