TradingAgents/test_mypy.py

9 lines
182 B
Python

def add_numbers(a: int, b: int) -> int:
"""Add two numbers and return the result."""
return a + b
# Test the function
result = add_numbers(1, 2)
print(f"Result: {result}")