X Tutup
Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 899 Bytes

File metadata and controls

47 lines (32 loc) · 899 Bytes

System hooks

Reference

Examples

List the system hooks:

.. literalinclude:: system_hooks.py
   :start-after: # list
   :end-before: # end list

Create a system hook:

.. literalinclude:: system_hooks.py
   :start-after: # create
   :end-before: # end create

Test a system hook. The returned object is not usable (it misses the hook ID):

.. literalinclude:: system_hooks.py
   :start-after: # test
   :end-before: # end test

Delete a system hook:

.. literalinclude:: system_hooks.py
   :start-after: # delete
   :end-before: # end delete
X Tutup