missed docstring

This commit is contained in:
codey 2025-01-19 07:05:01 -05:00
parent be0ef08f3d
commit 645d1c49c0

View File

@ -52,10 +52,14 @@ class RedisCache:
await self.notifier.send(f"ERROR @ {__file__}", f"Failed to create idx: {str(e)}") await self.notifier.send(f"ERROR @ {__file__}", f"Failed to create idx: {str(e)}")
async def search(self, **kwargs): async def search(self, **kwargs):
"""Search Redis Cache """
@artist: artist to search Search Redis Cache
@song: song to search Args:
@lyrics: lyrics to search (optional, used in place of artist/song if provided) artist (Optional[str]): artist to search
song (Optional[str]): song to search
lyrics (Optional[str]): lyrics to search (optional, used in place of artist/song if provided)
Returns:
list[tuple]: List of redis results, tuple's first value is the redis key, second is the returned data
""" """
try: try: