Skip to content

Commit 8b6247c

Browse files
fix: fit for type hint with | in python3.9 and lower
1 parent 17f890e commit 8b6247c

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

byrdocs/__init__.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# fit for python 3.9 and lower
2+
# https://stackoverflow.com/questions/75431587/type-hinting-with-unions-and-collectables-3-9-or-greater
3+
from __future__ import annotations
4+
15
import boto3
26
from botocore.exceptions import NoCredentialsError, PartialCredentialsError
37
import requests

byrdocs/yaml_init.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# fit for python 3.9 and lower
2+
# https://stackoverflow.com/questions/75431587/type-hinting-with-unions-and-collectables-3-9-or-greater
3+
from __future__ import annotations
4+
15
from InquirerPy import inquirer, prompt
26
from InquirerPy.base.control import Choice
37
from prompt_toolkit.completion import Completer, Completion

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["setuptools>=61.0"]
33
build-backend = "setuptools.build_meta"
44
[project]
55
name = "byrdocs_cli"
6-
version = "0.5.5"
6+
version = "0.5.6"
77
authors = [
88
{ name="Rikka", email="[email protected]" },
99
]

0 commit comments

Comments
 (0)