Skip to content

Commit 9d5af33

Browse files
committed
Python 3.8 compatibility change
1 parent 1944bce commit 9d5af33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gradio_args_transport.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class GradioComponentBundle:
66
def __init__(self):
77
self.internal = {}
88

9-
def append(self, thing: (str | enum.Enum, gr.components.Component)):
9+
def append(self, thing): # thing: (str | enum.Enum, gr.components.Component)
1010
if isinstance(thing, GradioComponentBundle):
1111
keys = list(thing.internal.keys())
1212
for key in keys:

0 commit comments

Comments
 (0)