Skip to content

Commit daf2b34

Browse files
authored
Added from __future__ import annotations to safe_import.py to support python 3.9 (#1642)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Added `from __future__ import annotations` to `safe_import.py` for Python 3.9 compatibility. > > - **Compatibility**: > - Added `from __future__ import annotations` to `safe_import.py` to support Python 3.9 type hinting. > > <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup> for 4d80ff5. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
1 parent 6c3c6d5 commit daf2b34

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

engine/language_client_python/python_src/baml_py/safe_import.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from __future__ import annotations
12
from typing import Optional, Type
23
from .baml_py import get_version
34

0 commit comments

Comments
 (0)