MCPcopy Create free account
hub / github.com/CivilHub/CivilHub / save

Method save

postman/forms.py:102–150  ·  view source on GitHub ↗

Save as many messages as there are recipients. Additional actions: - If it's a reply, build a conversation - Call auto-moderators - Notify parties if needed Return False if one of the messages is rejected.

(self, recipient=None, parent=None, auto_moderators=[])

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

saveMethod · 0.45
test_templateMethod · 0.45
test_cleanMethod · 0.45
testMethod · 0.45
test_moderated_countMethod · 0.45
test_update_parentMethod · 0.45

Calls 12

get_user_modelFunction · 0.90
get_moderationMethod · 0.80
get_datesMethod · 0.80
auto_moderateMethod · 0.80
clean_moderationMethod · 0.80
clean_for_visitorMethod · 0.80
is_rejectedMethod · 0.80
update_parentMethod · 0.80
notify_usersMethod · 0.80
set_moderationMethod · 0.80
set_datesMethod · 0.80
getMethod · 0.45

Tested by 11

test_templateMethod · 0.36
test_cleanMethod · 0.36
testMethod · 0.36
test_moderated_countMethod · 0.36
test_update_parentMethod · 0.36