Removed split_into_bullets + unused imports

This commit is contained in:
Zvonimir Sabljic
2023-07-31 12:29:03 +02:00
parent 345f1658ec
commit 3de4d10fa7
3 changed files with 1 additions and 9 deletions

View File

@@ -144,12 +144,5 @@ def execute_step(matching_step, current_step):
return matching_step_index is not None and current_step_index is not None and current_step_index >= matching_step_index
def split_into_bullets(text):
pattern = re.compile(r'\n*\d+\.\s\*\*')
split_text = re.split(pattern, text)
split_text = [bullet for bullet in split_text if bullet] # Remove any empty strings from the list
return split_text
def generate_app_data(args):
return {'app_id': args['app_id'], 'app_type': args['app_type']}