The Bolt module status is not working

can you share your code

@kuntalmitra02 Kindly upgrade to python 3.8 or higher. Check this thread out to learn more.

Also add a space before the :,
previous_logger_level : int =logger.level

Do let me know if you need any other help.

When I try to install python 3.8 they say package not found.

The above error occur because python version not get updated and try to install boiltiot library. Try to update the version and bolitiot library by following command:
sudo apt-get -y update
sudo apt install python3-pip
sudo pip3 install boltiot

@kuntalmitra02 Please follow the detailed instructions given by @rahul.singh1 here. It should resolve the issue.