You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bump version to 0.22.4 and generate client code from updated spec (#337)
Bump version to 0.22.4.
This updates the spec to the point of #4798, to avoid removing the
`Label` enum (which may cause issues, I'm not sure).
Spec changes include (as far as I can tell):
- additional fields related to Webhook models
- addition of bounding box mode components
- edge `report-metrics` endpoint
- `from_edge` field on results
**result_type** | **str** | | [optional] if omitted the server will use the default value of "binary_classification"
11
+
**from_edge** | **bool** | | [optional]
11
12
**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]
12
13
13
14
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**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]
10
+
11
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**result_type** | **str** | | [optional] if omitted the server will use the default value of "bounding_box"
11
+
**from_edge** | **bool** | | [optional]
12
+
**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]
13
+
14
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**result_type** | **str** | | [optional] if omitted the server will use the default value of "counting"
11
+
**from_edge** | **bool** | | [optional]
11
12
**greater_than_max** | **bool** | | [optional]
12
13
**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]
Copy file name to clipboardExpand all lines: generated/docs/DetectorCreationInputRequest.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
12
12
**patience_time** | **float** | How long Groundlight will attempt to generate a confident prediction | [optional] if omitted the server will use the default value of 30.0
13
13
**pipeline_config** | **str, none_type** | (Advanced usage) Configuration needed to instantiate a prediction pipeline. | [optional]
14
14
**metadata** | **str** | Base64-encoded metadata for the detector. This should be a JSON object with string keys. The size after encoding should not exceed 1362 bytes, corresponding to 1KiB before encoding. | [optional]
15
-
**mode** | **bool, date, datetime, dict, float, int, list, str, none_type** | Mode in which this detector will work. * `BINARY` - BINARY * `COUNT` - COUNT * `MULTI_CLASS` - MULTI_CLASS * `TEXT` - TEXT | [optional]
15
+
**mode** | **bool, date, datetime, dict, float, int, list, str, none_type** | Mode in which this detector will work. * `BINARY` - BINARY * `COUNT` - COUNT * `MULTI_CLASS` - MULTI_CLASS * `TEXT` - TEXT * `BOUNDING_BOX` - BOUNDING_BOX | [optional]
**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]
# Enter a context with an instance of the API client
45
+
with groundlight_openapi_client.ApiClient(configuration) as api_client:
46
+
# Create an instance of the API class
47
+
api_instance = edge_api.EdgeApi(api_client)
48
+
49
+
# example, this endpoint has no required or optional parameters
50
+
try:
51
+
api_instance.edge_report_metrics_create()
52
+
except groundlight_openapi_client.ApiException as e:
53
+
print("Exception when calling EdgeApi->edge_report_metrics_create: %s\n"% e)
54
+
```
55
+
56
+
57
+
### Parameters
58
+
This endpoint does not need any parameter.
59
+
60
+
### Return type
61
+
62
+
void (empty response body)
63
+
64
+
### Authorization
65
+
66
+
[ApiToken](../README.md#ApiToken)
67
+
68
+
### HTTP request headers
69
+
70
+
-**Content-Type**: Not defined
71
+
-**Accept**: Not defined
72
+
73
+
74
+
### HTTP response details
75
+
76
+
| Status code | Description | Response headers |
77
+
|-------------|-------------|------------------|
78
+
**200** | No response body | - |
79
+
80
+
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
**value** | **str** | | must be one of ["BINARY", "COUNT", "MULTI_CLASS", "TEXT", ]
7
+
**value** | **str** | | must be one of ["BINARY", "COUNT", "MULTI_CLASS", "TEXT", "BOUNDING_BOX", ]
8
8
9
9
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
0 commit comments