Skip to content

Commit

Permalink
feat(client): allow passing NotGiven for body (#63)
Browse files Browse the repository at this point in the history
fix(client): mark some request bodies as optional
  • Loading branch information
stainless-app[bot] committed Feb 21, 2025
1 parent a422668 commit a62be8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gitpod/_base_client.py
Original file line number Diff line number Diff line change
@@ -518,7 +518,7 @@ def _build_request(
# so that passing a `TypedDict` doesn't cause an error.
# https://github.com/microsoft/pyright/issues/3526#event-6715453066
params=self.qs.stringify(cast(Mapping[str, Any], params)) if params else None,
json=json_data,
json=json_data if is_given(json_data) else None,
files=files,
**kwargs,
)

0 comments on commit a62be8a

Please sign in to comment.