Add Autolink API link (#2632)

Co-authored-by: Enrico Minack <github@enrico.minack.dev>
This commit is contained in:
Trim21
2023-08-09 13:15:56 +02:00
committed by GitHub
co-authored by Enrico Minack
parent e735972edf
commit aedfa0b912
+5
View File
@@ -26,6 +26,11 @@ from github.GithubObject import Attribute, NonCompletableGithubObject, NotSet
class Autolink(NonCompletableGithubObject):
"""
This class represents Repository autolinks.
The reference can be found here https://docs.github.com/en/rest/repos/autolinks?apiVersion=2022-11-28
"""
def _initAttributes(self) -> None:
self._id: Attribute[int] = NotSet
self._key_prefix: Attribute[str] = NotSet