Exemplo n.º 1
0
def create_posting(topic, creator, body):
    return Posting.create(topic, creator, body)
Exemplo n.º 2
0
def create_posting(topic, creator, *, number=1, body=None):
    if body is None:
        body = 'Inhalt von Beitrag {}.'.format(number)

    return Posting.create(topic, creator, body)