Skip to content

Commit 4a2e0fb

Browse files
linting
1 parent 673afb0 commit 4a2e0fb

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/groundlight/experimental_api.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -1080,16 +1080,17 @@ def make_raw_rest_request(self, method: str, endpoint: str, body: Union[dict, No
10801080
response = requests.request(method, url, headers=headers, json=body)
10811081
return response.json()
10821082

1083-
def make_generic_api_request(
1083+
def make_generic_api_request( # noqa: PLR0913 # pylint: disable=too-many-arguments
10841084
self,
10851085
endpoint: str,
10861086
method: str,
1087-
headers: dict = None,
1087+
headers: Union[dict, None] = None,
10881088
body: Union[dict, None] = None,
10891089
files=None,
10901090
) -> HTTPResponse:
10911091
"""
1092-
Make a generic API request to the specified endpoint, utilizing many of the provided tools from the generated api client
1092+
Make a generic API request to the specified endpoint, utilizing many of the provided tools
1093+
from the generated api client
10931094
10941095
:param endpoint: the endpoint to send the request to - the url path appended after the
10951096
endpoint including a / at the beginging

0 commit comments

Comments
 (0)