gs.profile.status.send
Internals¶
The gs.profile.status.send
does not have a public API,
other than what is provided by the script itself. However, the
internals are documented below.
The script¶
The sendprofile script is provided by the module
script
. The main()
function takes the name of the
default configuration file a single argument, which is normally
supplied by buildout
when it generates the
sendprofile script from the entry point.
The list of people¶
-
gs.profile.status.send.script.
PROFILE_URI
= u'/gs-profile-status-members.html'¶ The URL of the web-hook that returns (as a JSON blob) the list of profile IDs
Sending the notification¶
-
gs.profile.status.send.script.
SEND_STATUS_URI
= u'/gs-profile-status-send.html'¶ The URL of the web-hook used to send a digest to a group
The script proper¶
-
gs.profile.status.send.script.
main
(configFileName=u'etc/gsconfig.ini')[source]¶ Send the profile status to all the members, using web-hooks
Parameters: configFileName (str) – The name of the configuration file.