Skip to content

Commit 163a964

Browse files
authored
Update return type annotation to use Tuple
1 parent d2ec523 commit 163a964

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ncm/ncm/ncm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
import os
108108
import json
109109
import uuid
110-
from typing import Union, Optional, Dict, Any
110+
from typing import Union, Optional, Dict, Any, Tuple
111111

112112

113113
def __is_json(test_json):
@@ -5082,7 +5082,7 @@ def __new__(cls, api_keys=None, api_key=None, **kwargs):
50825082
_ncm_instance = None
50835083

50845084

5085-
def _load_api_keys_from_env() -> tuple[Optional[Dict[str, str]], Optional[str]]:
5085+
def _load_api_keys_from_env() -> Tuple[Optional[Dict[str, str]], Optional[str]]:
50865086
"""
50875087
Load API keys from environment variables if available.
50885088

0 commit comments

Comments
 (0)