Skip to content

Commit

Permalink
fix(ci): Fix pylint check error (#1807)
Browse files Browse the repository at this point in the history
  • Loading branch information
fangyinc committed Aug 10, 2024
1 parent 621c5a3 commit 6ddde54
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dbgpt/serve/rag/service/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,7 @@ def create_space(self, request: SpaceServeRequest) -> SpaceServeResponse:
Returns:
SpaceServeResponse: The response
"""
query = {
"name": request.name
}
query = {"name": request.name}
space = self.get(query)
if space is not None:
raise HTTPException(
Expand Down

0 comments on commit 6ddde54

Please sign in to comment.