lfx-nightly 0.1.12.dev36__py3-none-any.whl → 0.1.12.dev38__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of lfx-nightly might be problematic. Click here for more details.
- lfx/base/data/base_file.py +6 -0
- lfx/logging/logger.py +24 -0
- {lfx_nightly-0.1.12.dev36.dist-info → lfx_nightly-0.1.12.dev38.dist-info}/METADATA +1 -1
- {lfx_nightly-0.1.12.dev36.dist-info → lfx_nightly-0.1.12.dev38.dist-info}/RECORD +6 -5
- {lfx_nightly-0.1.12.dev36.dist-info → lfx_nightly-0.1.12.dev38.dist-info}/WHEEL +0 -0
- {lfx_nightly-0.1.12.dev36.dist-info → lfx_nightly-0.1.12.dev38.dist-info}/entry_points.txt +0 -0
lfx/base/data/base_file.py
CHANGED
|
@@ -672,6 +672,9 @@ class BaseFileComponent(Component, ABC):
|
|
|
672
672
|
def _safe_extract_zip(bundle: ZipFile, output_dir: Path):
|
|
673
673
|
"""Safely extract ZIP files."""
|
|
674
674
|
for member in bundle.namelist():
|
|
675
|
+
# Filter out resource fork information for automatic production of mac
|
|
676
|
+
if Path(member).name.startswith("._"):
|
|
677
|
+
continue
|
|
675
678
|
member_path = output_dir / member
|
|
676
679
|
# Ensure no path traversal outside `output_dir`
|
|
677
680
|
if not member_path.resolve().is_relative_to(output_dir.resolve()):
|
|
@@ -682,6 +685,9 @@ class BaseFileComponent(Component, ABC):
|
|
|
682
685
|
def _safe_extract_tar(bundle: tarfile.TarFile, output_dir: Path):
|
|
683
686
|
"""Safely extract TAR files."""
|
|
684
687
|
for member in bundle.getmembers():
|
|
688
|
+
# Filter out resource fork information for automatic production of mac
|
|
689
|
+
if Path(member.name).name.startswith("._"):
|
|
690
|
+
continue
|
|
685
691
|
member_path = output_dir / member.name
|
|
686
692
|
# Ensure no path traversal outside `output_dir`
|
|
687
693
|
if not member_path.resolve().is_relative_to(output_dir.resolve()):
|
lfx/logging/logger.py
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"""Backwards compatibility module for lfx.logging.logger.
|
|
2
|
+
|
|
3
|
+
This module provides backwards compatibility for code that imports from lfx.logging.logger.
|
|
4
|
+
All functionality has been moved to lfx.log.logger.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
# Ensure we maintain all the original exports
|
|
8
|
+
from lfx.log.logger import (
|
|
9
|
+
InterceptHandler,
|
|
10
|
+
LogConfig,
|
|
11
|
+
configure,
|
|
12
|
+
logger,
|
|
13
|
+
setup_gunicorn_logger,
|
|
14
|
+
setup_uvicorn_logger,
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
__all__ = [
|
|
18
|
+
"InterceptHandler",
|
|
19
|
+
"LogConfig",
|
|
20
|
+
"configure",
|
|
21
|
+
"logger",
|
|
22
|
+
"setup_gunicorn_logger",
|
|
23
|
+
"setup_uvicorn_logger",
|
|
24
|
+
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lfx-nightly
|
|
3
|
-
Version: 0.1.12.
|
|
3
|
+
Version: 0.1.12.dev38
|
|
4
4
|
Summary: Langflow Executor - A lightweight CLI tool for executing and serving Langflow AI flows
|
|
5
5
|
Author-email: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
|
|
6
6
|
Requires-Python: <3.14,>=3.10
|
|
@@ -28,7 +28,7 @@ lfx/base/compressors/model.py,sha256=-FFBAPAy9bAgvklIo7x_uwShZR5NoMHakF6f_hNnLHg
|
|
|
28
28
|
lfx/base/curl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
29
29
|
lfx/base/curl/parse.py,sha256=Yw6mMbGg7e-ffrBItEUJeTiljneCXlNyt5afzEP9eUI,6094
|
|
30
30
|
lfx/base/data/__init__.py,sha256=lQsYYMyAg_jA9ZF7oc-LNZsRE2uMGT6g16WzsUByHqs,81
|
|
31
|
-
lfx/base/data/base_file.py,sha256=
|
|
31
|
+
lfx/base/data/base_file.py,sha256=UKpF9BsNHgg-cdB1uVB8F00czvCTLfks320aLg3F_kM,28049
|
|
32
32
|
lfx/base/data/docling_utils.py,sha256=gVDxOZghSJEo5n-UNkVGBQYqkvfNqkNkltBhAnoaJd4,13048
|
|
33
33
|
lfx/base/data/utils.py,sha256=dGqEO4zE5s_V2Cs4j0EEeyLjYLX6Zex-EGzIOznK76o,5960
|
|
34
34
|
lfx/base/document_transformers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -630,6 +630,7 @@ lfx/load/utils.py,sha256=qa8aoMLW-X8FO8xVz3YVHQwjTSJYbYr_AOQAAp3smlc,3705
|
|
|
630
630
|
lfx/log/__init__.py,sha256=UATLSm1Fp9rVclAXP00LKQzzYKcaboVSuWNujlRR6P4,119
|
|
631
631
|
lfx/log/logger.py,sha256=UaUlWEwws7SVa24_9ZuPwRgefoatzRV7nnZV7YQZjwU,14238
|
|
632
632
|
lfx/logging/__init__.py,sha256=X5tXF5e1hc62adprRPLtKeaqm8-tpl6loXsxbh9IO-Q,367
|
|
633
|
+
lfx/logging/logger.py,sha256=y7ophyWX5-r8RCxHJeAmGKyGeEhR-7imR-D8YBXU7CE,546
|
|
633
634
|
lfx/memory/__init__.py,sha256=s7nCNKlcwLfT6Z_cXbiYjvoXQXZ-H2GqK1qsAuKBV08,1815
|
|
634
635
|
lfx/memory/stubs.py,sha256=kR6TRI2t6rPvA5Pja5XPC4yvKRBFBuJfdI0hJL8vfwU,9924
|
|
635
636
|
lfx/processing/__init__.py,sha256=jERZg6it9mhOzrbTAt9YtakSNXPSjUXFh5MfKBN48wA,41
|
|
@@ -723,7 +724,7 @@ lfx/utils/schemas.py,sha256=NbOtVQBrn4d0BAu-0H_eCTZI2CXkKZlRY37XCSmuJwc,3865
|
|
|
723
724
|
lfx/utils/util.py,sha256=Ww85wbr1-vjh2pXVtmTqoUVr6MXAW8S7eDx_Ys6HpE8,20696
|
|
724
725
|
lfx/utils/util_strings.py,sha256=nU_IcdphNaj6bAPbjeL-c1cInQPfTBit8mp5Y57lwQk,1686
|
|
725
726
|
lfx/utils/version.py,sha256=cHpbO0OJD2JQAvVaTH_6ibYeFbHJV0QDHs_YXXZ-bT8,671
|
|
726
|
-
lfx_nightly-0.1.12.
|
|
727
|
-
lfx_nightly-0.1.12.
|
|
728
|
-
lfx_nightly-0.1.12.
|
|
729
|
-
lfx_nightly-0.1.12.
|
|
727
|
+
lfx_nightly-0.1.12.dev38.dist-info/METADATA,sha256=yyjbONfgx5v1_86WWM3rm6b2pr129u06oZ4LpqBB1x4,8290
|
|
728
|
+
lfx_nightly-0.1.12.dev38.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
729
|
+
lfx_nightly-0.1.12.dev38.dist-info/entry_points.txt,sha256=1724p3RHDQRT2CKx_QRzEIa7sFuSVO0Ux70YfXfoMT4,42
|
|
730
|
+
lfx_nightly-0.1.12.dev38.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|