Modified the code sample for Python to accurately reflect the dogapi python wrapper

Handle is not optional but you can set it to None.