def inner(fn):
    check.callable_param(fn, 'fn')
    schedule_name = (name or fn.__name__)
    return ScheduleDefinition(name=schedule_name, cron_schedule=cron_schedule, pipeline_name=pipeline_name, run_config_fn=fn, tags=tags, tags_fn=tags_fn, solid_selection=solid_selection, mode=mode, should_execute=should_execute, environment_vars=environment_vars, execution_timezone=execution_timezone)
def inner(fn):
    check.callable_param(fn, 'fn')
    schedule_name = (name or fn.__name__)
    return ScheduleDefinition(name=schedule_name, cron_schedule=cron_schedule, pipeline_name=pipeline_name, run_config_fn=fn, tags=tags, tags_fn=tags_fn, solid_selection=solid_selection, mode=mode, should_execute=should_execute, environment_vars=environment_vars, execution_timezone=execution_timezone)