-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #938 from roboflow/sdk-reference-docs
docstrings for SDK reference docs
- Loading branch information
Showing
21 changed files
with
1,347 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
class InferenceSDKDeprecationWarning(Warning): | ||
"""Class used for warning of deprecated features in the Inference SDK""" | ||
|
||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
"""Inference SDK HTTP module. | ||
This module provides HTTP-based functionality for the Inference SDK, including utilities | ||
for making HTTP requests, handling responses, and processing images. It contains tools | ||
for loading and preprocessing images, building requests, and managing API interactions. | ||
The module includes utilities for: | ||
- Loading images from files, URLs and base64 strings | ||
- Resizing and preprocessing images while maintaining aspect ratio | ||
- Building and formatting HTTP requests with proper headers and payloads | ||
- Handling API responses and errors safely | ||
- Profiling workflow execution | ||
""" |
Oops, something went wrong.