Skip to content

Commit 4dc8885

Browse files
committed
avoiding errors about override signature
1 parent ddf9ab5 commit 4dc8885

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

atlassian/bitbucket/cloud/repositories/repositoryVariables.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# coding=utf-8
2-
2+
from __future__ import annotations
33
from ..base import BitbucketCloudBase
44

55

66
class RepositoryVariables(BitbucketCloudBase):
77
def __init__(self, url, *args, **kwargs):
88
super(RepositoryVariables, self).__init__(url, *args, **kwargs)
99

10-
def __get_object(self, data):
10+
def __get_object(self, data) -> RepositoryVariable:
1111
return RepositoryVariable(
1212
self.url_joiner(self.url, data["uuid"]),
1313
data,
@@ -61,7 +61,7 @@ def each(self, q=None, sort=None):
6161

6262
return
6363

64-
def get(self, uuid):
64+
def get(self, uuid: str): # type: ignore[override]
6565
"""
6666
Returns the pipeline with the uuid in this repository.
6767

0 commit comments

Comments
 (0)