|
Asset Connector Documentation
|
Go to the source code of this file.
Namespaces | |
| namespace | python_connector |
| namespace | python_connector.main |
Functions | |
| ResponseBody | python_connector.main.root () |
| Root endpoint that returns available endpoints. | |
| ResponseBody | python_connector.main.add_or_update_config (SetConfigPayload payload) |
| Set or add configuration using an AID submodel. | |
| ResponseBody | python_connector.main.get_value (GetValuePayload payload) |
| Get a current reading from a protocol-specific endpoint of the asset as specified in the AID submodel. | |
| ResponseBody | python_connector.main.set_value (SetValuePayload payload) |
| Set a new value to a protocol-specific endpoint of the asset as specified in the AID submodel. | |
| python_connector.main.start_app () | |
| Function to start the FastAPI application. | |
Variables | |
| python_connector.main.app = FastAPI() | |
| python_connector.main.logger = logging.getLogger(__name__) | |
| dict | python_connector.main.connector_store = {} |
| python_connector.main.connector_store_lock = threading.Lock() | |