Bug fix: is_valid_host, is_valid_port and validate_address_port in jeb_utils.utils were not included in __all__
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.2.3
|
||||
- Bug fix: `is_valid_host`, `is_valid_port` and `validate_address_port` in `jeb_utils.utils` were not included in `__all__`
|
||||
|
||||
### Version 0.2.2
|
||||
- Bug fix: jeb_utils.utils.is_number could return `True` even if the base is `0` which is mathematically incorrect.
|
||||
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "jeb-utils"
|
||||
version = "0.2.2"
|
||||
version = "0.2.3"
|
||||
description = "Common utils for JEB client and server."
|
||||
dependencies = ["cryptography"]
|
||||
license = "Apache-2.0"
|
||||
@@ -24,6 +24,9 @@ __all__ = [
|
||||
'get_next_lower_integer_multiple',
|
||||
'find_nearest_lower_number',
|
||||
'create_file_if_not_exists',
|
||||
'is_valid_host',
|
||||
'is_valid_port',
|
||||
'validate_address_port'
|
||||
]
|
||||
|
||||
def is_number(string: str, base: int = 10) -> bool:
|
||||
|
||||
Reference in New Issue
Block a user