def run_inside_another_thread(transport):
with get_default_tracer().zipkin_span(<EOL>service_name='<STR_LIT>',<EOL>span_name='<STR_LIT:index>',<EOL>transport_handler=transport,<EOL>sample_rate=<NUM_LIT>,<EOL>encoding=Encoding.V2_JSON,<EOL>):<EOL><INDENT>do_stuff()<EOL><DEDENT>
Run this function inside a different thread.

    :param transport: transport handler. We need to pass it in since any
        assertion we do inside this thread gets silently swallowed, so we
        need a way to return the results to the main thread.
    :type transport: MockTransportHandler