This pull request introduces a new endpoint for calculating the exponentiation of two numbers. The endpoint is added to the maths.py file in the my_tiny_service/api/routers directory, and a corresponding test is added to tests/test_api.py to ensure the functionality works as expected.
Changes made:
Added a new endpoint in maths.py for exponentiation.
Added a new test in tests/test_api.py to test the exponentiation endpoint.
This feature enhances the mathematical capabilities of our API by allowing users to calculate the exponentiation of two numbers.
This pull request introduces a new endpoint for calculating the exponentiation of two numbers. The endpoint is added to the
maths.py
file in themy_tiny_service/api/routers
directory, and a corresponding test is added totests/test_api.py
to ensure the functionality works as expected.Changes made:
maths.py
for exponentiation.tests/test_api.py
to test the exponentiation endpoint.This feature enhances the mathematical capabilities of our API by allowing users to calculate the exponentiation of two numbers.