diff --git a/atlassian/bitbucket/cloud/repositories/pullRequests.py b/atlassian/bitbucket/cloud/repositories/pullRequests.py index b2a836ff0..d9c31ad77 100644 --- a/atlassian/bitbucket/cloud/repositories/pullRequests.py +++ b/atlassian/bitbucket/cloud/repositories/pullRequests.py @@ -363,7 +363,7 @@ class Build(BitbucketCloudBase): STATE_STOPPED = "STOPPED" STATE_SUCCESSFUL = "SUCCESSFUL" - def __init__(self, data, *args, **kwargs) -> None: + def __init__(self, data, *args, **kwargs): super(Build, self).__init__(None, None, *args, data=data, expected_type="build", **kwargs) @property