code: def _oauth_escape(val):
      if isinstance(val, unicode_type):
          val = val.encode("utf-8")
      return urllib_parse.quote(val, safe="~")
  
imports: from __future__ import absolute_import, division, print_function
  import base64
  import binascii
  import functools
  import hashlib
  import hmac
  import time
  import uuid
  from tornado.concurrent import TracebackFuture, return_future, chain_future
  from tornado import gen
  from tornado import httpclient
  from tornado import escape
  from tornado.httputil import url_concat
  from tornado.log import gen_log
  from tornado.stack_context import ExceptionStackContext
  from tornado.util import unicode_type, ArgReplacer, PY3
label_desc: Use image node_id 5 for calling a global function with example usage: _oauth_escape(val) and returns: urllib_parse