fix(__init.py__): clean name of resolver for authors search loading
All checks were successful
Deploy on push / deploy (push) Successful in 39s
All checks were successful
Deploy on push / deploy (push) Successful in 39s
This commit is contained in:
parent
b0296d7747
commit
beba1992e9
|
@ -8,7 +8,7 @@ from resolvers.author import ( # search_authors,
|
||||||
get_author_id,
|
get_author_id,
|
||||||
get_authors_all,
|
get_authors_all,
|
||||||
load_authors_by,
|
load_authors_by,
|
||||||
load_authors_search_resolver,
|
load_authors_search,
|
||||||
update_author,
|
update_author,
|
||||||
)
|
)
|
||||||
from resolvers.community import get_communities_all, get_community
|
from resolvers.community import get_communities_all, get_community
|
||||||
|
@ -72,7 +72,7 @@ __all__ = [
|
||||||
"get_author_follows_authors",
|
"get_author_follows_authors",
|
||||||
"get_authors_all",
|
"get_authors_all",
|
||||||
"load_authors_by",
|
"load_authors_by",
|
||||||
"load_authors_search_resolver",
|
"load_authors_search",
|
||||||
"update_author",
|
"update_author",
|
||||||
## "search_authors",
|
## "search_authors",
|
||||||
# community
|
# community
|
||||||
|
|
|
@ -303,7 +303,7 @@ async def load_authors_by(_, _info, by, limit, offset):
|
||||||
|
|
||||||
|
|
||||||
@query.field("load_authors_search")
|
@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.
|
Resolver for searching authors by text. Works with txt-ai search endpony.
|
||||||
Args:
|
Args:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user