mirror of
https://github.com/ihabunek/twitch-dl
synced 2024-08-30 18:32:25 +00:00
Apply formatting
This commit is contained in:
parent
ca38b9239f
commit
f1924715ed
@ -1,4 +1,5 @@
|
||||
import os
|
||||
|
||||
import httpx
|
||||
|
||||
from twitchdl.exceptions import ConsoleError
|
||||
|
@ -3,7 +3,7 @@ Twitch API access.
|
||||
"""
|
||||
|
||||
import json
|
||||
from typing import Dict, Generator, Literal, TypedDict, Optional
|
||||
from typing import Dict, Generator, Literal, Optional, TypedDict
|
||||
|
||||
import click
|
||||
import httpx
|
||||
@ -209,7 +209,12 @@ def get_clip_access_token(slug: str) -> ClipAccessToken:
|
||||
return response["data"]["clip"]
|
||||
|
||||
|
||||
def get_channel_clips(channel_id: str, period: ClipsPeriod, limit: int, after: Optional[str] = None):
|
||||
def get_channel_clips(
|
||||
channel_id: str,
|
||||
period: ClipsPeriod,
|
||||
limit: int,
|
||||
after: Optional[str] = None,
|
||||
):
|
||||
"""
|
||||
List channel clips.
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
import re
|
||||
from typing import Optional, Union
|
||||
import unicodedata
|
||||
from typing import Optional, Union
|
||||
|
||||
import click
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user