@@ -215,8 +215,6 @@ def fail_callback_output(output_value, output):
215215 valid_children = (str , int , float , type (None ), Component , NoUpdate )
216216 valid_props = (str , int , float , type (None ), tuple , MutableSequence , NoUpdate )
217217
218- print ("================================" )
219-
220218 def _raise_invalid (bad_val , outer_val , path , index = None , toplevel = False ):
221219 bad_type = type (bad_val ).__name__
222220 outer_id = f"(id={ outer_val .id :s} )" if getattr (outer_val , "id" , False ) else ""
@@ -264,7 +262,6 @@ def _valid_prop(val):
264262 return isinstance (val , valid_props )
265263
266264 def _can_serialize (val ):
267- print ("checking ability to serialize" )
268265 if not (_valid_child (val ) or _valid_prop (val )):
269266 return False
270267 try :
@@ -276,7 +273,6 @@ def _can_serialize(val):
276273 def _validate_value (val , index = None ):
277274 # val is a Component
278275 if isinstance (val , Component ):
279- print ("Is Component" )
280276 unserializable_items = []
281277 # pylint: disable=protected-access
282278 for p , j in val ._traverse_with_paths ():
@@ -337,7 +333,6 @@ def _validate_value(val, index=None):
337333
338334 if isinstance (output_value , list ):
339335 for i , val in enumerate (output_value ):
340- print (val )
341336 _validate_value (val , index = i )
342337 else :
343338 _validate_value (output_value )
0 commit comments