Exemple #1
0
def create_posting(topic, creator, body):
    return Posting.create(topic, creator, body)
Exemple #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)