Skip to content

Add timeout parameter to edge.inferences.run method #55

@bmunday3

Description

@bmunday3

Checklist

Please review first that the issue is fully related with this SDK by checking the relevant checkboxes ([x]).

  • I have a Modzy API Key active and have the entitlements to perform the desired action.
  • I review that have access to Modzy API host.
  • I think that is a error specific to the SDK.
  • I review the documentation and existing issues in order to not duplicate existing ones.
  • I am willing to follow-up on comments in a timely manner.

Info

  • Modzy SDK version: 0.11.5
  • Python version: 3.8.10
  • Operating System: Linux

Description

The edge client inferences.run method is a wrapper around inferences.perform_inference and inferences.block_until_complete. The issue is, this method does not accept a timeout parameter, so for models that take longer than 30 seconds to perform inference (default value in block_until_complete method, you have to manually use the perform inference --> block until complete methods.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions