We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0203d8 commit d609b51Copy full SHA for d609b51
jigsawstack/sentiment.py
@@ -4,6 +4,7 @@
4
from .async_request import AsyncRequest
5
from typing import List, Union
6
from ._config import ClientConfig
7
+from ._types import BaseResponse
8
9
10
class SentimentParams(TypedDict):
@@ -36,11 +37,7 @@ class SentimentResult(TypedDict):
36
37
sentences: List[SentimentSentenceResult]
38
39
-class SentimentResponse(TypedDict):
40
- success: bool
41
- """
42
- Indicates whether the translation was successful.
43
+class SentimentResponse(BaseResponse):
44
sentiment: SentimentResult
45
46
0 commit comments