Skip to content

Commit 9c6370c

Browse files
committed
fix merge artifact
1 parent a554830 commit 9c6370c

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/sagemaker/jumpstart/hub/parser_utils.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,10 @@
1818
from typing import Any, Dict, List, Optional
1919

2020

21-
<<<<<<< HEAD
22-
<<<<<<< HEAD
2321
def camel_to_snake(camel_case_string: str) -> str:
2422
"""Converts camelCase to snake_case_string using a regex.
2523
2624
This regex cannot handle whitespace ("camelString TwoWords")
27-
=======
28-
def pascal_to_snake(camel_case_string: str) -> str:
29-
"""Converts PascalCase to snake_case_string using a regex.
30-
31-
This regex cannot handle whitespace ("PascalString TwoWords")
32-
>>>>>>> ff3eae05 (feat: Adding Bedrock Store model support for HubService (#1539))
33-
=======
34-
def camel_to_snake(camel_case_string: str) -> str:
35-
"""Converts camelCase to snake_case_string using a regex.
36-
37-
This regex cannot handle whitespace ("camelString TwoWords")
38-
>>>>>>> 42acb4f4 (chore: Merge from main (#1600))
3925
"""
4026
return re.sub(r"(?<!^)(?=[A-Z])", "_", camel_case_string).lower()
4127

0 commit comments

Comments
 (0)