Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /BerriAI_litellm /litellm /integrations /additional_logging_utils.py
| """ | |
| Base class for Additional Logging Utils for CustomLoggers | |
| - Health Check for the logging util | |
| - Get Request / Response Payload for the logging util | |
| """ | |
| from abc import ABC, abstractmethod | |
| from datetime import datetime | |
| from litellm.types.integrations.base_health_check import IntegrationHealthCheckStatus | |
| class AdditionalLoggingUtils(ABC): | |
| def __init__(self): | |
| super().__init__() | |
| async def async_health_check(self) -> IntegrationHealthCheckStatus: | |
| """ | |
| Check if the service is healthy | |
| """ | |
| async def get_request_response_payload( | |
| self, | |
| request_id: str, | |
| start_time_utc: datetime | None, | |
| end_time_utc: datetime | None, | |
| ) -> dict | None: | |
| """ | |
| Get the request and response payload for a given `request_id` | |
| """ | |
| return None | |
Xet Storage Details
- Size:
- 876 Bytes
- Xet hash:
- badf285561f9387e4b28d20c61cee6f891720be2bfe850c7e0bf1b6afc8e35f6
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.