parameters: (session_dict)
return_statement: return base64.encodestring(pickled + get_query_hash(pickled).encode())
docstring: Returns the given session dictionary pickled and encoded as a string.
docstring_summary: Returns the given session dictionary pickled and encoded as a string.
docstring_tokens: Returns the given session dictionary pickled and encoded as a string .
function: def pickle_encode(session_dict):
      "Returns the given session dictionary pickled and encoded as a string."
      pickled = pickle.dumps(session_dict, pickle.HIGHEST_PROTOCOL)
      return base64.encodestring(pickled + get_query_hash(pickled).encode())
function_tokens: def pickle_encode ( session_dict ) : pickled = pickle . dumps ( session_dict , pickle . HIGHEST_PROTOCOL ) return base64 . encodestring ( pickled + get_query_hash ( pickled ) . encode ( ) )