@@ -215,8 +215,6 @@ def fail_callback_output(output_value, output):
215
215
valid_children = (str , int , float , type (None ), Component , NoUpdate )
216
216
valid_props = (str , int , float , type (None ), tuple , MutableSequence , NoUpdate )
217
217
218
- print ("================================" )
219
-
220
218
def _raise_invalid (bad_val , outer_val , path , index = None , toplevel = False ):
221
219
bad_type = type (bad_val ).__name__
222
220
outer_id = f"(id={ outer_val .id :s} )" if getattr (outer_val , "id" , False ) else ""
@@ -264,7 +262,6 @@ def _valid_prop(val):
264
262
return isinstance (val , valid_props )
265
263
266
264
def _can_serialize (val ):
267
- print ("checking ability to serialize" )
268
265
if not (_valid_child (val ) or _valid_prop (val )):
269
266
return False
270
267
try :
@@ -276,7 +273,6 @@ def _can_serialize(val):
276
273
def _validate_value (val , index = None ):
277
274
# val is a Component
278
275
if isinstance (val , Component ):
279
- print ("Is Component" )
280
276
unserializable_items = []
281
277
# pylint: disable=protected-access
282
278
for p , j in val ._traverse_with_paths ():
@@ -337,7 +333,6 @@ def _validate_value(val, index=None):
337
333
338
334
if isinstance (output_value , list ):
339
335
for i , val in enumerate (output_value ):
340
- print (val )
341
336
_validate_value (val , index = i )
342
337
else :
343
338
_validate_value (output_value )
0 commit comments