Update ping command docstrings and method return type hint. by petyaslavova · Pull Request #3789 · redis/redis-py (original) (raw)

Pull Request Overview

Updates ping command documentation and type hints across Redis client classes to improve clarity and type safety. The changes standardize docstrings to clearly explain the ping functionality and fix return type annotations.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
redis/commands/core.py Updated ping method return type hint and expanded docstring with detailed functionality description
redis/client.py Enhanced ping method docstring with clearer description of functionality
redis/asyncio/client.py Updated ping method return type hint and enhanced docstring to match synchronous version

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.