lablup / lablup/backend.ai

Make the service definition argument list to be more flexible

Open
#246 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
670
Forks
183
Avg merge
17h 7m
Merged PRs (30d)
358

Description

Currently, the custom arguments given when starting a service port are always appended at the end of the predefined argument list with variable interpolation.This means that we now cover the service launch commands like this:`["some_service", "-a", "1", "-b", "2", ...]`

Let's allow inserting the custom arguments in the middle, to cover cases like:`["some_service", "-a", "1", "-b", "2", ..., "run"]`where the client-provided custom arguments should be put at the place of `...`.

We need to define the marker string (maybe it could be just `"..."` and/or `"{:custom_args}"`) and perform removal of it or replacement of it depending whether the custom arguments are given or not.

JIRA Issue: BA-295

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.