Tags: groundlight/python-sdk
Tags
Allow unknown fields in Edge config models (#418) To minimize potential breaking changes when a client uses a different version of the edge config than the edge-endpoint, we should allow unknown fields. This changes means that the edge-endpoint will accept any fields it doesn't know about without raising exceptions, and then just ignore them, which is likely the best way of handling a version mismatch.
Require urllib3 >=2.6.1 to avoid broken 2.6.0 release (#414) urllib3 2.6.0 removed getheader()/getheaders() from HTTPResponse, breaking the OpenAPI-generated client. The methods were restored in 2.6.1 three days later. Bump the minimum to skip the broken version. To remove the deprecated getheader()/getheaders(), we'll need to bump the version of our generator. This introduced some more issues when I tried it, so leaving that for another time. --------- Co-authored-by: Claude Opus 4.6 <[email protected]>
Add documentation and testing for Bounding Box mode (#396) This PR adds documentation for bounding box mode now that it's enabled for all users. Also, it improves the testing coverage on bounding box mode. There were some disabled tests that needed to be turned on now that the mode is available for all users. Also, additional test coverage was added on adding bbox labels. --------- Co-authored-by: Auto-format Bot <[email protected]>
Add bounding boxes label enum (#390) This PR adds a new bounding boxes label enum to the SDK. It will be used to correctly construct responses on the edge, like `Label` is used for binary mode. I also bumped the version number to do a new release with this enum. Due to compatibility issues between `datamodel-code-generator` and the version of pydantic in use, I also update `datamodel-code-generator`.
PreviousNext