Skip to content

Commit

Permalink
fix: lint error kendra.py:81:89: E501 Line too long (92 > 88 characters)
Browse files Browse the repository at this point in the history
  • Loading branch information
wnleao committed Jul 18, 2023
1 parent af3b0d9 commit 63c44a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion langchain/retrievers/kendra.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ class DocumentAttributeValue(BaseModel, extra=Extra.allow):
@property
def value(self) -> Optional[Union[str, int, List[str]]]:
"""The only defined document attribute value or None.
According to Amazon Kendra, you can only provide one value for a document attribute.
According to Amazon Kendra, you can only provide one
value for a document attribute.
"""
if self.DateValue:
return self.DateValue
Expand Down

0 comments on commit 63c44a0

Please sign in to comment.