python-docs-samples
python-docs-samples copied to clipboard
feat: demonstrating testing with mocks using actual interfaces
Description
For some resource-intensive APIs, in this case Endpoint.predict() which requires a deployed endpoint, use a Mock or MagicMock to ensure that the client library interface is observed.
Oops! I intended to mark this as a "draft." @glasnt -- I'll follow up with you over chat about this PR; my apologies that I didn't do it sooner.
friendly ping: any updates on this PR? or will it be re-created
Converting this to draft; will follow up directly.
PR no longer needed. Closing.