@@ -686,7 +686,7 @@ def load_settings(settings: Union[str, dict], format: str = "json") -> None:
686686
687687 Args:
688688 settings: The settings string or dict to load
689- format: The format of the settings string (default: "json").
689+ format: The format of the settings string (default: "json").
690690 Ignored when settings is a dict.
691691
692692 Raises:
@@ -2531,7 +2531,8 @@ def add_ingredient(self, ingredient_json: Union[str, dict], format: str, source:
25312531 (for instance, a file opened as stream).
25322532
25332533 Args:
2534- ingredient_json: The JSON ingredient definition (either a JSON string or a dictionary)
2534+ ingredient_json: The JSON ingredient definition
2535+ (either a JSON string or a dictionary)
25352536 format: The MIME type or extension of the ingredient
25362537 source: The stream containing the ingredient data
25372538 (any Python stream-like object)
@@ -2558,7 +2559,8 @@ def add_ingredient_from_stream(
25582559 Explicitly named API requiring a stream as input parameter.
25592560
25602561 Args:
2561- ingredient_json: The JSON ingredient definition (either a JSON string or a dictionary)
2562+ ingredient_json: The JSON ingredient definition
2563+ (either a JSON string or a dictionary)
25622564 format: The MIME type or extension of the ingredient
25632565 source: The stream containing the ingredient data
25642566 (any Python stream-like object)
@@ -2615,7 +2617,8 @@ def add_ingredient_from_file_path(
26152617 Use :meth:`add_ingredient` with a file stream instead.
26162618
26172619 Args:
2618- ingredient_json: The JSON ingredient definition (either a JSON string or a dictionary)
2620+ ingredient_json: The JSON ingredient definition
2621+ (either a JSON string or a dictionary)
26192622 format: The MIME type or extension of the ingredient
26202623 filepath: The path to the file containing the ingredient data
26212624 (can be a string or Path object)
@@ -2652,11 +2655,12 @@ def add_action(self, action_json: Union[str, dict]) -> None:
26522655 in the actions assertion array in the generated manifest.
26532656
26542657 Args:
2655- action_json: The JSON action definition (either a JSON string or a dictionary)
2658+ action_json: The JSON action definition
2659+ (either a JSON string or a dictionary)
26562660
26572661 Raises:
26582662 C2paError: If there was an error adding the action
2659- C2paError.Encoding: If the action JSON contains invalid UTF-8 characters
2663+ C2paError.Encoding: If the action JSON contains invalid UTF-8 chars
26602664 """
26612665 self ._ensure_valid_state ()
26622666
0 commit comments