code: def clean_dir(results_path_out):
      for root, dirs, files in os.walk(results_path_out):
          for file in files:
              os.remove(os.path.join(root, file))
  
imports: import json
  import os
  import shutil
  import time
  from datetime import datetime, timedelta
  from typing import List, Optional
  import requests
  from fedot.core.pipelines.pipeline import Pipeline
  from fedot.remote.infrastructure.clients.client import Client
label_desc: Use image node_id 1 for calling a global function with example usage: clean_dir(results_path_out) without return types