pricedb/app.py
def download_price(self, symbol: str, currency: str, agent: str) -> PriceModel:
        """ Download and save price online """
        price = self.__download_price(symbol, currency, agent)
        self.save()
        return price
def download_price(self, symbol: str, currency: str, agent: str) -> PriceModel:
        price = self.__download_price(symbol, currency, agent)
        self.save()
        return price
def download_price ( self , symbol : str , currency : str , agent : str ) -> PriceModel : price = self . __download_price ( symbol , currency , agent ) self . save ( ) return price
Download and save price online
Download and save price online