Skip to content

Commit 30c4e2c

Browse files
committed
docs: Add deprecation note to readme.md (box/box-codegen#835)
1 parent 4cdeec7 commit 30c4e2c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.codegen.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ "engineHash": "87747c8", "specHash": "a05e5d7", "version": "0.1.0" }
1+
{ "engineHash": "0271743", "specHash": "a05e5d7", "version": "0.1.0" }

box_sdk_gen/box/event_stream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def _get_long_poll_info(self):
116116
info = self._events_manager.get_events_with_long_polling()
117117

118118
server = next(
119-
(e for e in (info.entries or []) if e.type == 'realtime_server'), None
119+
(e for e in info.entries or [] if e.type == 'realtime_server'), None
120120
)
121121
if not server:
122122
raise BoxSDKError(message='No realtime server found in the response.')

0 commit comments

Comments
 (0)