You've already forked RekomenciBackend
add skills endpoints
This commit is contained in:
@@ -102,3 +102,18 @@ class TestApiGateway:
|
||||
},
|
||||
headers=make_auth_headers(access_token),
|
||||
)
|
||||
|
||||
async def add_key_skill(
|
||||
self,
|
||||
key_skills: list[str],
|
||||
) -> Response:
|
||||
return await self._client.post(
|
||||
"/key_skills",
|
||||
json={"key_skills": key_skills},
|
||||
)
|
||||
|
||||
async def search_key_skills(self, query: str) -> Response:
|
||||
return await self._client.get(
|
||||
"/key_skills",
|
||||
params={"query": query},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user