File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
src/uipath_langchain/tracers Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1
1
[project ]
2
2
name = " uipath-langchain"
3
- version = " 0.0.97 "
3
+ version = " 0.0.98 "
4
4
description = " UiPath Langchain"
5
5
readme = { file = " README.md" , content-type = " text/markdown" }
6
6
requires-python = " >=3.10"
@@ -59,6 +59,9 @@ langchain = [
59
59
" uipath-langchain>=0.0.2"
60
60
]
61
61
62
+ [tool .hatch .build .targets .wheel ]
63
+ packages = [" src/uipath_langchain" ]
64
+
62
65
[tool .ruff ]
63
66
line-length = 88
64
67
indent-width = 4
Original file line number Diff line number Diff line change @@ -334,16 +334,20 @@ def _create_appropriate_wrapper(
334
334
335
335
336
336
def _uipath_traced (
337
+ name : Optional [str ] = None ,
337
338
run_type : Optional [str ] = None ,
338
339
span_type : Optional [str ] = None ,
339
340
input_processor : Optional [Callable [..., Any ]] = None ,
340
341
output_processor : Optional [Callable [..., Any ]] = None ,
342
+ * args : Any ,
343
+ ** kwargs : Any ,
341
344
):
342
345
"""Decorator factory that creates traced functions using dispatch_trace_event."""
343
346
344
347
def decorator (func ):
345
348
return _create_traced_wrapper (
346
349
func = func ,
350
+ func_name = name ,
347
351
run_type = run_type ,
348
352
span_type = span_type ,
349
353
input_processor = input_processor ,
You can’t perform that action at this time.
0 commit comments