-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Request options support, Python version upgrade, and serialized enum …
…support (#77) Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Co-authored-by: Armando Belardo <[email protected]>
- Loading branch information
1 parent
ca3049f
commit 18e8e7b
Showing
184 changed files
with
24,328 additions
and
7,674 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# This file was auto-generated by Fern from our API Definition. | ||
|
||
import typing | ||
|
||
try: | ||
from typing import NotRequired # type: ignore | ||
except ImportError: | ||
from typing_extensions import NotRequired # type: ignore | ||
|
||
|
||
class RequestOptions(typing.TypedDict): | ||
""" | ||
Additional options for request-specific configuration when calling APIs via the SDK. | ||
This is used primarily as an optional final parameter for service functions. | ||
Attributes: | ||
- timeout_in_seconds: int. The number of seconds to await an API call before timing out. | ||
- additional_headers: typing.Dict[str, typing.Any]. A dictionary containing additional parameters to spread into the request's header dict | ||
- additional_query_parameters: typing.Dict[str, typing.Any]. A dictionary containing additional parameters to spread into the request's query parameters dict | ||
- additional_body_parameters: typing.Dict[str, typing.Any]. A dictionary containing additional parameters to spread into the request's body parameters dict | ||
""" | ||
|
||
timeout_in_seconds: NotRequired[int] | ||
additional_headers: NotRequired[typing.Dict[str, typing.Any]] | ||
additional_query_parameters: NotRequired[typing.Dict[str, typing.Any]] | ||
additional_body_parameters: NotRequired[typing.Dict[str, typing.Any]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.