beamlit 0.0.33rc48__py3-none-any.whl → 0.0.33rc49__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
beamlit/functions/decorator.py
CHANGED
@@ -6,7 +6,6 @@ from logging import getLogger
|
|
6
6
|
|
7
7
|
from fastapi import Request
|
8
8
|
|
9
|
-
from beamlit.common.settings import get_settings
|
10
9
|
from beamlit.models import Function, FunctionKit
|
11
10
|
|
12
11
|
logger = getLogger(__name__)
|
@@ -24,7 +23,6 @@ def kit(bl_kit: FunctionKit = None, **kwargs: dict) -> Callable:
|
|
24
23
|
|
25
24
|
def function(*args, function: Function | dict = None, kit=False, **kwargs: dict) -> Callable:
|
26
25
|
"""Create function tools with Beamlit and LangChain integration."""
|
27
|
-
settings = get_settings()
|
28
26
|
if function is not None and not isinstance(function, dict):
|
29
27
|
raise Exception(
|
30
28
|
'function must be a dictionary, example: @function(function={"metadata": {"name": "my_function"}})'
|
@@ -142,7 +142,7 @@ beamlit/deploy/deploy.py,sha256=YKY1iN0ZofQr_n9efvDJ5pK9HpyLZO9wyHmh8W9PAaE,9889
|
|
142
142
|
beamlit/deploy/format.py,sha256=PJ8kU7Y1pwiS3tqqyvFaag9LO3jju-4ua574163VPk4,1820
|
143
143
|
beamlit/deploy/parser.py,sha256=Ga0poCZkoRnuTw082QnTcNGCBJncoRAnVsn8-1FsaJE,6907
|
144
144
|
beamlit/functions/__init__.py,sha256=_RPG1Bfg54JGdIPnViAU6n9zD7E1cDNsdXi8oYGskzE,138
|
145
|
-
beamlit/functions/decorator.py,sha256=
|
145
|
+
beamlit/functions/decorator.py,sha256=ZtSQsPLI70WKwi2jPhA7DaqREQUINpqt9BDVugeV_sg,1714
|
146
146
|
beamlit/functions/github/__init__.py,sha256=gYnUkeegukOfbymdabuuJkScvH-_ZJygX05BoqkPn0o,49
|
147
147
|
beamlit/functions/github/github.py,sha256=FajzLCNkpXcwfgnC0l9rOGT2eSPLCz8-qrMzK9N_ZNc,598
|
148
148
|
beamlit/functions/github/kit/__init__.py,sha256=jBwPqZv6C23_utukohxqXZwrlicNlI7PYPUj0Den7Cw,136
|
@@ -257,6 +257,6 @@ beamlit/serve/app.py,sha256=DXWxQoMeuA5FYvBMyLrP94OEWQbwLf4GZk3I9fkwSPA,3523
|
|
257
257
|
beamlit/serve/middlewares/__init__.py,sha256=1dVmnOmhAQWvWktqHkKSIX-YoF6fmMU8xkUQuhg_rJU,148
|
258
258
|
beamlit/serve/middlewares/accesslog.py,sha256=Mu4T4_9OvHybjA0ApzZFpgi2C8f3X1NbUk-76v634XM,631
|
259
259
|
beamlit/serve/middlewares/processtime.py,sha256=lDAaIasZ4bwvN-HKHvZpaD9r-yrkVNZYx4abvbjbrCg,411
|
260
|
-
beamlit-0.0.
|
261
|
-
beamlit-0.0.
|
262
|
-
beamlit-0.0.
|
260
|
+
beamlit-0.0.33rc49.dist-info/METADATA,sha256=5_QMzORLYGZDg98cqBd7UP0O94nUxM1VXacm933d1PA,2405
|
261
|
+
beamlit-0.0.33rc49.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
262
|
+
beamlit-0.0.33rc49.dist-info/RECORD,,
|
File without changes
|