Пример #1
0
def format_news(news):
    t = format_object(news, VISIBLE)
    return t
Пример #2
0
def format_user(user):
    s = format_object(user, VISIBLE)
    return s
Пример #3
0
def format_team(team):
    t = format_object(team, VISIBLE)
    return t
Пример #4
0
def format_check(check):
    s = format_object(check, VISIBLE)
    return s
Пример #5
0
def format_variable(source):
    visible = list(VISIBLE)
    s = format_object(source, visible)
    return s
Пример #6
0
def format_source(source, config=False):
    visible = list(VISIBLE)
    if config:
        visible.append("configuration")
    s = format_object(source, visible)
    return s
Пример #7
0
def format_rule(rule):
    s = format_object(rule, VISIBLE)
    return s