Skip to content

core: Fix some private member accesses #30912

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 12, 2025
Merged

Conversation

cbornet
Copy link
Collaborator

@cbornet cbornet commented Apr 17, 2025

See #30666

Copy link

vercel bot commented Apr 17, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview May 12, 2025 5:40pm

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Apr 17, 2025
@cbornet cbornet requested a review from sydney-runkle April 17, 2025 20:52
@dosubot dosubot bot added the 🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature label Apr 17, 2025
@eyurtsev eyurtsev self-assigned this May 9, 2025
@eyurtsev eyurtsev self-requested a review May 9, 2025 14:56
@@ -51,7 +51,7 @@ def log_error_once(method: str, exception: Exception) -> None:
def wait_for_all_tracers() -> None:
"""Wait for all tracers to finish."""
if rt._CLIENT is not None:
rt._CLIENT.flush()
get_client().flush()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's use a ruff ignore here -- it's already accessing rt._CLIENT

@dosubot dosubot bot added the lgtm PR looks good. Use to confirm that a PR is ready for merging. label May 12, 2025
@eyurtsev eyurtsev enabled auto-merge (squash) May 12, 2025 17:40
@eyurtsev eyurtsev merged commit 83d0061 into langchain-ai:master May 12, 2025
61 checks passed
@cbornet cbornet deleted the fix-slf branch May 13, 2025 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature lgtm PR looks good. Use to confirm that a PR is ready for merging. size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants