Skip to content

Commit

Permalink
Make function private
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Huang authored and Nick Huang committed Oct 8, 2024
1 parent 1e12160 commit 1830cf0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/langsmith/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ def _content_above_size(
]
if should_debug_crash_dump and request is not None:
threading.Thread(
target=ls_utils.write_to_crash_dump,
target=ls_utils._write_to_crash_dump,
args=(request, "content_size_limit_crash_dump.jsonl"),
).start()
return (
Expand Down
2 changes: 1 addition & 1 deletion python/langsmith/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ def _get_function_name(fn: Callable, depth: int = 0) -> str:
return str(fn)


def write_to_crash_dump(
def _write_to_crash_dump(
request: requests.Request | requests.PreparedRequest, file_name: str
):
with open(file_name, "a") as f:
Expand Down

0 comments on commit 1830cf0

Please sign in to comment.