mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-02-14 10:30:51 +03:00
Add missing docstrings
This commit is contained in:
parent
f8255e820d
commit
6d4fd9fb03
|
@ -12,6 +12,7 @@ class GiphyClient:
|
|||
self._timeout = ClientTimeout(timeout)
|
||||
|
||||
async def search(self, query, limit):
|
||||
"""Make search API call and return result."""
|
||||
if not query:
|
||||
return []
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@ class SearchService:
|
|||
self._giphy_client = giphy_client
|
||||
|
||||
async def search(self, query, limit):
|
||||
"""Search for gifs and return formatted data."""
|
||||
if not query:
|
||||
return []
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user