.. NOTE: This RST file was generated by `make examples`. Do not edit it directly. See docs/source/examples/example_doc_generator.py .. _ex-inventory: Inventory Example =============================================================================== Example on using type hints to create Atom subclasses. .. TIP:: To see this example in action, download it from :download:`inventory <../../../examples/typehints/inventory.py>` and run:: $ python inventory.py Example Atom Code ------------------------------------------------------------------------------- .. literalinclude:: ../../../examples/typehints/inventory.py :language: python