Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions docs/source/sensors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,18 @@ For example:
self._logger = self.sensor_service.get_logger(name=self.__class__.__name__)
self._logger.debug('Polling 3rd party system for information')

2. get_user_info(name)
~~~~~~~~~~~~~~~~~~~

This method allows the sensor instance to retrieve the user can retrieve information
about the user account which is used to perform datastore operations.
Comment on lines +134 to +135
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not clear. Could you clean it up?


For example:

.. code-block:: python

username_info = self.sensor_service.get_user_info()

.. _ref-sensors-datastore-management-operations:

Datastore Management Operations
Expand Down