missed docstring
This commit is contained in:
parent
be0ef08f3d
commit
645d1c49c0
@ -52,10 +52,14 @@ class RedisCache:
|
||||
await self.notifier.send(f"ERROR @ {__file__}", f"Failed to create idx: {str(e)}")
|
||||
|
||||
async def search(self, **kwargs):
|
||||
"""Search Redis Cache
|
||||
@artist: artist to search
|
||||
@song: song to search
|
||||
@lyrics: lyrics to search (optional, used in place of artist/song if provided)
|
||||
"""
|
||||
Search Redis Cache
|
||||
Args:
|
||||
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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user