diff --git a/typings/OpenImageIO/.patches/OpenImageIO_pyi_20250207_163132.patch b/typings/OpenImageIO/.patches/OpenImageIO_pyi_20250207_163132.patch new file mode 100644 index 0000000..791e417 --- /dev/null +++ b/typings/OpenImageIO/.patches/OpenImageIO_pyi_20250207_163132.patch @@ -0,0 +1,40 @@ +diff --git a/typings/OpenImageIO/OpenImageIO.pyi b/typings/OpenImageIO/OpenImageIO.pyi +index 32639f3..e0c5a28 100644 +--- a/typings/OpenImageIO/OpenImageIO.pyi ++++ b/typings/OpenImageIO/OpenImageIO.pyi +@@ -3410,7 +3410,7 @@ class ImageInput: + """geterror(self: OpenImageIO.OpenImageIO.ImageInput, clear: bool = True) -> str""" + @overload + @staticmethod +- def open(filename: str) -> object: ++ def open(filename: str) -> ImageInput: + """open(*args, **kwargs) + Overloaded function. + +@@ -3420,7 +3420,7 @@ class ImageInput: + """ + @overload + @staticmethod +- def open(filename: str, config: ImageSpec) -> object: ++ def open(filename: str, config: ImageSpec) -> ImageInput: + """open(*args, **kwargs) + Overloaded function. + +@@ -3545,7 +3545,7 @@ class ImageOutput: + def copy_image(self, arg0: ImageInput) -> bool: + """copy_image(self: OpenImageIO.OpenImageIO.ImageOutput, arg0: OpenImageIO.OpenImageIO.ImageInput) -> bool""" + @staticmethod +- def create(filename: str, plugin_searchpath: str = ...) -> object: ++ def create(filename: str, plugin_searchpath: str = ...) -> ImageOutput: + """create(filename: str, plugin_searchpath: str = '') -> object""" + def format_name(self) -> str: + """format_name(self: OpenImageIO.OpenImageIO.ImageOutput) -> str""" +@@ -3651,7 +3651,7 @@ class ImageSpec: + 5. __init__(self: OpenImageIO.OpenImageIO.ImageSpec, arg0: OpenImageIO.OpenImageIO.ImageSpec) -> None + """ + @overload +- def __init__(self, arg0: int, arg1: int, arg2: int, arg3: TypeDesc) -> None: ++ def __init__(self, arg0: int, arg1: int, arg2: int, arg3: BASETYPE) -> None: + """__init__(*args, **kwargs) + Overloaded function. + diff --git a/typings/OpenImageIO/.patches/OpenImageIO_pyi_20250207_163132.patch.json b/typings/OpenImageIO/.patches/OpenImageIO_pyi_20250207_163132.patch.json new file mode 100644 index 0000000..e10cb08 --- /dev/null +++ b/typings/OpenImageIO/.patches/OpenImageIO_pyi_20250207_163132.patch.json @@ -0,0 +1,7 @@ +{ + "target": "C:\\Users\\User\\dev\\melMass\\stable-diffusion\\ComfyUI.git\\custom_nodes\\comfy_oiio\\typings\\OpenImageIO\\OpenImageIO.pyi", + "created": "2025-02-07 16:31:32.626596900 +01:00", + "min_version": null, + "max_version": null, + "description": "Initial Refinements" +} \ No newline at end of file diff --git a/typings/OpenImageIO/OpenImageIO.pyi b/typings/OpenImageIO/OpenImageIO.pyi index 32639f3..e0c5a28 100644 --- a/typings/OpenImageIO/OpenImageIO.pyi +++ b/typings/OpenImageIO/OpenImageIO.pyi @@ -3410,7 +3410,7 @@ class ImageInput: """geterror(self: OpenImageIO.OpenImageIO.ImageInput, clear: bool = True) -> str""" @overload @staticmethod - def open(filename: str) -> object: + def open(filename: str) -> ImageInput: """open(*args, **kwargs) Overloaded function. @@ -3420,7 +3420,7 @@ class ImageInput: """ @overload @staticmethod - def open(filename: str, config: ImageSpec) -> object: + def open(filename: str, config: ImageSpec) -> ImageInput: """open(*args, **kwargs) Overloaded function. @@ -3545,7 +3545,7 @@ class ImageOutput: def copy_image(self, arg0: ImageInput) -> bool: """copy_image(self: OpenImageIO.OpenImageIO.ImageOutput, arg0: OpenImageIO.OpenImageIO.ImageInput) -> bool""" @staticmethod - def create(filename: str, plugin_searchpath: str = ...) -> object: + def create(filename: str, plugin_searchpath: str = ...) -> ImageOutput: """create(filename: str, plugin_searchpath: str = '') -> object""" def format_name(self) -> str: """format_name(self: OpenImageIO.OpenImageIO.ImageOutput) -> str""" @@ -3651,7 +3651,7 @@ class ImageSpec: 5. __init__(self: OpenImageIO.OpenImageIO.ImageSpec, arg0: OpenImageIO.OpenImageIO.ImageSpec) -> None """ @overload - def __init__(self, arg0: int, arg1: int, arg2: int, arg3: TypeDesc) -> None: + def __init__(self, arg0: int, arg1: int, arg2: int, arg3: BASETYPE) -> None: """__init__(*args, **kwargs) Overloaded function.