Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add aliased key of session_name #1395

Merged
merged 3 commits into from Jul 17, 2023

Conversation

pderer
Copy link
Contributor

@pderer pderer commented Jul 13, 2023

When request creating session API, response notes that "session_name" is required.

MicrosoftTeams-image (1)

but when request parameter contain "session_name", response notes that "session_name" is not allowed key.

MicrosoftTeams-image (2)

To resolve this ambiguity, session_name is added to the aliased key of session_name.

So, request contained "session_name" is allowed.

@pderer pderer added type:bug Reports about that are not working comp:manager Related to Manager component effort:easy Need to understand only a specific region of codes (good first issue, easy). size:XS ~10 LoC labels Jul 13, 2023
@pderer pderer requested a review from achimnol July 13, 2023 05:48
@pderer pderer self-assigned this Jul 13, 2023
@cla-assistant
Copy link

cla-assistant bot commented Jul 13, 2023

CLA assistant check
All committers have signed the CLA.

src/ai/backend/manager/api/service.py Outdated Show resolved Hide resolved
@kyujin-cho kyujin-cho added this to the 23.03 milestone Jul 17, 2023
@kyujin-cho kyujin-cho added the urgency:blocker IT SHOULD BE RESOLVED BEFORE NEXT RELEASE! label Jul 17, 2023
@pderer pderer changed the title fix: aliased key ambiguity feat: add aliased key of session_name Jul 17, 2023
@pderer pderer added type:feature Add new features and removed type:bug Reports about that are not working labels Jul 17, 2023
Co-authored-by: Kyujin Cho <kyujin.cho@lablup.com>
@kyujin-cho kyujin-cho added this pull request to the merge queue Jul 17, 2023
Merged via the queue into main with commit 1d7f020 Jul 17, 2023
21 checks passed
@kyujin-cho kyujin-cho deleted the fix/session-create-api-parameter branch July 17, 2023 14:20
kyujin-cho added a commit that referenced this pull request Jul 17, 2023
Co-authored-by: Kyujin Cho <kyujin.cho@lablup.com>
Backported-from: main
Backported-to: 23.03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:manager Related to Manager component effort:easy Need to understand only a specific region of codes (good first issue, easy). size:XS ~10 LoC type:feature Add new features urgency:blocker IT SHOULD BE RESOLVED BEFORE NEXT RELEASE!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants