Skip to content

Commit

Permalink
[CubeSemanticLoader] Add missing format specifier in an error log
Browse files Browse the repository at this point in the history
  • Loading branch information
Priyansh121096 committed Jan 13, 2025
1 parent bbc3e3b commit b505411
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def _get_dimension_values(self, dimension_name: str) -> List[str]:
]
return dimension_values
else:
logger.error("Request failed with status code:", response.status_code)
logger.error("Request failed with status code: %s", response.status_code)

Check failure on line 95 in libs/community/langchain_community/document_loaders/cube_semantic.py

View workflow job for this annotation

GitHub Actions / cd libs/community / make lint #3.13

Ruff (E501)

langchain_community/document_loaders/cube_semantic.py:95:89: E501 Line too long (89 > 88)

Check failure on line 95 in libs/community/langchain_community/document_loaders/cube_semantic.py

View workflow job for this annotation

GitHub Actions / cd libs/community / make lint #3.9

Ruff (E501)

langchain_community/document_loaders/cube_semantic.py:95:89: E501 Line too long (89 > 88)
break

if retries == self.dimension_values_max_retries:
Expand Down

0 comments on commit b505411

Please sign in to comment.