Skip to content

Commit

Permalink
improve formulation
Browse files Browse the repository at this point in the history
  • Loading branch information
jnussbaum committed Dec 23, 2024
1 parent 0d03a7c commit cb06e19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dsp_tools/xmllib/internal_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def create_richtext_with_checks(
Creates a RichtextValue with checks and optional conversions
Args:
value: richttext value
value: richtext value
prop_name: name of the property
permissions: permissions of the value
comment: comment for the value
Expand Down Expand Up @@ -63,7 +63,7 @@ def check_richtext_before_conversion(value: Any, prop_name: str, res_id: str) ->
def check_and_fix_collection_input(value: Any, prop_name: str, res_id: str) -> list[Any]:
"""
To allow varied input but ensure consistent typing internally, collections are converted.
As collections are expected to be non-empty a warning is emitted for the user.
If a collection is empty, a warning is emitted for the user.
Args:
value: Input value
Expand Down

0 comments on commit cb06e19

Please sign in to comment.