def get_financials(self, ticker: str) -> Dict[str, Any]:
        """
        Get financial statements for a ticker.
        
        Args:
            ticker: The ticker symbol (e.g., 'AAPL' for Apple)
            
        Returns:
            Dictionary containing financial statements
        """
        import yfinance as yf
        import pandas as pd
        
        # Get ticker object
        ticker_obj = yf.Ticker(ticker)
        
        # Get financial statements
        income_stmt = ticker_obj.income_stmt
        balance_sheet = ticker_obj.balance_sheet
        cash_flow = ticker_obj.cashflow
        
        # Convert DataFrames to dictionaries
        income_stmt_dict = income_stmt.reset_index().to_dict(orient='records') if not income_stmt.empty else []
        balance_sheet_dict = balance_sheet.reset_index().to_dict(orient='records') if not balance_sheet.empty else []
        cash_flow_dict = cash_flow.reset_index().to_dict(orient='records') if not cash_flow.empty else []
        
        return {
            "income_statement": income_stmt_dict,
            "balance_sheet": balance_sheet_dict,
            "cash_flow": cash_flow_dict,
            "ticker": ticker
        }

        Get financial statements for a ticker.
        
        Args:
            ticker: The ticker symbol (e.g., 'AAPL' for Apple)
            
        Returns:
            Dictionary containing financial statements
        
src/upsonic/tools.py