Skip to content

Commit b96ac19

Browse files
change docstring format from google to sphinx
1 parent be0f580 commit b96ac19

File tree

1 file changed

+7
-6
lines changed
  • localstack-core/localstack/services/events

1 file changed

+7
-6
lines changed

localstack-core/localstack/services/events/target.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,14 @@ def replace_template_placeholders(template: str, replacements: dict[str, Any]) -
9494
"""
9595
Replaces placeholders in an EventBridge-style InputTemplate string.
9696
97-
Args:
98-
template: The template string containing placeholders like <$.foo.bar>.
99-
replacements: A dict providing values to fill in.
100-
101-
Returns:
102-
The transformed string with placeholders replaced by values from `replacements`.
97+
:param template: The template string containing placeholders like ``<$.foo.bar>``.
98+
:type template: str
99+
:param replacements: A dictionary providing values to fill in.
100+
:type replacements: dict
101+
:returns: The transformed string with placeholders replaced by values from ``replacements``.
102+
:rtype: str
103103
"""
104+
104105
...
105106
is_json_template = template.strip().startswith("{")
106107

0 commit comments

Comments
 (0)