-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from lion-agi/modified-init
updated init, bump version to 0.1.1
- Loading branch information
Showing
8 changed files
with
37 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
# lion-service | ||
# lion-service | ||
|
||
API services for lion framework |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
from .version import __version__ | ||
from .rate_limiter import RateLimiter, RateLimitError | ||
from .service import Service, register_service | ||
from .rate_limiter import RateLimiter | ||
from .service_util import invoke_retry | ||
from .version import __version__ | ||
|
||
__all__ = ["Service", "register_service", "RateLimiter", "__version__"] | ||
__all__ = [ | ||
"Service", | ||
"register_service", | ||
"RateLimiter", | ||
"__version__", | ||
"RateLimitError", | ||
"invoke_retry", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
import asyncio | ||
from functools import wraps | ||
|
||
from .rate_limiter import RateLimitError | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "0.1.0" | ||
__version__ = "0.1.1" |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "lion-service" | ||
version = "0.1.0" | ||
version = "0.1.1" | ||
description = "" | ||
authors = ["OceanLi <[email protected]>"] | ||
readme = "README.md" | ||
|
@@ -14,6 +14,7 @@ tiktoken = "^0.7.0" | |
[tool.poetry.group.dev.dependencies] | ||
pytest = "^8.3.3" | ||
black = "^24.8.0" | ||
isort = "^5.13.2" | ||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
|