Skip to content

Commit 570bce2

Browse files
Remove problematic type hints
TODO for later
1 parent a47332e commit 570bce2

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

transloadit/client.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def new_assembly(self, params: dict = None) -> assembly.Assembly:
5252
"""
5353
return assembly.Assembly(self, options=params)
5454

55-
def get_assembly(self, assembly_id: str = None, assembly_url: str = None) -> Response:
55+
def get_assembly(self, assembly_id: str = None, assembly_url: str = None):
5656
"""
5757
Get the assembly specified by the 'assembly_id' or the 'assembly_url'
5858
Either the assembly_id or the assembly_url must be specified
@@ -69,7 +69,7 @@ def get_assembly(self, assembly_id: str = None, assembly_url: str = None) -> Res
6969
url = assembly_url if assembly_url else f"/assemblies/{assembly_id}"
7070
return self.request.get(url)
7171

72-
def list_assemblies(self, params: dict = None) -> Response:
72+
def list_assemblies(self, params: dict = None):
7373
"""
7474
Get the list of assemblies.
7575
@@ -82,7 +82,7 @@ def list_assemblies(self, params: dict = None) -> Response:
8282
"""
8383
return self.request.get("/assemblies", params=params)
8484

85-
def cancel_assembly(self, assembly_id: str = None, assembly_url: str = None) -> Response:
85+
def cancel_assembly(self, assembly_id: str = None, assembly_url: str = None):
8686
"""
8787
Cancel the assembly specified by the 'assembly_id' or the 'assembly_url'
8888
Either the assembly_id or the assembly_url must be specified
@@ -99,7 +99,7 @@ def cancel_assembly(self, assembly_id: str = None, assembly_url: str = None) ->
9999
url = assembly_url if assembly_url else f"/assemblies/{assembly_id}"
100100
return self.request.delete(url)
101101

102-
def get_template(self, template_id: str) -> Response:
102+
def get_template(self, template_id: str):
103103
"""
104104
Get the template specified by the 'template_id'.
105105
@@ -110,7 +110,7 @@ def get_template(self, template_id: str) -> Response:
110110
"""
111111
return self.request.get(f"/templates/{template_id}")
112112

113-
def list_templates(self, params: Optional[dict] = None) -> Response:
113+
def list_templates(self, params: Optional[dict] = None):
114114
"""
115115
Get the list of templates.
116116
@@ -133,7 +133,7 @@ def new_template(self, name: str, params: Optional[dict] = None) -> template.Tem
133133
"""
134134
return template.Template(self, name, options=params)
135135

136-
def update_template(self, template_id: str, data: dict) -> Response:
136+
def update_template(self, template_id: str, data: dict):
137137
"""
138138
Update the template specified by the 'template_id'.
139139
@@ -145,7 +145,7 @@ def update_template(self, template_id: str, data: dict) -> Response:
145145
"""
146146
return self.request.put(f"/templates/{template_id}", data=data)
147147

148-
def delete_template(self, template_id: str) -> Response:
148+
def delete_template(self, template_id: str):
149149
"""
150150
Delete the template specified by the 'template_id'.
151151
@@ -156,7 +156,7 @@ def delete_template(self, template_id: str) -> Response:
156156
"""
157157
return self.request.delete(f"/templates/{template_id}")
158158

159-
def get_bill(self, month: int, year: int) -> Response:
159+
def get_bill(self, month: int, year: int):
160160
"""
161161
Get the bill for the specified month and year.
162162

0 commit comments

Comments
 (0)