Skip to content

Commit 513cd37

Browse files
committed
docstring formatting
1 parent 8115ab1 commit 513cd37

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

temporalio/nexus/_operation_context.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -564,9 +564,7 @@ def _query_params_from_event_reference(
564564
def _event_reference_from_query_params(
565565
raw_query_params: str,
566566
) -> temporalio.api.common.v1.Link.WorkflowEvent.EventReference:
567-
"""
568-
Return an EventReference from the query params or raise ValueError.
569-
"""
567+
"""Return an EventReference from the query params or raise ValueError."""
570568
query_params = urllib.parse.parse_qs(raw_query_params)
571569

572570
[reference_type] = query_params.get("referenceType") or [""]
@@ -603,8 +601,7 @@ def _event_reference_from_query_params(
603601

604602

605603
def _constant_case_to_pascal_case(s: str) -> str:
606-
"""
607-
Convert a CONSTANT_CASE string to PascalCase.
604+
"""Convert a CONSTANT_CASE string to PascalCase.
608605
609606
>>> _constant_case_to_pascal_case("NEXUS_OPERATION_SCHEDULED")
610607
"NexusOperationScheduled"
@@ -613,8 +610,7 @@ def _constant_case_to_pascal_case(s: str) -> str:
613610

614611

615612
def _pascal_case_to_constant_case(s: str) -> str:
616-
"""
617-
Convert a PascalCase string to CONSTANT_CASE.
613+
"""Convert a PascalCase string to CONSTANT_CASE.
618614
619615
>>> _pascal_case_to_constant_case("NexusOperationScheduled")
620616
"NEXUS_OPERATION_SCHEDULED"

0 commit comments

Comments
 (0)