Skip to content

Commit 91bc5d4

Browse files
committed
Import fixes, cleanup
1 parent ca1604b commit 91bc5d4

File tree

3 files changed

+5
-16
lines changed

3 files changed

+5
-16
lines changed

qencode/client.py

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

55

66
class QencodeApiClient(object):
7-
8-
"""
9-
:return: encoder object
10-
11-
"""
12-
137
def __init__(self, api_key, api_url=None, version=None):
148
self.api_key = api_key
159
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

qencode/metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from task import *
44

5-
from qencode import QencodeTaskException
5+
from .exceptions import QencodeTaskException
66

77

88
class Metadata(Task):

0 commit comments

Comments
 (0)