{% extends 'base.html' %} {% block title %}IvoryOS | New devices{% endblock %} {% block body %}
Available Python API

{% for instrument in api_variables %} {% endfor %}
{% if device %}
Connecting

Name this device
Name your instrument, avoid names that are defined on the right
{% for arg in device.__init__.__annotations__ %} {% if not arg == "return" %}
{{arg}} {% if device.__init__.__annotations__[arg].__module__ is not in ["builtins", "typing"] %} initialize {{device.__init__.__annotations__[arg].__name__}} first {% endif %}
{% endif %} {% endfor %}
{% endif %}
Defined Instruments

{% if defined_variables %} {% endif %}
{% endblock %}