MAVSDK-Python API Refrance

Where can I find MAVSDK API reference in python?

Good question. For now, you can only look at the source files and use the Python REPL and use help() on the classes.

We are planning to publish API docs soon.

Indeed good question @mohammedsgf. I was searching all functions in core like “connection_state” (seen in example .py “async for state in drone.core.connection_state():”) but could not find it.
Ultimately I was trying to write python script where code would wait until the safety switch is pressed.
Something like “async for state in drone.core.safetyswitch_state():
if state.is_pressed:” etc

If anyone has a suggestion, please let me know. Thanks!