Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tyiuhc committed Jul 3, 2024
1 parent 916e5c1 commit 013ffc9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/amplitude_experiment/exception.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
from typing import List, Tuple


class FetchException(Exception):
def __init__(self, status_code, message):
super().__init__(message)
Expand All @@ -11,6 +8,7 @@ class CohortNotModifiedException(Exception):
def __init__(self, message):
super().__init__(message)


class CohortTooLargeException(Exception):
def __init__(self, message):
super().__init__(message)
Expand All @@ -21,6 +19,7 @@ def __init__(self, status_code, message):
super().__init__(message)
self.status_code = status_code


class CohortUpdateException(Exception):
def __init__(self, errors):
self.errors = errors
Expand All @@ -35,5 +34,3 @@ def __str__(self):
else:
error_messages.append(str(item))
return f"One or more cohorts failed to update:\n" + "\n".join(error_messages)


0 comments on commit 013ffc9

Please sign in to comment.