def start(): # initializing nodes data_path = "../assets/" parser = Parser(data_path).getInstance() parking_container = parser.read_parking_container() subscriberThread = MQTTSubscriber("MQTT", parking_container) subscriberThread.start()
from utils.parser import Parser if __name__ == "__main__": data_path = "../assets/" parser = Parser(data_path).getInstance() parking_container = parser.read_parking_container()