Modernize Image Processing typing (#83405)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
This commit is contained in:
@@ -1372,6 +1372,10 @@ _INHERITANCE_MATCH: dict[str, list[ClassTypeHintMatch]] = {
|
||||
function_name="confidence",
|
||||
return_type=["float", None],
|
||||
),
|
||||
TypeHintMatch(
|
||||
function_name="device_class",
|
||||
return_type=["ImageProcessingDeviceClass", None],
|
||||
),
|
||||
TypeHintMatch(
|
||||
function_name="process_image",
|
||||
arg_types={1: "bytes"},
|
||||
|
||||
Reference in New Issue
Block a user