Updated reports

This commit is contained in:
2025-03-18 17:01:11 +03:00
parent 6b6a0202a4
commit 0292aa6b63
3 changed files with 8 additions and 2 deletions

View File

@@ -38,6 +38,12 @@
.. autofunction:: kontur_focus.FocusCompliance.legal_entity_profile_report(profile_id_list, path)
Пример вывода результат по отчету:
.. code-block:: python
[{'success': True, 'filename': '<имя_файла>', 'path': '<полный_путь_файла>'}]
Физические лица
---------------

View File

@@ -33,7 +33,7 @@ class FocusCompliance(Request):
return {'success': True, 'path': file_path}
except Exception as e:
return {'success': False, 'message': e}
return {'success': False, 'filename': f_name, 'message': e}
# Компании
def company_is_foreign_agent(self) -> dict:

View File

@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
setup(
name="kontur_focus",
version="0.2.3",
version="0.2.4",
author="Ilya Sapunov",
author_email="sapunov@selectel.ru",
description="Библиотека-обертка для взаимодействия с REST API Контур.Фокус и Фокус.Комплаенс",