@@ -151,8 +151,9 @@ def __init__(self, **kwargs):
151
151
self .is_error = False
152
152
153
153
def __repr__ (self ):
154
- return "DetectLanguageResult(id={}, primary_language={}, warnings={}, statistics={}, is_error={})" \
155
- .format (self .id , repr (self .primary_language ), repr (self .warnings ), repr (self .statistics ), self .is_error )[:1024 ]
154
+ return "DetectLanguageResult(id={}, primary_language={}, warnings={}, statistics={}, " \
155
+ "is_error={})" .format (self .id , repr (self .primary_language ), repr (self .warnings ),
156
+ repr (self .statistics ), self .is_error )[:1024 ]
156
157
157
158
158
159
class CategorizedEntity (DictMixin ):
@@ -374,9 +375,10 @@ def __init__(self, **kwargs):
374
375
self .is_error = False
375
376
376
377
def __repr__ (self ):
377
- return "AnalyzeSentimentResult(id={}, sentiment={}, warnings={}, statistics={}, confidence_scores={}, sentences={}, " \
378
- "is_error={})" .format (self .id , self .sentiment , repr (self .warnings ), repr (self .statistics ), repr (self .confidence_scores ),
379
- repr (self .sentences ), self .is_error )[:1024 ]
378
+ return "AnalyzeSentimentResult(id={}, sentiment={}, warnings={}, statistics={}, confidence_scores={}, " \
379
+ "sentences={}, is_error={})" .format (
380
+ self .id , self .sentiment , repr (self .warnings ), repr (self .statistics ),
381
+ repr (self .confidence_scores ), repr (self .sentences ), self .is_error )[:1024 ]
380
382
381
383
382
384
class TextDocumentStatistics (DictMixin ):
0 commit comments