Skip to content

Commit 608e3c4

Browse files
committed
style(examples): black-format create_inference.py
scripts/format.sh uses --skip-magic-trailing-comma; load_config_file_mount call fits on one line under line-length 120 so collapse the multi-line form. Signed-off-by: Honglin Cao <hocao@nvidia.com>
1 parent aa47d7e commit 608e3c4

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

examples/sdk/create_inference.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,7 @@ def main():
2828
# so the resulting file lands at mount_path/filename. Pass an inline
2929
# ConfigFileMount(filename=..., mount_path=..., content=...) if the
3030
# content is already in memory.
31-
config_file=load_config_file_mount(
32-
path="./default.conf",
33-
mount_path="/etc/nginx/conf.d",
34-
),
31+
config_file=load_config_file_mount(path="./default.conf", mount_path="/etc/nginx/conf.d"),
3532
)
3633
response = cclient.create_inference(request)
3734
print("Create deployment response: ", response)

0 commit comments

Comments
 (0)