Skip to content

Commit

Permalink
🚑 version 1.7.10
Browse files Browse the repository at this point in the history
  • Loading branch information
RF-Tar-Railt committed Jul 3, 2023
1 parent f916fda commit 6c5d7ca
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# 更新日志

## Alconna 1.7.10

### 修复:
- 修复类型导致的 py3.8 兼容性问题

## Alconna 1.7.9

### 改进:
Expand Down
2 changes: 1 addition & 1 deletion src/arclet/alconna/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from .duplication import Duplication
from .stub import ArgsStub, OptionStub, SubcommandStub

__version__ = "1.7.9"
__version__ = "1.7.10"

# backward compatibility
Arpamar = Arparma
Expand Down
4 changes: 2 additions & 2 deletions src/arclet/alconna/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from copy import deepcopy
from enum import Enum
from functools import partial
from typing import Any, Callable, Generic, Iterable, Sequence, TypeVar, Union
from typing import Any, Callable, Generic, Iterable, Sequence, TypeVar, Union, Type

from nepattern import AllParam, AnyOne, BasePattern, RawStr, UnionPattern, all_patterns, type_parser
from tarina import Empty, get_signature, lang
Expand All @@ -24,7 +24,7 @@ def safe_dcls_kw(**kwargs):


_T = TypeVar("_T")
TAValue: TypeAlias = Union[BasePattern[_T], type[_T], str]
TAValue: TypeAlias = Union[BasePattern[_T], Type[_T], str]
STRING = all_patterns()[str]


Expand Down

0 comments on commit 6c5d7ca

Please sign in to comment.