systemd-python: document attributes

In id128 it would be better to add everything automatically, but
sphinx cannot do this right now.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2013-02-28 20:04:17 -05:00
parent a244c095c2
commit df2795d9f9
2 changed files with 54 additions and 0 deletions
+31
View File
@@ -5,3 +5,34 @@
:members:
:undoc-members:
:inherited-members:
.. autoattribute:: systemd.id128.SD_MESSAGE_COREDUMP
.. autoattribute:: systemd.id128.SD_MESSAGE_FORWARD_SYSLOG_MISSED
.. autoattribute:: systemd.id128.SD_MESSAGE_HIBERNATE_KEY
.. autoattribute:: systemd.id128.SD_MESSAGE_JOURNAL_DROPPED
.. autoattribute:: systemd.id128.SD_MESSAGE_JOURNAL_MISSED
.. autoattribute:: systemd.id128.SD_MESSAGE_JOURNAL_START
.. autoattribute:: systemd.id128.SD_MESSAGE_JOURNAL_STOP
.. autoattribute:: systemd.id128.SD_MESSAGE_LID_CLOSED
.. autoattribute:: systemd.id128.SD_MESSAGE_LID_OPENED
.. autoattribute:: systemd.id128.SD_MESSAGE_OVERMOUNTING
.. autoattribute:: systemd.id128.SD_MESSAGE_POWER_KEY
.. autoattribute:: systemd.id128.SD_MESSAGE_SEAT_START
.. autoattribute:: systemd.id128.SD_MESSAGE_SEAT_STOP
.. autoattribute:: systemd.id128.SD_MESSAGE_SESSION_START
.. autoattribute:: systemd.id128.SD_MESSAGE_SESSION_STOP
.. autoattribute:: systemd.id128.SD_MESSAGE_SHUTDOWN
.. autoattribute:: systemd.id128.SD_MESSAGE_SLEEP_START
.. autoattribute:: systemd.id128.SD_MESSAGE_SLEEP_STOP
.. autoattribute:: systemd.id128.SD_MESSAGE_SPAWN_FAILED
.. autoattribute:: systemd.id128.SD_MESSAGE_STARTUP_FINISHED
.. autoattribute:: systemd.id128.SD_MESSAGE_SUSPEND_KEY
.. autoattribute:: systemd.id128.SD_MESSAGE_TIMEZONE_CHANGE
.. autoattribute:: systemd.id128.SD_MESSAGE_TIME_CHANGE
.. autoattribute:: systemd.id128.SD_MESSAGE_UNIT_FAILED
.. autoattribute:: systemd.id128.SD_MESSAGE_UNIT_RELOADED
.. autoattribute:: systemd.id128.SD_MESSAGE_UNIT_RELOADING
.. autoattribute:: systemd.id128.SD_MESSAGE_UNIT_STARTED
.. autoattribute:: systemd.id128.SD_MESSAGE_UNIT_STARTING
.. autoattribute:: systemd.id128.SD_MESSAGE_UNIT_STOPPED
.. autoattribute:: systemd.id128.SD_MESSAGE_UNIT_STOPPING
+23
View File
@@ -22,3 +22,26 @@ Accessing the Journal
:inherited-members:
.. automethod:: __init__
.. autoattribute:: systemd.journal.DEFAULT_CONVERTERS
Whence constants
~~~~~~~~~~~~~~~~
.. autoattribute:: systemd.journal.SEEK_SET
.. autoattribute:: systemd.journal.SEEK_CUR
.. autoattribute:: systemd.journal.SEEK_END
Journal access types
~~~~~~~~~~~~~~~~~~~~
.. autoattribute:: systemd.journal.LOCAL_ONLY
.. autoattribute:: systemd.journal.RUNTIME_ONLY
.. autoattribute:: systemd.journal.SYSTEM_ONLY
Journal event types
~~~~~~~~~~~~~~~~~~~
.. autoattribute:: systemd.journal.NOP
.. autoattribute:: systemd.journal.APPEND
.. autoattribute:: systemd.journal.INVALIDATE