This pull request introduces a new endpoint to the API that allows users to calculate the exponentiation of two numbers. The endpoint is defined in my_tiny_service/api/routers/maths.py and is accompanied by a corresponding test in tests/test_api.py to ensure its functionality.
Changes
Added /exponentiation endpoint in maths.py.
Included a test for the new endpoint in test_api.py.
This feature enhances the API's mathematical capabilities and provides users with a tool for exponentiation calculations.
This pull request introduces a new endpoint to the API that allows users to calculate the exponentiation of two numbers. The endpoint is defined in
my_tiny_service/api/routers/maths.py
and is accompanied by a corresponding test intests/test_api.py
to ensure its functionality.Changes
/exponentiation
endpoint inmaths.py
.test_api.py
.This feature enhances the API's mathematical capabilities and provides users with a tool for exponentiation calculations.