Skip to content

Commit d2603e1

Browse files
committed
Import fixes, cleanup
1 parent 37fffa3 commit d2603e1

File tree

2 files changed

+4
-15
lines changed

2 files changed

+4
-15
lines changed

qencode/client.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@
33

44

55
class QencodeApiClient(object):
6-
7-
"""
8-
:return: encoder object
9-
10-
"""
11-
126
def __init__(self, api_key, api_url=None, version=None):
137
self.api_key = api_key
148
self.api_url = api_url if api_url else 'https://api.qencode.com/'

qencode/custom_params.py

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
import json
22
from json import JSONEncoder
33

4-
from utils import rm_attributes_if_null
4+
from .utils import rm_attributes_if_null
55

66

77
class CustomTranscodingParams(object):
88
"""CustomTranscodingParams
99
1010
:var source: String. Source video URI. Can be http(s) url or tus uri
11-
:var format: String. A list of objects, each describing params for a single output
12-
video stream (MP4, WEBM, HLS or MPEG-DASH)
11+
:var format: String.
12+
A list of objects, each describing params for a single output video stream (MP4,
13+
WEBM, HLS or MPEG-DASH)
1314
"""
1415

1516
def __init__(self):
@@ -23,12 +24,6 @@ def remove_null_params(self):
2324

2425

2526
class Format(object):
26-
"""
27-
:var
28-
:var
29-
30-
"""
31-
3227
def __init__(self):
3328
self.output = None
3429
self.file_extension = None

0 commit comments

Comments
 (0)