forked from openviess/PyViCare
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Flip feature flags to raise exceptions on certain errors (openviess#102)
* flip feature flags to raise exceptions on certain errors * Adapt readme about breaking change * include name of feature flag in readme * typo
- Loading branch information
Showing
2 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Feature flag to raise an exception in case of a non existing device feature. | ||
# The flag should be fully removed in a later release. | ||
# It allows dependend libraries to gracefully migrate to the new behaviour | ||
raise_exception_on_not_supported_device_feature = False | ||
raise_exception_on_not_supported_device_feature = True | ||
|
||
# Feature flag to raise exception if rate limit of the API is hit | ||
raise_exception_on_rate_limit = False | ||
raise_exception_on_rate_limit = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters