Add missing type annotations to api methods
Add "__*" to .gitignore, to ignore temporary files
This commit is contained in:
parent
e4096cb97c
commit
98d67c0444
|
@ -1,3 +1,4 @@
|
||||||
/config.py
|
/config.py
|
||||||
__pycache__/
|
__pycache__/
|
||||||
*.pyc
|
*.pyc
|
||||||
|
__*
|
||||||
|
|
|
@ -78,11 +78,11 @@ def get_playback_pos():
|
||||||
return f"time"
|
return f"time"
|
||||||
|
|
||||||
@request_post
|
@request_post
|
||||||
def seek_absolute(pos):
|
def seek_absolute(pos:float):
|
||||||
args = urlencode(locals())
|
args = urlencode(locals())
|
||||||
return f"time?{args}", None
|
return f"time?{args}", None
|
||||||
|
|
||||||
@request_post
|
@request_post
|
||||||
def seek_percent(percent):
|
def seek_percent(percent:int):
|
||||||
args = urlencode(locals())
|
args = urlencode(locals())
|
||||||
return f"time?{args}", None
|
return f"time?{args}", None
|
||||||
|
|
Loading…
Reference in New Issue