Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
service
README.rst Python handler -> service. Also refactored mutation to be in-line wit… Jan 22, 2018
config.toml Fixed argparser to make config optional. Updated example. Jun 7, 2018
requirements.txt
service.py

README.rst

Python Service Example

This is an example of a subsystem service implemented in Python.

This service listens on http://127.0.0.1:5000/graphql for graphql queries and mutations. Queries are requests for state information (telemetry). Mutations are equivalent to commands.

There is also a graphiql interface at http://127.0.0.1:5000/graphiql for ease of development.

Note

The IP address and port used by this service is controlled by a file config.yml found in the root python-service directory.

Currently this payload has a single member powerOn.

Example query:

Example mutation: