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
1 change: 1 addition & 0 deletions generated/docs/BinaryClassificationResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
**label** | **str** | |
**confidence** | **float, none_type** | | [optional]
**source** | **str** | | [optional]
**result_type** | **str** | | [optional] if omitted the server will use the default value of "binary_classification"
**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
1 change: 1 addition & 0 deletions generated/docs/CountingResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
**count** | **int, none_type** | |
**confidence** | **float, none_type** | | [optional]
**source** | **str** | | [optional]
**result_type** | **str** | | [optional] if omitted the server will use the default value of "counting"
**greater_than_max** | **bool** | | [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]

Expand Down
2 changes: 1 addition & 1 deletion generated/docs/LabelValueRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**label** | **str** | |
**label** | **str, none_type** | |
**image_query_id** | **str** | |
**rois** | [**[ROIRequest], none_type**](ROIRequest.md) | | [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]
Expand Down
1 change: 1 addition & 0 deletions generated/docs/MultiClassificationResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
**label** | **str** | |
**confidence** | **float, none_type** | | [optional]
**source** | **str** | | [optional]
**result_type** | **str** | | [optional] if omitted the server will use the default value of "multi_classification"
**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
4 changes: 2 additions & 2 deletions generated/docs/SourceEnum.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# SourceEnum

* `INITIAL_PLACEHOLDER` - InitialPlaceholder * `CLOUD` - HumanCloud * `CUST` - HumanCustomer * `HUMAN_CLOUD_ENSEMBLE` - HumanCloudEnsemble * `ALG` - Algorithm * `ALG_REC` - AlgorithmReconciled * `ALG_UNCLEAR` - AlgorithmUnclear
* `INITIAL_PLACEHOLDER` - InitialPlaceholder * `CLOUD` - HumanCloud * `CUST` - HumanCustomer * `HUMAN_CLOUD_ENSEMBLE` - HumanCloudEnsemble * `ALG` - Algorithm * `ALG_REC` - AlgorithmReconciled * `ALG_UNCLEAR` - AlgorithmUnclear * `EDGE` - EDGE

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**value** | **str** | * `INITIAL_PLACEHOLDER` - InitialPlaceholder * `CLOUD` - HumanCloud * `CUST` - HumanCustomer * `HUMAN_CLOUD_ENSEMBLE` - HumanCloudEnsemble * `ALG` - Algorithm * `ALG_REC` - AlgorithmReconciled * `ALG_UNCLEAR` - AlgorithmUnclear | must be one of ["INITIAL_PLACEHOLDER", "CLOUD", "CUST", "HUMAN_CLOUD_ENSEMBLE", "ALG", "ALG_REC", "ALG_UNCLEAR", ]
**value** | **str** | * `INITIAL_PLACEHOLDER` - InitialPlaceholder * `CLOUD` - HumanCloud * `CUST` - HumanCustomer * `HUMAN_CLOUD_ENSEMBLE` - HumanCloudEnsemble * `ALG` - Algorithm * `ALG_REC` - AlgorithmReconciled * `ALG_UNCLEAR` - AlgorithmUnclear * `EDGE` - EDGE | must be one of ["INITIAL_PLACEHOLDER", "CLOUD", "CUST", "HUMAN_CLOUD_ENSEMBLE", "ALG", "ALG_REC", "ALG_UNCLEAR", "EDGE", ]

[[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
3 changes: 2 additions & 1 deletion generated/docs/TextRecognitionResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**text** | **str** | |
**text** | **str, none_type** | |
**truncated** | **bool** | |
**confidence** | **float, none_type** | | [optional]
**source** | **str** | | [optional]
**result_type** | **str** | | [optional] if omitted the server will use the default value of "text_recognition"
**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 @@ -65,6 +65,10 @@ class BinaryClassificationResult(ModelNormal):
"USER": "USER",
"CLOUD_ENSEMBLE": "CLOUD_ENSEMBLE",
"ALGORITHM": "ALGORITHM",
"EDGE": "EDGE",
},
("result_type",): {
"BINARY_CLASSIFICATION": "binary_classification",
},
}

Expand Down Expand Up @@ -112,6 +116,7 @@ def openapi_types():
none_type,
), # noqa: E501
"source": (str,), # noqa: E501
"result_type": (str,), # noqa: E501
}

@cached_property
Expand All @@ -122,6 +127,7 @@ def discriminator():
"label": "label", # noqa: E501
"confidence": "confidence", # noqa: E501
"source": "source", # noqa: E501
"result_type": "result_type", # noqa: E501
}

read_only_vars = {}
Expand Down Expand Up @@ -169,6 +175,7 @@ def _from_openapi_data(cls, label, *args, **kwargs): # noqa: E501
_visited_composed_classes = (Animal,)
confidence (float, none_type): [optional] # noqa: E501
source (str): [optional] # noqa: E501
result_type (str): [optional] if omitted the server will use the default value of "binary_classification" # noqa: E501
"""

_check_type = kwargs.pop("_check_type", True)
Expand Down Expand Up @@ -259,6 +266,7 @@ def __init__(self, label, *args, **kwargs): # noqa: E501
_visited_composed_classes = (Animal,)
confidence (float, none_type): [optional] # noqa: E501
source (str): [optional] # noqa: E501
result_type (str): [optional] if omitted the server will use the default value of "binary_classification" # noqa: E501
"""

_check_type = kwargs.pop("_check_type", True)
Expand Down
8 changes: 8 additions & 0 deletions generated/groundlight_openapi_client/model/counting_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ class CountingResult(ModelNormal):
"USER": "USER",
"CLOUD_ENSEMBLE": "CLOUD_ENSEMBLE",
"ALGORITHM": "ALGORITHM",
"EDGE": "EDGE",
},
("result_type",): {
"COUNTING": "counting",
},
}

Expand Down Expand Up @@ -113,6 +117,7 @@ def openapi_types():
none_type,
), # noqa: E501
"source": (str,), # noqa: E501
"result_type": (str,), # noqa: E501
"greater_than_max": (bool,), # noqa: E501
}

Expand All @@ -124,6 +129,7 @@ def discriminator():
"count": "count", # noqa: E501
"confidence": "confidence", # noqa: E501
"source": "source", # noqa: E501
"result_type": "result_type", # noqa: E501
"greater_than_max": "greater_than_max", # noqa: E501
}

Expand Down Expand Up @@ -172,6 +178,7 @@ def _from_openapi_data(cls, count, *args, **kwargs): # noqa: E501
_visited_composed_classes = (Animal,)
confidence (float, none_type): [optional] # noqa: E501
source (str): [optional] # noqa: E501
result_type (str): [optional] if omitted the server will use the default value of "counting" # noqa: E501
greater_than_max (bool): [optional] # noqa: E501
"""

Expand Down Expand Up @@ -263,6 +270,7 @@ def __init__(self, count, *args, **kwargs): # noqa: E501
_visited_composed_classes = (Animal,)
confidence (float, none_type): [optional] # noqa: E501
source (str): [optional] # noqa: E501
result_type (str): [optional] if omitted the server will use the default value of "counting" # noqa: E501
greater_than_max (bool): [optional] # noqa: E501
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,10 @@ def openapi_types():
"""
lazy_import()
return {
"label": (str,), # noqa: E501
"label": (
str,
none_type,
), # noqa: E501
"image_query_id": (str,), # noqa: E501
"rois": (
[ROIRequest],
Expand Down Expand Up @@ -128,7 +131,7 @@ def _from_openapi_data(cls, label, image_query_id, *args, **kwargs): # noqa: E5
"""LabelValueRequest - a model defined in OpenAPI

Args:
label (str):
label (str, none_type):
image_query_id (str):

Keyword Args:
Expand Down Expand Up @@ -219,7 +222,7 @@ def __init__(self, label, image_query_id, *args, **kwargs): # noqa: E501
"""LabelValueRequest - a model defined in OpenAPI

Args:
label (str):
label (str, none_type):
image_query_id (str):

Keyword Args:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ class MultiClassificationResult(ModelNormal):
"USER": "USER",
"CLOUD_ENSEMBLE": "CLOUD_ENSEMBLE",
"ALGORITHM": "ALGORITHM",
"EDGE": "EDGE",
},
("result_type",): {
"MULTI_CLASSIFICATION": "multi_classification",
},
}

Expand Down Expand Up @@ -107,6 +111,7 @@ def openapi_types():
none_type,
), # noqa: E501
"source": (str,), # noqa: E501
"result_type": (str,), # noqa: E501
}

@cached_property
Expand All @@ -117,6 +122,7 @@ def discriminator():
"label": "label", # noqa: E501
"confidence": "confidence", # noqa: E501
"source": "source", # noqa: E501
"result_type": "result_type", # noqa: E501
}

read_only_vars = {}
Expand Down Expand Up @@ -164,6 +170,7 @@ def _from_openapi_data(cls, label, *args, **kwargs): # noqa: E501
_visited_composed_classes = (Animal,)
confidence (float, none_type): [optional] # noqa: E501
source (str): [optional] # noqa: E501
result_type (str): [optional] if omitted the server will use the default value of "multi_classification" # noqa: E501
"""

_check_type = kwargs.pop("_check_type", True)
Expand Down Expand Up @@ -254,6 +261,7 @@ def __init__(self, label, *args, **kwargs): # noqa: E501
_visited_composed_classes = (Animal,)
confidence (float, none_type): [optional] # noqa: E501
source (str): [optional] # noqa: E501
result_type (str): [optional] if omitted the server will use the default value of "multi_classification" # noqa: E501
"""

_check_type = kwargs.pop("_check_type", True)
Expand Down
Loading
Loading