This commit reorganizes the imports in the `api_router.py` file to group related endpoints together. This improves code readability and maintainability.
The code changes in `app/core/config.py` fix the domain whitelist by adding a dot before the domain name `.furyhawk.lol`. This ensures that all subdomains of `furyhawk.lol` are included in the whitelist.
Recent commits:
- Update dev_build.yml to include "release/*" branches for dev-build workflow
- Update pytest coverage threshold to 95% in pyproject.toml
- Skip test for routes that require authentication in test_api_router_jwt_errors.py
- Bump pytest-asyncio from 0.23.6 to 0.23.7
- Bump the all-dependencies group across 1 directory with 10 updates
- Bump pytest-asyncio from 0.21.1 to 0.23.6
- Bump the all-dependencies group across 1 directory with 20 updates
Please note that the commit message should not include any references, tags, or author names.
This commit updates the temperature, humidity, and pressure models in the `models.py` file. It changes the data type of the `temperature`, `humidity`, and `pressure` fields from `float` to `str`.
This commit adds support for creating pets in the API. It includes the following changes:
- Added a new endpoint in the `api_router.py` file to handle pet creation
- Added a new model `Pet` in the `models.py` file to represent a pet
- Added a new request schema `PetCreateRequest` in the `requests.py` file to validate pet creation requests
- Added a new response schema `PetResponse` in the `responses.py` file to represent a pet response
These changes allow users to create pets and retrieve information about them.