code: def __init__(self, configs: Dict[str, any]):
      self.servers = {
          str(k): ServerConfig(k, s)
          for k, s in configs.get("servers", {}).items()
      }
      self.name = configs.get("name", Path("..").parent.absolute().name)
      self.project_scripts_folder = Path(".") / configs.get(
          "scripts_folder", ".remote/scripts"
      )
      self.project_logs_folder = Path(".") / configs.get(
          "logs_folder", ".remote/logs"
      )
      self.project_jobs_folder = Path(".") / configs.get(
          "jobs_folder", ".remote/jobs"
      )
      self.exclude_file = Path(".") / configs.get(
          "exclude_file", ".remote/exclude.txt"
      )
      self.remote_scripts_folder_name = configs.get(
          "remote_scripts_folder_name", ".remote-scripts"
      )
      self.remote_jobs_folder_name = configs.get(
          "remote_jobs_folder_name", ".jobs"
      )
  
      self.template_scripts_folder = (
          Path(__file__).absolute().parent.parent / "scripts"
      )
  
file_path: labml/remote/labml_remote/configs/__init__.py
imports: import os
  import stat
  from pathlib import Path
  from typing import Optional, Dict, Any, Union
  import paramiko
  import yaml
label_desc: Use image node_id 1 to create a new Configs object  with example: obj = Configs(configs)