adjust arguments

This commit is contained in:
Daniel 2023-12-11 12:55:05 +01:00
parent 016d0e6b18
commit d7b3373145
2 changed files with 3 additions and 2 deletions

View file

@ -5,6 +5,7 @@ import string
from dataclasses import dataclass
from datetime import datetime
from pathlib import Path
from typing import Optional
from urllib.parse import urlunparse
from loguru import logger
@ -68,7 +69,7 @@ def load_json_to_environ(cred_file: Path) -> None:
os.environ[key] = value
def get_session_id(args_session_id: str, args_resume: bool, args_output_dir: Path) -> str:
def get_session_id(args_output_dir: Path, args_resume: bool, args_session_id: Optional[str]) -> str:
"""converts the cli arguments to the correct session_id"""
session_id = args_session_id
if not session_id: