Skip to content

Commit

Permalink
Remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkuzmik committed Nov 30, 2023
1 parent 1ecf7ac commit 9c10065
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/comet_llm/experiment_api/comet_api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,12 @@ def log_experiment_other(

def _request(self, method: str, path: str, *args, **kwargs) -> ResponseContent: # type: ignore
url = urllib.parse.urljoin(self._comet_url, path)
# request = requests.Request(method, url, headers=self._headers, *args, **kwargs)

# response = self._session.send(request.prepare())
response = self._session.request(
method=method, url=url, headers=self._headers, *args, **kwargs
method=method,
url=url,
headers=self._headers,
*args,
**kwargs,
)
response.raise_for_status()

Expand Down

0 comments on commit 9c10065

Please sign in to comment.