Closed hikariatama closed 1 week ago
Thanks for the issue @hikariatama! This was fixed in https://github.com/PrefectHQ/prefect/pull/13763 and the fix is available in 3.0.0rc3. I'm going to close this, but feel free to reply if you encounter any other issues with get_client
typing!
First check
Prefect Version
3.x
Describe the current behavior
Due to missing overload, pyright reports
as error, since
get_client
returnsUnion["PrefectClient", "SyncPrefectClient"]
.Describe the proposed behavior
Add typing overloads for client to get rid of error at least with the explicit argument
sync_client
Example Use
No response
Additional context
No response