Skip to content

Commit 609724e

Browse files
Small diff reduction
1 parent 3b19426 commit 609724e

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

sdks/python/dropbox_sign/api_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -536,11 +536,11 @@ def files_parameters(
536536
Union[
537537
str,
538538
bytes,
539-
io.IOBase,
540539
List[str],
541540
List[bytes],
542-
List[io.IOBase],
543541
Tuple[str, bytes, io.IOBase],
542+
io.IOBase,
543+
List[io.IOBase],
544544
],
545545
],
546546
):

sdks/python/dropbox_sign/configuration.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,9 @@ def to_debug_report(self) -> str:
546546
"OS: {env}\n"
547547
"Python Version: {pyversion}\n"
548548
"Version of the API: 3.0.0\n"
549-
"SDK Version: 1.9.0-dev".format(env=sys.platform, pyversion=sys.version)
549+
"SDK Package Version: 1.9.0-dev".format(
550+
env=sys.platform, pyversion=sys.version
551+
)
550552
)
551553

552554
def get_host_settings(self) -> List[HostSetting]:

sdks/python/templates/api_client.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ class ApiClient:
552552
files: Dict[str, Union[str, bytes, List[str], List[bytes], Tuple[str, bytes]]],
553553
{{/useCustomTemplateCode}}
554554
{{#useCustomTemplateCode}}
555-
files: Dict[str, Union[str, bytes, io.IOBase, List[str], List[bytes], List[io.IOBase], Tuple[str, bytes, io.IOBase]]],
555+
files: Dict[str, Union[str, bytes, List[str], List[bytes], Tuple[str, bytes, io.IOBase], io.IOBase, List[io.IOBase]]],
556556
{{/useCustomTemplateCode}}
557557
):
558558
"""Builds form parameters.

sdks/python/templates/configuration.mustache

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -701,12 +701,7 @@ conf = {{{packageName}}}.Configuration(
701701
"OS: {env}\n"\
702702
"Python Version: {pyversion}\n"\
703703
"Version of the API: {{version}}\n"\
704-
{{^useCustomTemplateCode}}
705704
"SDK Package Version: {{packageVersion}}".\
706-
{{/useCustomTemplateCode}}
707-
{{#useCustomTemplateCode}}
708-
"SDK Version: {{packageVersion}}".\
709-
{{/useCustomTemplateCode}}
710705
format(env=sys.platform, pyversion=sys.version)
711706

712707
def get_host_settings(self) -> List[HostSetting]:

0 commit comments

Comments
 (0)