Skip to content

Commit

Permalink
add self and tomllib imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ProKil committed Dec 2, 2024
1 parent b9eff3b commit c2d3dfc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
6 changes: 4 additions & 2 deletions src/aact/utils/tomllib.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@


if sys.version_info >= (3, 11):
pass
import tomllib
else:
pass
import tomlkit as tomllib

__all__ = ["tomllib"]
7 changes: 5 additions & 2 deletions src/aact/utils/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@


if sys.version_info >= (3, 11):
pass
from typing import Self
else:
pass
from typing_extensions import Self


__all__ = ["Self"]

0 comments on commit c2d3dfc

Please sign in to comment.