<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def new_session(self, zipkin_trace_v2, v2_ui=False):
 """Creates a new SchedulerSession for this Scheduler."""

    return SchedulerSession(self, self._native.new_session(
      self._scheduler, zipkin_trace_v2, v2_ui, multiprocessing.cpu_count())
    )