LUCIT-Systems-and-Development / unicorn-fy

A Python SDK by LUCIT to convert received raw data from crypto exchange API endpoints into well-formed python dictionaries.
https://unicorn-fy.docs.lucit.tech
MIT License
54 stars 20 forks source link

Fix "bool object does not support item assignment" error hint. #44

Open Hub-or opened 1 year ago

Hub-or commented 1 year ago

Is your feature request related to a problem? Please describe.

Every time I tried to stop manager with stop_manager_with_all_streams, it hints an error which could be described like function_name -> error: bool object does not support item assignment. And I found out others mentioned this phenomenon with relatively lower frequency, see at: https://github.com/LUCIT-Systems-and-Development/unicorn-fy/issues/30.

Describe the solution you'd like.

Change = False to = {} everywhere in Unicornfy can solve this directly without currently known side effects locally.

Describe alternatives you've considered

No response

Additional context

No response