Skip to content

Commit

Permalink
Update annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
PeiwenGaoMS committed May 14, 2024
1 parent 436f3c4 commit 8483203
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/promptflow-core/promptflow/_utils/logger_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from dataclasses import dataclass
from functools import partial
from pathlib import Path
from typing import List, Optional
from typing import List, Optional, Tuple

from promptflow._constants import LINE_NUMBER_WIDTH, PF_LOGGING_LEVEL
from promptflow._utils.credential_scrubber import CredentialScrubber
Expand All @@ -29,7 +29,7 @@
DATETIME_FORMAT = "%Y-%m-%d %H:%M:%S %z"


def _get_format_for_logger(default_log_format: str = None, default_date_format: str = None) -> str:
def _get_format_for_logger(default_log_format: str = None, default_date_format: str = None) -> Tuple[str, str]:
"""
Get the logging format and date format for logger.
Expand Down

0 comments on commit 8483203

Please sign in to comment.