Skip to content

Commit

Permalink
refactor(http_client): covnert _prepare_headers to classmethod
Browse files Browse the repository at this point in the history
  • Loading branch information
teocns committed Nov 29, 2024
1 parent 4f8f1eb commit 793b196
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion agentops/http_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,9 @@ def get_session(cls) -> requests.Session:

return cls._session

@staticmethod
@classmethod
def _prepare_headers(
cls,
api_key: Optional[str] = None,
parent_key: Optional[str] = None,
jwt: Optional[str] = None,
Expand Down

0 comments on commit 793b196

Please sign in to comment.