Support for SDK entry-point wrapper around async REST API client #2181
blazing-gig
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the feature or potential improvement
Performing CRUD on resources like the prompt, datasets etc for scoring and evals are all REST calls to the langfuse server and they are all sync calls currently. Although the package has an
AsyncFernLangfuse
auto-generated client, a top level entrypoint class in the SDK that wraps around this is missing.This is posing difficulties when writing async native code with modern ASGI servers.
The idea here is to include a top level SDK entrypoint class that wraps around the async client as well ? Or may be one class with separate methods wrapping around sync and async behaviour ? (like prepending a{method})
Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions