mirror of
https://github.com/N4S4/synology-api.git
synced 2025-07-28 07:13:07 +00:00
fix: core_active_backup.py fix docstrings for docs_parser.py
This commit is contained in:
@ -874,6 +874,8 @@ class ActiveBackupBusiness(base_api.BaseApi):
|
|||||||
"""
|
"""
|
||||||
Get logs from the package, tasks and devices.
|
Get logs from the package, tasks and devices.
|
||||||
|
|
||||||
|
Notes
|
||||||
|
-----
|
||||||
From `[Activities -> Log]` screen in ABB.
|
From `[Activities -> Log]` screen in ABB.
|
||||||
|
|
||||||
For specific task logs `[Task List -> Details -> Log]`, specify `task_id` parameter.
|
For specific task logs `[Task List -> Details -> Log]`, specify `task_id` parameter.
|
||||||
@ -1144,8 +1146,6 @@ class ActiveBackupBusiness(base_api.BaseApi):
|
|||||||
"""
|
"""
|
||||||
Get details of a task result log.
|
Get details of a task result log.
|
||||||
|
|
||||||
`result_id` can be retrieved from `list_logs()` function.
|
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
result_id : int
|
result_id : int
|
||||||
@ -1173,6 +1173,10 @@ class ActiveBackupBusiness(base_api.BaseApi):
|
|||||||
dict[str, object]
|
dict[str, object]
|
||||||
Dictionary containing a list of result details.
|
Dictionary containing a list of result details.
|
||||||
|
|
||||||
|
Notes
|
||||||
|
-----
|
||||||
|
`result_id` can be retrieved from `list_logs()` function.
|
||||||
|
|
||||||
Examples
|
Examples
|
||||||
--------
|
--------
|
||||||
```json
|
```json
|
||||||
@ -1188,7 +1192,7 @@ class ActiveBackupBusiness(base_api.BaseApi):
|
|||||||
"other_params": {
|
"other_params": {
|
||||||
"fs_error": -65,
|
"fs_error": -65,
|
||||||
"os_name": "smb",
|
"os_name": "smb",
|
||||||
"path": "/D",
|
"path": "abc",
|
||||||
"task_id": 8
|
"task_id": 8
|
||||||
},
|
},
|
||||||
"result_detail_id": 9526,
|
"result_detail_id": 9526,
|
||||||
|
Reference in New Issue
Block a user