Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions generated/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,4 @@ setup.cfg
setup.py
test-requirements.txt
test/__init__.py
test/test_detector_mode_enum.py
test/test_null_enum.py
tox.ini
1 change: 1 addition & 0 deletions generated/docs/EdgeModelInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Name | Type | Description | Notes
**pipeline_config** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [optional]
**oodd_pipeline_config** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [optional]
**predictor_metadata** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [optional]
**minimal_compatible** | **bool** | | [optional] if omitted the server will use the default value of False
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ def list_image_queries(self, **kwargs):

def submit_image_query(self, detector_id, **kwargs):
"""submit_image_query # noqa: E501

Submit an image query against a detector. You must use `\"Content-Type: image/jpeg\"` or similar (image/png, image/webp, etc) for the image data. For example: ```Bash $ curl https://api.groundlight.ai/device-api/v1/image-queries?detector_id=det_abc123 \\ --header \"Content-Type: image/jpeg\" \\ --data-binary @path/to/filename.jpeg ``` # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
Expand Down
4 changes: 4 additions & 0 deletions generated/groundlight_openapi_client/model/edge_model_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ def openapi_types():
str,
none_type,
), # noqa: E501
"minimal_compatible": (bool,), # noqa: E501
}

@cached_property
Expand All @@ -139,6 +140,7 @@ def discriminator():
"pipeline_config": "pipeline_config", # noqa: E501
"oodd_pipeline_config": "oodd_pipeline_config", # noqa: E501
"predictor_metadata": "predictor_metadata", # noqa: E501
"minimal_compatible": "minimal_compatible", # noqa: E501
}

read_only_vars = {}
Expand Down Expand Up @@ -188,6 +190,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
pipeline_config (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501
oodd_pipeline_config (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501
predictor_metadata (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501
minimal_compatible (bool): [optional] if omitted the server will use the default value of False # noqa: E501
"""

_check_type = kwargs.pop("_check_type", True)
Expand Down Expand Up @@ -279,6 +282,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
pipeline_config (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501
oodd_pipeline_config (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501
predictor_metadata (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501
minimal_compatible (bool): [optional] if omitted the server will use the default value of False # noqa: E501
"""

_check_type = kwargs.pop("_check_type", True)
Expand Down
3 changes: 2 additions & 1 deletion generated/model.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# generated by datamodel-codegen:
# filename: public-api.yaml
# timestamp: 2026-05-05T17:57:16+00:00
# timestamp: 2026-06-16T00:34:34+00:00

from __future__ import annotations

Expand Down Expand Up @@ -107,6 +107,7 @@ class EdgeModelInfo(BaseModel):
pipeline_config: Optional[Any] = None
oodd_pipeline_config: Optional[Any] = None
predictor_metadata: Optional[Any] = None
minimal_compatible: bool = False


class ImageQueryTypeEnum(str, Enum):
Expand Down
9 changes: 7 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions spec/public-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1311,6 +1311,9 @@ components:
pipeline_config: {}
oodd_pipeline_config: {}
predictor_metadata: {}
minimal_compatible:
type: boolean
default: false
ImageQuery:
type: object
description: ImageQuery objects are the answers to natural language questions
Expand Down
Loading