8000
Add utility to extract IP address from request (#166) * Add new function to retrieve client IP address * Refactor get_request_model and get_response_model to simplify type checking * Enhance type annotations in test_loggers.py * Update version to 1.3.3 * Added pydantic version 2.10.6 to requirements.txt * Enhance get_source_ip function documentation in utils.py --------- Co-authored-by: gabino <gabino@cuenca.com>
Refactor get_request_model and get_response_model to simplify type ch… …ecking
Update version to 1.3.2.dev2 and add debug print statement in RestApi… …Blueprint for query logging
Feature/add logs to sqs tasks (#159) * Add SQS task logging and improve sensitive data handling * Add setuptools in requirements-test.txt * Update release workflow to trigger on published releases * Constrain fastapi dependency version range * Update version to 1.1.1 * Add starlette dependency note * Refactor get_request_model to improve function type handling * Refactor test utilities and logging imports * Refactor get_request_model * Enhance SQS task logging with task_module and message_attributes * Improve SQS task response logging with else clause * Update SQS task logging status to 'retrying' on task failure * Handle non-serializable responses in SQS task logging * Bump version to 1.2.0 * Add assertions for log entry count in task logging tests * Fix response model handling in RestApiBlueprint and get_sensitive_fields * Bump version 1.2.0.dev1 * Add ReceiptHandle to sqs task logs * Refactor SQS task logging structure and update related tests * Bump version to 1.2.0.dev2 * Add response model logging with sensitive data obfuscation * Remove message_receive_count from SQS task logging * Update test_logging_tasks to use ApproximateReceiveCount from message attributes * Bump version to 1.2.0.dev3 * Add error logging for failed SQS tasks and simplify request model extraction * Improve request and response model extraction in loggers * Enhance test_get_request_model with parametrized type checks * Bump version to 1.2.0.dev4 * Prepare release 1.3.0 * Bump version to 1.3.0.dev1 * Release version 1.3.0 --------- Co-authored-by: gabino <gabino@cuenca.com>