Skip to content

Commit

Permalink
daily-python: fix docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
aconchillo committed May 26, 2024
1 parent 84d497e commit c9acbdc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/call_client/event_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ impl PyEventHandler {
/// Event emitted when the session with the dial-out remote end is
/// established.
///
/// :param Mapping[str, Any] data: See :ref:`DailoutEvent`
/// :param Mapping[str, Any] data: See :ref:`DialoutEvent`
fn on_dialout_connected(&self, data: PyObject) -> PyResult<()> {
Ok(())
}
Expand All @@ -79,22 +79,22 @@ impl PyEventHandler {
/// fatal to the media/SIP pipeline and will result in dialout-error being
/// triggered.
///
/// :param Mapping[str, Any] data: See :ref:`DailoutEvent`
/// :param Mapping[str, Any] data: See :ref:`DialoutEvent`
fn on_dialout_error(&self, data: PyObject) -> PyResult<()> {
Ok(())
}

/// Event emitted when the dial-out remote end disconnects the call or the
/// call is stopped by calling :ref:`daily.CallClient.stop_dialout`.
/// call is stopped by calling :func:`daily.CallClient.stop_dialout`.
///
/// :param Mapping[str, Any] data: See :ref:`DailoutEvent`
/// :param Mapping[str, Any] data: See :ref:`DialoutEvent`
fn on_dialout_stopped(&self, data: PyObject) -> PyResult<()> {
Ok(())
}

/// Event emitted when a dial-out warning occurs.
///
/// :param Mapping[str, Any] data: See :ref:`DailoutEvent`
/// :param Mapping[str, Any] data: See :ref:`DialoutEvent`
fn on_dialout_warning(&self, data: PyObject) -> PyResult<()> {
Ok(())
}
Expand Down

0 comments on commit c9acbdc

Please sign in to comment.