def METHOD_NAME():
    partition_key_range = ExtPartitionKeyRange(start="2023-01-01", end="2023-01-02")
    time_window = ExtTimeWindow(start="2023-01-01", end="2023-01-02")
    context = _make_external_execution_context(
        partition_key=None,
        partition_key_range=partition_key_range,
        partition_time_window=time_window,
    )
    assert context.is_partition_step
    _assert_undefined(context, "partition_key")
    assert context.partition_key_range == partition_key_range
    assert context.partition_time_window == time_window