Skip to content

Commit a011b6b

Browse files
Use Optional instead of | for Python 3.9
1 parent ae310fd commit a011b6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pixi_kernel/compatibility.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import shutil
22
import sys
33
from pathlib import Path
4-
from typing import Any
4+
from typing import Any, Optional
55

66
from returns.result import Failure, Result, Success
77

@@ -44,7 +44,7 @@
4444

4545

4646
# Cache for the Pixi path
47-
_pixi_path_cache: str | None = None
47+
_pixi_path_cache: Optional[str] = None
4848

4949

5050
def get_config_file() -> Path:

0 commit comments

Comments
 (0)