From fb59d8c9b4b2ab8a4b76315dd5129d6dca8e32a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 21 Mar 2019 17:50:39 +0100 Subject: [PATCH] Update documentation of the return of ModelStorage.import_data --- doc/ref/models/models.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/ref/models/models.rst b/doc/ref/models/models.rst index 46255d7aef..10157e3bb7 100644 --- a/doc/ref/models/models.rst +++ b/doc/ref/models/models.rst @@ -306,8 +306,7 @@ Class methods: Create records for all values in ``datas``. The field names of values must be defined in ``fields_names``. - It returns a tuple containing: the number of records imported, the last values - if failed, the exception if failed and the warning if failed. + It returns the number of imported records. .. classmethod:: ModelStorage.check_xml_record(records, values)