Skip to content

Commit

Permalink
fix: remove | syntax to support older python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
nikochiko committed Sep 11, 2024
1 parent 9f25154 commit 3c68e1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gooey/core/http_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,15 +512,15 @@ async def stream(
class GooeyRequestParams(typing.NamedTuple):
"""Custom Request Parameters for Gooey"""

path: str | None
path: typing.Optional[str]
json: typing.Optional[typing.Any]
data: typing.Optional[typing.Any]
files: typing.Optional[typing.Any]


def gooey_process_request_params(
*,
path: str | None,
path: typing.Optional[str],
json: typing.Optional[typing.Any],
data: typing.Optional[typing.Any],
files: typing.Optional[typing.Any],
Expand Down

0 comments on commit 3c68e1a

Please sign in to comment.