Add is_alphanumeric attribute to Autolink and Repository.create_autolink (#2630)

This commit is contained in:
Oskar Jansson
2023-08-31 21:08:53 +02:00
committed by GitHub
parent b6ce0ba44b
commit b6a28a26f2
6 changed files with 24 additions and 4 deletions
+6 -1
View File
@@ -123,7 +123,12 @@ class Repository(CompletableGithubObject):
def contents_url(self) -> str: ...
@property
def contributors_url(self) -> str: ...
def create_autolink(self, key_prefix: str, url_template: str) -> Autolink: ...
def create_autolink(
self,
key_prefix: str,
url_template: str,
is_alphanumeric: Union[bool, _NotSetType] = ...,
) -> Autolink: ...
def create_check_run(
self,
name: str,