code: def to_wsgi_str(s: bytes) -> str:
      assert isinstance(s, bytes)
      return s.decode("latin1")
  
file_path: catboost/contrib/python/tornado/tornado-6/tornado/wsgi.py
imports: import concurrent.futures
  from io import BytesIO
  import tornado
  import sys
  from tornado.concurrent import dummy_executor
  from tornado import escape
  from tornado import httputil
  from tornado.ioloop import IOLoop
  from tornado.log import access_log
  from typing import List, Tuple, Optional, Callable, Any, Dict, Text
  from types import TracebackType
  import typing
label_desc: Use image node_id 1 for calling a global function with example usage: to_wsgi_str(s) and returns: s