# Path: app/util.py
# def data_from_request():
# def is_unblocked_by_rule(lt, h, d):
# def get_by_list(dic, keys):
# def to_iso_date_string(date):
# def from_iso_date_string(date):
# 
# Path: app/state.py



import time
from app import util
from app import state


def generate_info(config):
    info_list = []
    for env, rule_set in config.items():
        if not are_gates_open(config, env):
            info_list.append(
                env + ' Gates are closed for api calls because there isn\'t any rule for this time to enable manual settings.')
    return info_list


def test_against_global_rules(rules, env, lt):
    blocking_rules = set()

# Path: app/util.py
# def data_from_request():
# def is_unblocked_by_rule(lt, h, d):
# def get_by_list(dic, keys):
# def to_iso_date_string(date):
# def from_iso_date_string(date):
# 
# Path: app/state.py



# Path: app/gates.py
import time
from app import util
from app import state



def generate_info(config):
    info_list = []
    for env, rule_set in config.items():
        if not are_gates_open(config, env):
            info_list.append(
                env + ' Gates are closed for api calls because there isn\'t any rule for this time to enable manual settings.')
    return info_list


def test_against_global_rules(rules, env, lt):
    blocking_rules = set()

    unblocking_rules = set()