File: function_imports.rst

package info (click to toggle)
python-pyodata 1.11.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,280 kB
  • sloc: python: 7,170; xml: 947; makefile: 67; sh: 15
file content (12 lines) | stat: -rw-r--r-- 248 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
Function imports
================

Calling a function import
-------------------------

.. code-block:: python

    products = northwind.functions.GetProductsByRating.parameter('rating', 16).execute()

    for prod in products:
        print(prod)