def METHOD_NAME(self, no_wait, initial_session, deserialization_callback, error_callback,
                      lro_options=None, path_format_arguments=None):
    from azure.mgmt.core.polling.arm_polling import AzureAsyncOperationPolling, BodyContentPolling
    if no_wait == True:  # noqa: E712, pylint: disable=singleton-comparison
        polling = AAZNoPolling()
    else:
        polling = AAZBasePolling(
            lro_options=lro_options,
            lro_algorithms=[
                AzureAsyncOperationPolling(lro_options=lro_options),
                LocationPolling(),
                BodyContentPolling(),
                StatusCheckPolling(),
            ],
            path_format_arguments=path_format_arguments,
            http_response_error_callback=error_callback,
        )
    polling.initialize(
        self,
        initial_response=initial_session,
        deserialization_callback=deserialization_callback
    )
    return polling