def execute_from_schema(schema: BaseSchema, checks: Iterable[Callable], *, workers_num: int=1, hypothesis_options: Optional[Dict[(str, Any)]]=None, auth: Optional[RawAuth]=None, auth_type: Optional[str]=None, headers: Optional[Dict[(str, Any)]]=None, request_timeout: Optional[int]=None, seed: Optional[int]=None) -> Generator[(events.ExecutionEvent, None, None)]:
    'Execute tests for the given schema.\n\n    Provides the main testing loop and preparation step.\n    '
    runner: BaseRunner
    if (workers_num > 1):
        if schema.app:
            runner = ThreadPoolWSGIRunner(schema=schema, checks=checks, hypothesis_settings=hypothesis_options, auth=auth, auth_type=auth_type, headers=headers, seed=seed, workers_num=workers_num)
        else:
            runner = ThreadPoolRunner(schema=schema, checks=checks, hypothesis_settings=hypothesis_options, auth=auth, auth_type=auth_type, headers=headers, seed=seed, request_timeout=request_timeout)
    elif schema.app:
        runner = SingleThreadWSGIRunner(schema=schema, checks=checks, hypothesis_settings=hypothesis_options, auth=auth, auth_type=auth_type, headers=headers, seed=seed)
    else:
        runner = SingleThreadRunner(schema=schema, checks=checks, hypothesis_settings=hypothesis_options, auth=auth, auth_type=auth_type, headers=headers, seed=seed, request_timeout=request_timeout)
    (yield from runner.execute())
Execute tests for the given schema.

Provides the main testing loop and preparation step.
def execute_from_schema(schema: BaseSchema, checks: Iterable[Callable], *, workers_num: int=1, hypothesis_options: Optional[Dict[(str, Any)]]=None, auth: Optional[RawAuth]=None, auth_type: Optional[str]=None, headers: Optional[Dict[(str, Any)]]=None, request_timeout: Optional[int]=None, seed: Optional[int]=None) -> Generator[(events.ExecutionEvent, None, None)]:
    'Execute tests for the given schema.\n\n    Provides the main testing loop and preparation step.\n    '
    runner: BaseRunner
    if (workers_num > 1):
        if schema.app:
            runner = ThreadPoolWSGIRunner(schema=schema, checks=checks, hypothesis_settings=hypothesis_options, auth=auth, auth_type=auth_type, headers=headers, seed=seed, workers_num=workers_num)
        else:
            runner = ThreadPoolRunner(schema=schema, checks=checks, hypothesis_settings=hypothesis_options, auth=auth, auth_type=auth_type, headers=headers, seed=seed, request_timeout=request_timeout)
    elif schema.app:
        runner = SingleThreadWSGIRunner(schema=schema, checks=checks, hypothesis_settings=hypothesis_options, auth=auth, auth_type=auth_type, headers=headers, seed=seed)
    else:
        runner = SingleThreadRunner(schema=schema, checks=checks, hypothesis_settings=hypothesis_options, auth=auth, auth_type=auth_type, headers=headers, seed=seed, request_timeout=request_timeout)
    (yield from runner.execute())