Skip to content

Commit

Permalink
fix: remove ProviderEvent.PROVIDER_FATAL (#307)
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Bond <federicobond@gmail.com>
  • Loading branch information
federicobond authored Mar 28, 2024
1 parent f00bc89 commit de36b21
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions openfeature/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@ class ProviderEvent(Enum):
PROVIDER_READY = "PROVIDER_READY"
PROVIDER_CONFIGURATION_CHANGED = "PROVIDER_CONFIGURATION_CHANGED"
PROVIDER_ERROR = "PROVIDER_ERROR"
PROVIDER_FATAL = "PROVIDER_FATAL"
PROVIDER_STALE = "PROVIDER_STALE"

__status__: ClassVar[Dict[ProviderStatus, str]] = {
ProviderStatus.READY: PROVIDER_READY,
ProviderStatus.ERROR: PROVIDER_ERROR,
ProviderStatus.FATAL: PROVIDER_FATAL,
ProviderStatus.FATAL: PROVIDER_ERROR,
ProviderStatus.STALE: PROVIDER_STALE,
}

Expand Down

0 comments on commit de36b21

Please sign in to comment.