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

Add length check logic for lists of fixed length #3159

Open
jopemachine opened this issue Nov 28, 2024 · 0 comments
Open

Add length check logic for lists of fixed length #3159

jopemachine opened this issue Nov 28, 2024 · 0 comments
Labels
type:refactor Refactor codes or add tests.

Comments

@jopemachine
Copy link
Member

jopemachine commented Nov 28, 2024

What Operating System(s) are you seeing this problem on?

Linux (x86-64)

Backend.AI version

main

Describe the bug

For lists that must have a length of 1 (or other fixed value), it would be better to include separate length-checking logic.
See #3137 (comment) for reference.
IMHO it would be better to fix issues as they come up, rather than trying to fix everything in the code at once.

@jopemachine jopemachine added the type:refactor Refactor codes or add tests. label Nov 28, 2024
@jopemachine jopemachine changed the title Add length check logic for lists of length 1 Add length check logic for lists of fixed length Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:refactor Refactor codes or add tests.
Projects
None yet
Development

No branches or pull requests

1 participant