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