AI module service for the NI project.
This Python package is automatically generated by the Swagger Codegen project:
- API version: 1.0.0
- Package version: 1.0.0
- Build package: io.swagger.codegen.languages.PythonClientCodegen
Python 2.7 and 3.4+
If the python package is hosted on Github, you can install directly from Github
pip install git+https://github.com//.git
(you may need to run pip
with root permission: sudo pip install git+https://github.com//.git
)
Then import the package:
import ai_module_client
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install
to install the package for all users)
Then import the package:
import ai_module_client
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import ai_module_client
from ai_module_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = ai_module_client.AiModuleApi(ai_module_client.ApiClient(configuration))
try:
# Notify AI module of SFC request arrival / departure event.
api_instance.sfcr_event()
except ApiException as e:
print("Exception when calling AiModuleApi->sfcr_event: %s\n" % e)
All URIs are relative to http://localhost:8282/v2
Class | Method | HTTP request | Description |
---|---|---|---|
AiModuleApi | sfcr_event | POST /sfcr_event | Notify AI module of SFC request arrival / departure event. |
All endpoints do not require authorization.