Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 6, 2024
1 parent 37d38a2 commit 755c598
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/argilla/client/feedback/schemas/responses.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,5 @@ class Config:
def to_server_payload(self) -> Dict[str, Any]:
"""Method that will be used to create the payload that will be sent to Argilla
to create a `ResponseSchema` for a `FeedbackRecord`."""
payload = {
"user_id": self.user_id,
"status": self.status,
**self.dict(exclude_unset=True, include={"values"})
}
payload = {"user_id": self.user_id, "status": self.status, **self.dict(exclude_unset=True, include={"values"})}
return payload

0 comments on commit 755c598

Please sign in to comment.