fix(__init.py__): clean name of resolver for authors search loading
All checks were successful
Deploy on push / deploy (push) Successful in 39s

This commit is contained in:
Stepan Vladovskiy 2025-04-29 19:49:47 -03:00
parent b0296d7747
commit beba1992e9
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ from resolvers.author import ( # search_authors,
get_author_id,
get_authors_all,
load_authors_by,
load_authors_search_resolver,
load_authors_search,
update_author,
)
from resolvers.community import get_communities_all, get_community
@ -72,7 +72,7 @@ __all__ = [
"get_author_follows_authors",
"get_authors_all",
"load_authors_by",
"load_authors_search_resolver",
"load_authors_search",
"update_author",
## "search_authors",
# community

View File

@ -303,7 +303,7 @@ async def load_authors_by(_, _info, by, limit, offset):
@query.field("load_authors_search")
async def load_authors_search_resolver(_, info, text: str, limit: int = 10, offset: int = 0):
async def load_authors_search(_, info, text: str, limit: int = 10, offset: int = 0):
"""
Resolver for searching authors by text. Works with txt-ai search endpony.
Args: