Hello all, does anyone know of a prefect SDK function(s) that I can call to fetch and filter events? I can use this API endpoint, but I'd prefer to use a supported library function if it exists. Thanks!
b
Bianca Hoch
01/09/2025, 7:51 PM
Hi Ryan! I think read_events may be what you're looking for?
r
Ryan Qiu
01/09/2025, 7:54 PM
hey@Bianca Hoch! correct me if im wrong but that looks like the api endpoint signature to me?
j
Janet Carson
01/09/2025, 7:58 PM
There are a number of tools that generate client code from open api descriptions - try searching github?
r
Ryan Qiu
01/09/2025, 8:01 PM
@Janet Carson I could hit the API manually, but just wondering if it was built into the SDK anywhere, similar to the
emit(Event)
one I found here?
Just in case API changes down the line, I can rely on the SDK instead of making changes on my end.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.