-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into tyler/multiclass-detector-support
- Loading branch information
Showing
66 changed files
with
115 additions
and
116 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
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
Groundlight makes it simple to understand images. You can easily create computer vision detectors just by describing what you want to know using natural language. # noqa: E501 | ||
The version of the OpenAPI document: 0.15.3 | ||
The version of the OpenAPI document: 0.18.1 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
Groundlight makes it simple to understand images. You can easily create computer vision detectors just by describing what you want to know using natural language. # noqa: E501 | ||
The version of the OpenAPI document: 0.15.3 | ||
The version of the OpenAPI document: 0.18.1 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
Groundlight makes it simple to understand images. You can easily create computer vision detectors just by describing what you want to know using natural language. # noqa: E501 | ||
The version of the OpenAPI document: 0.15.3 | ||
The version of the OpenAPI document: 0.18.1 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
Groundlight makes it simple to understand images. You can easily create computer vision detectors just by describing what you want to know using natural language. # noqa: E501 | ||
The version of the OpenAPI document: 0.15.3 | ||
The version of the OpenAPI document: 0.18.1 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
Groundlight makes it simple to understand images. You can easily create computer vision detectors just by describing what you want to know using natural language. # noqa: E501 | ||
The version of the OpenAPI document: 0.15.3 | ||
The version of the OpenAPI document: 0.18.1 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
Groundlight makes it simple to understand images. You can easily create computer vision detectors just by describing what you want to know using natural language. # noqa: E501 | ||
The version of the OpenAPI document: 0.15.3 | ||
The version of the OpenAPI document: 0.18.1 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
Groundlight makes it simple to understand images. You can easily create computer vision detectors just by describing what you want to know using natural language. # noqa: E501 | ||
The version of the OpenAPI document: 0.15.3 | ||
The version of the OpenAPI document: 0.18.1 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
Groundlight makes it simple to understand images. You can easily create computer vision detectors just by describing what you want to know using natural language. # noqa: E501 | ||
The version of the OpenAPI document: 0.15.3 | ||
The version of the OpenAPI document: 0.18.1 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
Groundlight makes it simple to understand images. You can easily create computer vision detectors just by describing what you want to know using natural language. # noqa: E501 | ||
The version of the OpenAPI document: 0.15.3 | ||
The version of the OpenAPI document: 0.18.1 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
Groundlight makes it simple to understand images. You can easily create computer vision detectors just by describing what you want to know using natural language. # noqa: E501 | ||
The version of the OpenAPI document: 0.15.3 | ||
The version of the OpenAPI document: 0.18.1 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
Groundlight makes it simple to understand images. You can easily create computer vision detectors just by describing what you want to know using natural language. # noqa: E501 | ||
The version of the OpenAPI document: 0.15.3 | ||
The version of the OpenAPI document: 0.18.1 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
@@ -419,7 +419,7 @@ def to_debug_report(self): | |
"Python SDK Debug Report:\n" | ||
"OS: {env}\n" | ||
"Python Version: {pyversion}\n" | ||
"Version of the API: 0.15.3\n" | ||
"Version of the API: 0.18.1\n" | ||
"SDK Package Version: 1.0.0".format(env=sys.platform, pyversion=sys.version) | ||
) | ||
|
||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
Groundlight makes it simple to understand images. You can easily create computer vision detectors just by describing what you want to know using natural language. # noqa: E501 | ||
The version of the OpenAPI document: 0.15.3 | ||
The version of the OpenAPI document: 0.18.1 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
Groundlight makes it simple to understand images. You can easily create computer vision detectors just by describing what you want to know using natural language. # noqa: E501 | ||
The version of the OpenAPI document: 0.15.3 | ||
The version of the OpenAPI document: 0.18.1 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
Groundlight makes it simple to understand images. You can easily create computer vision detectors just by describing what you want to know using natural language. # noqa: E501 | ||
The version of the OpenAPI document: 0.15.3 | ||
The version of the OpenAPI document: 0.18.1 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
Groundlight makes it simple to understand images. You can easily create computer vision detectors just by describing what you want to know using natural language. # noqa: E501 | ||
The version of the OpenAPI document: 0.15.3 | ||
The version of the OpenAPI document: 0.18.1 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
Groundlight makes it simple to understand images. You can easily create computer vision detectors just by describing what you want to know using natural language. # noqa: E501 | ||
The version of the OpenAPI document: 0.15.3 | ||
The version of the OpenAPI document: 0.18.1 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
Groundlight makes it simple to understand images. You can easily create computer vision detectors just by describing what you want to know using natural language. # noqa: E501 | ||
The version of the OpenAPI document: 0.15.3 | ||
The version of the OpenAPI document: 0.18.1 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
Groundlight makes it simple to understand images. You can easily create computer vision detectors just by describing what you want to know using natural language. # noqa: E501 | ||
The version of the OpenAPI document: 0.15.3 | ||
The version of the OpenAPI document: 0.18.1 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
Groundlight makes it simple to understand images. You can easily create computer vision detectors just by describing what you want to know using natural language. # noqa: E501 | ||
The version of the OpenAPI document: 0.15.3 | ||
The version of the OpenAPI document: 0.18.1 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
@@ -54,18 +54,18 @@ class BinaryClassificationResult(ModelNormal): | |
""" | ||
|
||
allowed_values = { | ||
("label",): { | ||
"YES": "YES", | ||
"NO": "NO", | ||
"UNCLEAR": "UNCLEAR", | ||
}, | ||
("source",): { | ||
"STILL_PROCESSING": "STILL_PROCESSING", | ||
"CLOUD": "CLOUD", | ||
"USER": "USER", | ||
"CLOUD_ENSEMBLE": "CLOUD_ENSEMBLE", | ||
"ALGORITHM": "ALGORITHM", | ||
}, | ||
("label",): { | ||
"YES": "YES", | ||
"NO": "NO", | ||
"UNCLEAR": "UNCLEAR", | ||
}, | ||
} | ||
|
||
validations = { | ||
|
@@ -106,19 +106,19 @@ def openapi_types(): | |
and the value is attribute type. | ||
""" | ||
return { | ||
"source": (str,), # noqa: E501 | ||
"label": (str,), # noqa: E501 | ||
"confidence": (float,), # noqa: E501 | ||
"source": (str,), # noqa: E501 | ||
} | ||
|
||
@cached_property | ||
def discriminator(): | ||
return None | ||
|
||
attribute_map = { | ||
"source": "source", # noqa: E501 | ||
"label": "label", # noqa: E501 | ||
"confidence": "confidence", # noqa: E501 | ||
"source": "source", # noqa: E501 | ||
} | ||
|
||
read_only_vars = {} | ||
|
@@ -127,11 +127,10 @@ def discriminator(): | |
|
||
@classmethod | ||
@convert_js_args_to_python_args | ||
def _from_openapi_data(cls, source, label, *args, **kwargs): # noqa: E501 | ||
def _from_openapi_data(cls, label, *args, **kwargs): # noqa: E501 | ||
"""BinaryClassificationResult - a model defined in OpenAPI | ||
Args: | ||
source (str): | ||
label (str): | ||
Keyword Args: | ||
|
@@ -166,6 +165,7 @@ def _from_openapi_data(cls, source, label, *args, **kwargs): # noqa: E501 | |
through its discriminator because we passed in | ||
_visited_composed_classes = (Animal,) | ||
confidence (float): [optional] # noqa: E501 | ||
source (str): Source is optional to support edge v0.2. [optional] # noqa: E501 | ||
""" | ||
|
||
_check_type = kwargs.pop("_check_type", True) | ||
|
@@ -194,7 +194,6 @@ def _from_openapi_data(cls, source, label, *args, **kwargs): # noqa: E501 | |
self._configuration = _configuration | ||
self._visited_composed_classes = _visited_composed_classes + (self.__class__,) | ||
|
||
self.source = source | ||
self.label = label | ||
for var_name, var_value in kwargs.items(): | ||
if ( | ||
|
@@ -218,11 +217,10 @@ def _from_openapi_data(cls, source, label, *args, **kwargs): # noqa: E501 | |
]) | ||
|
||
@convert_js_args_to_python_args | ||
def __init__(self, source, label, *args, **kwargs): # noqa: E501 | ||
def __init__(self, label, *args, **kwargs): # noqa: E501 | ||
"""BinaryClassificationResult - a model defined in OpenAPI | ||
Args: | ||
source (str): | ||
label (str): | ||
Keyword Args: | ||
|
@@ -257,6 +255,7 @@ def __init__(self, source, label, *args, **kwargs): # noqa: E501 | |
through its discriminator because we passed in | ||
_visited_composed_classes = (Animal,) | ||
confidence (float): [optional] # noqa: E501 | ||
source (str): Source is optional to support edge v0.2. [optional] # noqa: E501 | ||
""" | ||
|
||
_check_type = kwargs.pop("_check_type", True) | ||
|
@@ -283,7 +282,6 @@ def __init__(self, source, label, *args, **kwargs): # noqa: E501 | |
self._configuration = _configuration | ||
self._visited_composed_classes = _visited_composed_classes + (self.__class__,) | ||
|
||
self.source = source | ||
self.label = label | ||
for var_name, var_value in kwargs.items(): | ||
if ( | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
Groundlight makes it simple to understand images. You can easily create computer vision detectors just by describing what you want to know using natural language. # noqa: E501 | ||
The version of the OpenAPI document: 0.15.3 | ||
The version of the OpenAPI document: 0.18.1 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
Groundlight makes it simple to understand images. You can easily create computer vision detectors just by describing what you want to know using natural language. # noqa: E501 | ||
The version of the OpenAPI document: 0.15.3 | ||
The version of the OpenAPI document: 0.18.1 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
Groundlight makes it simple to understand images. You can easily create computer vision detectors just by describing what you want to know using natural language. # noqa: E501 | ||
The version of the OpenAPI document: 0.15.3 | ||
The version of the OpenAPI document: 0.18.1 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
Groundlight makes it simple to understand images. You can easily create computer vision detectors just by describing what you want to know using natural language. # noqa: E501 | ||
The version of the OpenAPI document: 0.15.3 | ||
The version of the OpenAPI document: 0.18.1 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
Groundlight makes it simple to understand images. You can easily create computer vision detectors just by describing what you want to know using natural language. # noqa: E501 | ||
The version of the OpenAPI document: 0.15.3 | ||
The version of the OpenAPI document: 0.18.1 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
Oops, something went wrong.