File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -564,9 +564,7 @@ def _query_params_from_event_reference(
564
564
def _event_reference_from_query_params (
565
565
raw_query_params : str ,
566
566
) -> 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."""
570
568
query_params = urllib .parse .parse_qs (raw_query_params )
571
569
572
570
[reference_type ] = query_params .get ("referenceType" ) or ["" ]
@@ -603,8 +601,7 @@ def _event_reference_from_query_params(
603
601
604
602
605
603
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.
608
605
609
606
>>> _constant_case_to_pascal_case("NEXUS_OPERATION_SCHEDULED")
610
607
"NexusOperationScheduled"
@@ -613,8 +610,7 @@ def _constant_case_to_pascal_case(s: str) -> str:
613
610
614
611
615
612
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.
618
614
619
615
>>> _pascal_case_to_constant_case("NexusOperationScheduled")
620
616
"NEXUS_OPERATION_SCHEDULED"
You can’t perform that action at this time.
0 commit comments