mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-22 06:13:19 -07:00
Add type-hints for tv.process
This commit is contained in:
parent
2cdc99b465
commit
09306727d6
1 changed files with 10 additions and 1 deletions
|
@ -32,7 +32,16 @@ from core.utils import (
|
||||||
requests.packages.urllib3.disable_warnings()
|
requests.packages.urllib3.disable_warnings()
|
||||||
|
|
||||||
|
|
||||||
def process(section, dir_name, input_name=None, failed=False, client_agent='manual', download_id=None, input_category=None, failure_link=None):
|
def process(
|
||||||
|
section,
|
||||||
|
dir_name,
|
||||||
|
input_name=None,
|
||||||
|
failed=False,
|
||||||
|
client_agent='manual',
|
||||||
|
download_id=None,
|
||||||
|
input_category=None,
|
||||||
|
failure_link=None,
|
||||||
|
) -> ProcessResult:
|
||||||
cfg = dict(core.CFG[section][input_category])
|
cfg = dict(core.CFG[section][input_category])
|
||||||
|
|
||||||
host = cfg['host']
|
host = cfg['host']
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue