Updated reports
This commit is contained in:
@@ -38,6 +38,12 @@
|
|||||||
|
|
||||||
.. autofunction:: kontur_focus.FocusCompliance.legal_entity_profile_report(profile_id_list, path)
|
.. autofunction:: kontur_focus.FocusCompliance.legal_entity_profile_report(profile_id_list, path)
|
||||||
|
|
||||||
|
Пример вывода результат по отчету:
|
||||||
|
|
||||||
|
.. code-block:: python
|
||||||
|
|
||||||
|
[{'success': True, 'filename': '<имя_файла>', 'path': '<полный_путь_файла>'}]
|
||||||
|
|
||||||
|
|
||||||
Физические лица
|
Физические лица
|
||||||
---------------
|
---------------
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ class FocusCompliance(Request):
|
|||||||
|
|
||||||
return {'success': True, 'path': file_path}
|
return {'success': True, 'path': file_path}
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
return {'success': False, 'message': e}
|
return {'success': False, 'filename': f_name, 'message': e}
|
||||||
|
|
||||||
# Компании
|
# Компании
|
||||||
def company_is_foreign_agent(self) -> dict:
|
def company_is_foreign_agent(self) -> dict:
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="kontur_focus",
|
name="kontur_focus",
|
||||||
version="0.2.3",
|
version="0.2.4",
|
||||||
author="Ilya Sapunov",
|
author="Ilya Sapunov",
|
||||||
author_email="sapunov@selectel.ru",
|
author_email="sapunov@selectel.ru",
|
||||||
description="Библиотека-обертка для взаимодействия с REST API Контур.Фокус и Фокус.Комплаенс",
|
description="Библиотека-обертка для взаимодействия с REST API Контур.Фокус и Фокус.Комплаенс",
|
||||||
|
|||||||
Reference in New Issue
Block a user