Skip to content

Commit

Permalink
Make TODO comment be more specific
Browse files Browse the repository at this point in the history
  • Loading branch information
eecavanna committed Dec 3, 2024
1 parent 8fea5e3 commit 644775b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nmdc_runtime/api/endpoints/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def comma_separated_values(s: str):
Reference: https://docs.python.org/3/library/re.html#re.split
TODO: Document why `return [v.strip() for v in s.split(',')]` was not used instead.
TODO: Document why `return [v.strip() for v in s.split(',')]` was not used instead; e.g. is it due to "greedy-ness"?
>>> comma_separated_values("apple, banana, cherry")
['apple', 'banana', 'cherry']
Expand Down

0 comments on commit 644775b

Please sign in to comment.