Fatal bug fix: typing.Union in jeb_utils.utils was used but not imported
This commit is contained in:
@@ -77,6 +77,9 @@ pip install jeb-utils --index-url https://repo.jcloud-services.ddns.net/simple/
|
||||
- `create_file_if_not_exists`: Creates a file if it does not exist.
|
||||
|
||||
## Changelog
|
||||
### Version 0.3.1
|
||||
- Fatal bug fix: `typing.Union` in `jeb_utils.utils` was used but not imported
|
||||
|
||||
### Version 0.3.0
|
||||
- Make library backward compatible: use `typing.Union` instead of the `|` operator
|
||||
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "jeb-utils"
|
||||
version = "0.3.0"
|
||||
version = "0.3.1"
|
||||
description = "Common utils for JEB client and server."
|
||||
dependencies = ["cryptography"]
|
||||
license = "Apache-2.0"
|
||||
@@ -13,7 +13,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import os
|
||||
from typing import Tuple, Literal, Sequence
|
||||
from typing import Tuple, Literal, Sequence, Union
|
||||
import ipaddress
|
||||
|
||||
__all__ = [
|
||||
|
||||
Reference in New Issue
Block a user