You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tooling.apache.org by "sbp (via GitHub)" <gi...@apache.org> on 2026/09/30 19:30:33 UTC

[I] Handle empty strings in form string lists (tooling-trusted-releases)

sbp opened a new issue, #1669:
URL: https://github.com/apache/tooling-trusted-releases/issues/1669

   `to_str_list` preserves empty strings (`""`) in the list without filtering.
   
   ```python
   def to_str_list(v: Any) -> list[str]:
       # TODO: Might need to handle the empty case
       if isinstance(v, list):
           return [str(item) for item in v]
       if isinstance(v, str):
           return [v]
       raise ValueError(f"Expected a string or list of strings, got {type(v).__name__}")
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@tooling.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Handle empty strings in form string lists (tooling-trusted-releases)

Posted by "sbp (via GitHub)" <gi...@apache.org>.
sbp closed issue #1669: Handle empty strings in form string lists
URL: https://github.com/apache/tooling-trusted-releases/issues/1669


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@tooling.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Handle empty strings in form string lists (tooling-trusted-releases)

Posted by "sbp (via GitHub)" <gi...@apache.org>.
sbp commented on issue #1669:
URL: https://github.com/apache/tooling-trusted-releases/issues/1669#issuecomment-5933073565

   Resolved by 56a09a32e2a038425fc8b7bbebb7979b0aaa0d1b.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@tooling.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org