Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
helllllllder committed May 23, 2022
1 parent f75b382 commit 1e722af
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions bothub/api/v2/internal/connect_rest_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ def list_classifiers(
return request.json()

def list_authorizations(self, project_uuid: str, user_email: str) -> List[str]:
classifiers = self.list_classifiers(project_uuid=project_uuid, user_email=user_email)
classifiers = self.list_classifiers(
project_uuid=project_uuid, user_email=user_email
)

return [classifier.get("authorization_uuid") for classifier in classifiers]

Expand All @@ -59,7 +61,9 @@ def remove_authorization(
self, project_uuid: str, authorization_uuid: str, user_email: str
):
classifier_uuid = self.get_authorization_classifier(
project_uuid, authorization_uuid, user_email,
project_uuid,
authorization_uuid,
user_email,
)
request = requests.delete(
url=f"{self.base_url}/v1/organization/project/destroy_classifier/",
Expand Down

0 comments on commit 1e722af

Please sign in to comment.