(s: str)
| 14 | |
| 15 | |
| 16 | def trim_prefix(s: str): |
| 17 | # Find the index of the first '_' character |
| 18 | index = s.find("_") |
| 19 | # If '-' is found, return the substring starting from the next character to the end |
| 20 | if index != -1: |
| 21 | return s[index + 1 :] |
| 22 | |
| 23 | # Return an empty string if '_' is not found |
| 24 | return "" |
| 25 | |
| 26 | |
| 27 | def get_sample_codes(module: SampleCodeModule): |
no outgoing calls
no test coverage detected