You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Added**
- added `required` and `excluded` optional parameters to the TopicPage class to methods `addConcept`, `addKeyword`, `addCategory`, `addSource`, `addSourceLocation` and `addSourceGroup`.
- exceptions are now raised by the SDK library in case of status codes 204, 400, 401 and 403. Previously, the requests were repeated if status code was not 200. In case of these status codes it however doesn't make sense to simply repeat the requests as the query will for sure return the same exception. The meaning of the above status codes is described on the [documentation page](https://eventregistry.org/documentation?tab=introduction).
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,13 @@
1
1
# Change Log
2
2
3
+
## [v8.9]() (2020-10-21)
4
+
5
+
**Added**
6
+
7
+
- added `required` and `excluded` optional parameters to the TopicPage class to methods `addConcept`, `addKeyword`, `addCategory`, `addSource`, `addSourceLocation` and `addSourceGroup`.
8
+
- exceptions are now raised by the SDK library in case of status codes 204, 400, 401 and 403. Previously, the requests were repeated if status code was not 200. In case of these status codes it however doesn't make sense to simply repeat the requests as the query will for sure return the same exception. The meaning of the above status codes is described on the [documentation page](https://eventregistry.org/documentation?tab=introduction).
# list of status codes - when we get them as a response from the call, we don't want to repeat the query as the response will likely always be the same
88
+
self._stopStatusCodes=set([
89
+
204, # Information not available. Request succeeded, but the requested information is not available.
90
+
400, # Bad request. The request was unacceptable, most likely due to invalid or missing parameter.
91
+
401, # User's limit reached. The user reached the limit of the tokens in his account. The requests are rejected.
92
+
403, # Invalid account. The user's IP or account is disabled, potentially due to misuse.
93
+
])
94
+
86
95
# check what is the version of your module compared to the latest one
0 commit comments