python-docs-samples icon indicating copy to clipboard operation
python-docs-samples copied to clipboard

feat: demonstrating testing with mocks using actual interfaces

Open telpirion opened this issue 1 year ago • 3 comments

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.

telpirion avatar Sep 20 '24 21:09 telpirion

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.

telpirion avatar Sep 23 '24 16:09 telpirion

friendly ping: any updates on this PR? or will it be re-created

glasnt avatar Oct 14 '24 03:10 glasnt

Converting this to draft; will follow up directly.

telpirion avatar Oct 14 '24 17:10 telpirion

PR no longer needed. Closing.

telpirion avatar Nov 21 '24 17:11 telpirion