fix: mark floodFill mask as optional in Python typing stubs

pull/25720/head
Vadim Levin 5 months ago
parent 92b588f30b
commit 5dd7b5f0e5
  1. 1
      modules/python/src2/typing_stubs_generation/api_refinement.py

@ -325,6 +325,7 @@ def _find_argument_index(arguments: Sequence[FunctionNode.Arg],
NODES_TO_REFINE = {
SymbolName(("cv", ), (), "resize"): make_optional_arg("dsize"),
SymbolName(("cv", ), (), "calcHist"): make_optional_arg("mask"),
SymbolName(("cv", ), (), "floodFill"): make_optional_arg("mask"),
}
ERROR_CLASS_PROPERTIES = (

Loading…
Cancel
Save