code: def silence_warnings(*warnings):
      
      for warning in warnings:
          silence(warning)
      try:
          yield
      finally:
          for warning in warnings:
              silence(warning, False)
docs: Context manager for silencing bokeh validation warnings.