Skip to content

Commit

Permalink
set default to "" instead of None (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
wenzhe-log10 authored Apr 1, 2024
1 parent ee96a25 commit 5c2567d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion log10/feedback/feedback.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def create(
res = self._post_request(self.feedback_create_url, json_payload)
return res

def list(self, offset: int = 0, limit: int = 50, task_id: str = None) -> httpx.Response:
def list(self, offset: int = 0, limit: int = 50, task_id: str = "") -> httpx.Response:
base_url = self._log10_config.url
api_url = "/api/v1/feedback"
url = f"{base_url}{api_url}?organization_id={self._log10_config.org_id}&offset={offset}&limit={limit}&task_id={task_id}"
Expand Down

0 comments on commit 5c2567d

Please sign in to comment.