pricedb/repositories.py
def get_by_id(self, symbol: str) -> SymbolMap:
        """ Finds the map by in-symbol """
        return self.query.filter(SymbolMap.in_symbol == symbol).first()
def get_by_id(self, symbol: str) -> SymbolMap:
        return self.query.filter(SymbolMap.in_symbol == symbol).first()
def get_by_id ( self , symbol : str ) -> SymbolMap : return self . query . filter ( SymbolMap . in_symbol == symbol ) . first ( )
Finds the map by in-symbol
Finds the map by in - symbol