File: examples.rst

package info (click to toggle)
python-oslo.context 2.2.0-2~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 232 kB
  • sloc: python: 476; makefile: 43
file content (37 lines) | stat: -rw-r--r-- 715 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
==========
 Examples
==========

.. _examples:

These files can be found in the doc/source/examples directory of
the git source of this project.  They can also be found at the
`online git respository`_ of this project.

.. _online git respository: http://git.openstack.org/cgit/openstack/oslo.context/tree/doc/source/examples


.. _example_usage_simple.py:

usage_simple.py
---------------

.. highlight:: python
.. literalinclude:: examples/usage_simple.py
   :linenos:

.. _example_usage.py:

usage.py
--------

.. literalinclude:: examples/usage.py
   :linenos:

.. _example_usage_user_identity.py:

usage_user_identity.py
----------------------

.. literalinclude:: examples/usage_user_identity.py
   :linenos: