Refactoring of the SQL method `get_state`
- searching posts: using
get_discussionSQL method instead of recursion in python - using
liteSQL methodhive_accounts_info_view_liteinstead ofhive_accounts_info_viewwhen accounts are searched
get_discussion SQL method instead of recursion in pythonlite SQL method hive_accounts_info_view_lite instead of hive_accounts_info_view when accounts are searched