mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 22:03:13 -07:00
Add type-hints for music.process
This commit is contained in:
parent
c70ddfd508
commit
32d19114f9
1 changed files with 8 additions and 1 deletions
|
@ -13,7 +13,14 @@ from core.utils import convert_to_ascii, list_media_files, remote_dir, remove_di
|
|||
requests.packages.urllib3.disable_warnings()
|
||||
|
||||
|
||||
def process(section, dir_name, input_name=None, status=0, client_agent='manual', input_category=None):
|
||||
def process(
|
||||
section,
|
||||
dir_name,
|
||||
input_name=None,
|
||||
status=0,
|
||||
client_agent='manual',
|
||||
input_category=None,
|
||||
) -> ProcessResult:
|
||||
status = int(status)
|
||||
|
||||
cfg = dict(core.CFG[section][input_category])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue