Skip to content

Commit 73c4bea

Browse files
committed
Incremented minor version
1 parent d9478e9 commit 73c4bea

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

demo/benchmark.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,11 @@ def benchmark_demo(api_key: str) -> None:
2323
)
2424

2525
# build call stream
26-
stream = contract.stream_events(
27-
start_block=0,
28-
live_stream=False
29-
)
26+
stream = contract.stream_events()
3027

3128
# iterate over stream
3229
t1 = time.time()
3330
counter = 0
3431
for _ in stream:
3532
counter += 1
36-
print('\rEPS: {}\t'.format(round(counter / (time.time() - t1), 3)), end='')
33+
print(f'\rEPS: {counter / (time.time() - t1)}\t', end='')

demo/live_calls.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ def live_seaport_calls_demo(api_key: str) -> None:
2121
)
2222

2323
# build call stream
24-
stream = contract.stream_calls()
24+
stream = contract.stream_calls(
25+
live_stream=True
26+
)
2527

2628
# iterate over stream
2729
for call in stream:

demo/live_events.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ def live_seaport_events_demo(api_key: str) -> None:
2222

2323
# build call stream
2424
stream = contract.stream_events(
25-
event_name='OrderFulfilled'
25+
event_name='OrderFulfilled',
26+
live_stream=True
2627
)
2728

2829
# iterate over stream

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
setup(
55
name='transpose_decoding_sdk',
6-
version='1.0.1',
6+
version='1.0.2',
77

88
# meta
99
long_description=long_description,

0 commit comments

Comments
 (0)