We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the issue Numerous mypy error.
Actual behaviour
Here is the mypy output:
mypy
fink-broker/setup.py:15: error: Skipping analyzing "setuptools": module is installed, but missing library stubs or py.typed marker [import] fink-broker/fink_broker/tester.py:108: error: Argument 2 to "set" of "RuntimeConfig" has incompatible type "int"; expected "str" [arg-type] fink-broker/fink_broker/avroUtils.py:29: error: Name "io._io.BytesIO" is not defined [name-defined] fink-broker/fink_broker/avroUtils.py:59: error: Name "io._io.BytesIO" is not defined [name-defined] fink-broker/fink_broker/avroUtils.py:59: error: Name "fastavro._read.reader" is not defined [name-defined] fink-broker/fink_broker/tracklet_identification.py:25: error: Skipping analyzing "astropy.coordinates": module is installed, but missing library stubs or py.typed marker [import] fink-broker/fink_broker/tracklet_identification.py:26: error: Skipping analyzing "astropy.time": module is installed, but missing library stubs or py.typed marker [import] fink-broker/fink_broker/tracklet_identification.py:125: error: Argument 1 has incompatible type "Callable[[DataFrame], DataFrame]"; expected "Union[Callable[[DataFrameLike], DataFrameLike], Callable[[Any, DataFrameLike], DataFrameLike]]" [arg-type] fink-broker/fink_broker/sparkUtils.py:20: error: Module "pyspark.sql.column" has no attribute "_to_java_column" [attr-defined] fink-broker/fink_broker/sparkUtils.py:61: error: "type[SparkContext]" has no attribute "_active_spark_context" [attr-defined] fink-broker/fink_broker/sparkUtils.py:105: error: "type[SparkContext]" has no attribute "_active_spark_context" [attr-defined] fink-broker/fink_broker/sparkUtils.py:139: error: "DataFrameLike" has no attribute "to_csv" [attr-defined] fink-broker/fink_broker/sparkUtils.py:144: error: Incompatible default for argument "shuffle_partitions" (default has type "None", argument has type "int") [assignment] fink-broker/fink_broker/sparkUtils.py:144: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True fink-broker/fink_broker/sparkUtils.py:144: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase fink-broker/fink_broker/sparkUtils.py:178: error: Argument 2 to "set" of "RuntimeConfig" has incompatible type "int"; expected "str" [arg-type] fink-broker/fink_broker/sparkUtils.py:204: error: "type[SparkContext]" has no attribute "_active_spark_context" [attr-defined] fink-broker/fink_broker/sparkUtils.py:205: error: "type[SparkContext]" has no attribute "_active_spark_context" [attr-defined] fink-broker/fink_broker/sparkUtils.py:273: error: Incompatible types in assignment (expression has type "DataFrame", variable has type "DataStreamReader") [assignment] fink-broker/fink_broker/sparkUtils.py:278: error: Incompatible return value type (got "DataStreamReader", expected "DataFrame") [return-value] fink-broker/fink_broker/sparkUtils.py:346: error: Incompatible types in assignment (expression has type "float", variable has type "int") [assignment] fink-broker/fink_broker/sparkUtils.py:364: error: "SparkSession" has no attribute "_jvm" [attr-defined] fink-broker/fink_broker/sparkUtils.py:365: error: "SparkSession" has no attribute "_jsc" [attr-defined] fink-broker/fink_broker/slackUtils.py:139: error: "Column" not callable [operator] fink-broker/fink_broker/slackUtils.py:198: error: Argument 1 to "filter" of "DataFrame" has incompatible type "bool"; expected "Union[Column, str]" [arg-type] fink-broker/fink_broker/science.py:22: error: Skipping analyzing "healpy": module is installed, but missing library stubs or py.typed marker [import] fink-broker/fink_broker/science.py:28: error: Skipping analyzing "fink_utils.spark.utils": module is installed, but missing library stubs or py.typed marker [import] fink-broker/fink_broker/science.py:41: error: Skipping analyzing "fink_science.random_forest_snia.processor": module is installed, but missing library stubs or py.typed marker [import] fink-broker/fink_broker/science.py:42: error: Skipping analyzing "fink_science.xmatch.processor": module is installed, but missing library stubs or py.typed marker [import] fink-broker/fink_broker/science.py:46: error: Skipping analyzing "fink_science.snn.processor": module is installed, but missing library stubs or py.typed marker [import] fink-broker/fink_broker/science.py:47: error: Skipping analyzing "fink_science.microlensing.processor": module is installed, but missing library stubs or py.typed marker [import] fink-broker/fink_broker/science.py:48: error: Skipping analyzing "fink_science.asteroids.processor": module is installed, but missing library stubs or py.typed marker [import] fink-broker/fink_broker/science.py:49: error: Skipping analyzing "fink_science.nalerthist.processor": module is installed, but missing library stubs or py.typed marker [import] fink-broker/fink_broker/science.py:50: error: Skipping analyzing "fink_science.kilonova.processor": module is installed, but missing library stubs or py.typed marker [import] fink-broker/fink_broker/science.py:51: error: Skipping analyzing "fink_science.ad_features.processor": module is installed, but missing library stubs or py.typed marker [import] fink-broker/fink_broker/science.py:52: error: Skipping analyzing "fink_science.anomaly_detection.processor": module is installed, but missing library stubs or py.typed marker [import] fink-broker/fink_broker/science.py:56: error: Skipping analyzing "fink_science.cats.processor": module is installed, but missing library stubs or py.typed marker [import] fink-broker/fink_broker/science.py:57: error: Skipping analyzing "fink_science.agn.processor": module is installed, but missing library stubs or py.typed marker [import] fink-broker/fink_broker/science.py:58: error: Skipping analyzing "fink_science.slsn.processor": module is installed, but missing library stubs or py.typed marker [import] fink-broker/fink_broker/science.py:74: error: Argument 1 has incompatible type "Callable[[Series[Any], Series[Any], Series[Any]], Series[Any]]"; expected "Union[PandasVariadicScalarToScalarFunction, Callable[[Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike]]" [arg-type] fink-broker/fink_broker/science.py:107: error: Argument 1 to "dec2theta" has incompatible type "Union[ExtensionArray, ndarray[Any, Any]]"; expected "float" [arg-type] fink-broker/fink_broker/science.py:108: error: Argument 1 to "ra2phi" has incompatible type "Union[ExtensionArray, ndarray[Any, Any]]"; expected "float" [arg-type] fink-broker/fink_broker/science.py:112: error: Argument 1 has incompatible type "Callable[[Series[Any], Series[Any], Series[Any]], Series[Any]]"; expected "Union[PandasVariadicScalarToScalarFunction, Callable[[Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike]]" [arg-type] fink-broker/fink_broker/science.py:149: error: Argument 1 to "dec2theta" has incompatible type "Union[ExtensionArray, ndarray[Any, Any]]"; expected "float" [arg-type] fink-broker/fink_broker/science.py:150: error: Argument 1 to "ra2phi" has incompatible type "Union[ExtensionArray, ndarray[Any, Any]]"; expected "float" [arg-type] fink-broker/fink_broker/science.py:160: error: No overload variant of "pandas_udf" matches argument types "MapType", "Literal[200]" [call-overload] fink-broker/fink_broker/science.py:160: note: Possible overload variants: fink-broker/fink_broker/science.py:160: note: def pandas_udf(f: Union[PandasVariadicScalarToScalarFunction, Callable[[Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike]], returnType: Union[Union[AtomicType, str], ArrayType], functionType: Literal[200]) -> UserDefinedFunctionLike fink-broker/fink_broker/science.py:160: note: def pandas_udf(f: Union[Union[AtomicType, str], ArrayType], returnType: Literal[200]) -> Callable[[Union[PandasVariadicScalarToScalarFunction, Callable[[Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike]]], UserDefinedFunctionLike] fink-broker/fink_broker/science.py:160: note: def pandas_udf(f: Union[Union[AtomicType, str], ArrayType], *, functionType: Literal[200]) -> Callable[[Union[PandasVariadicScalarToScalarFunction, Callable[[Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike]]], UserDefinedFunctionLike] fink-broker/fink_broker/science.py:160: note: def pandas_udf(*, returnType: Union[Union[AtomicType, str], ArrayType], functionType: Literal[200]) -> Callable[[Union[PandasVariadicScalarToScalarFunction, Callable[[Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike]]], UserDefinedFunctionLike] fink-broker/fink_broker/science.py:160: note: def pandas_udf(f: Union[PandasVariadicScalarToStructFunction, Callable[[Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike]], returnType: Union[StructType, str], functionType: Literal[200]) -> UserDefinedFunctionLike fink-broker/fink_broker/science.py:160: note: def pandas_udf(f: Union[StructType, str], returnType: Literal[200]) -> Callable[[Union[PandasVariadicScalarToStructFunction, Callable[[Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike]]], UserDefinedFunctionLike] fink-broker/fink_broker/science.py:160: note: def pandas_udf(f: Union[StructType, str], *, functionType: Literal[200]) -> Callable[[Union[PandasVariadicScalarToStructFunction, Callable[[Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike]]], UserDefinedFunctionLike] fink-broker/fink_broker/science.py:160: note: def pandas_udf(*, returnType: Union[StructType, str], functionType: Literal[200]) -> Callable[[Union[PandasVariadicScalarToStructFunction, Callable[[Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], DataFrameLike]]], UserDefinedFunctionLike] fink-broker/fink_broker/science.py:160: note: def pandas_udf(f: Callable[[Iterable[Union[Union[DataFrameLike, SeriesLike], tuple[Union[DataFrameLike, SeriesLike], ...]]]], Iterable[SeriesLike]], returnType: Union[Union[AtomicType, str], ArrayType], functionType: Literal[204]) -> UserDefinedFunctionLike fink-broker/fink_broker/science.py:160: note: def pandas_udf(f: Union[Union[AtomicType, str], ArrayType], returnType: Literal[204]) -> Callable[[Callable[[Iterable[Union[Union[DataFrameLike, SeriesLike], tuple[Union[DataFrameLike, SeriesLike], ...]]]], Iterable[SeriesLike]]], UserDefinedFunctionLike] fink-broker/fink_broker/science.py:160: note: def pandas_udf(*, returnType: Union[Union[AtomicType, str], ArrayType], functionType: Literal[204]) -> Callable[[Callable[[Iterable[Union[Union[DataFrameLike, SeriesLike], tuple[Union[DataFrameLike, SeriesLike], ...]]]], Iterable[SeriesLike]]], UserDefinedFunctionLike] fink-broker/fink_broker/science.py:160: note: def pandas_udf(f: Union[Union[AtomicType, str], ArrayType], *, functionType: Literal[204]) -> Callable[[Callable[[Iterable[Union[Union[DataFrameLike, SeriesLike], tuple[Union[DataFrameLike, SeriesLike], ...]]]], Iterable[SeriesLike]]], UserDefinedFunctionLike] fink-broker/fink_broker/science.py:160: note: def pandas_udf(f: Union[Callable[[DataFrameLike], DataFrameLike], Callable[[Any, DataFrameLike], DataFrameLike]], returnType: Union[StructType, str], functionType: Literal[201]) -> GroupedMapPandasUserDefinedFunction fink-broker/fink_broker/science.py:160: note: def pandas_udf(f: Union[StructType, str], returnType: Literal[201]) -> Callable[[Union[Callable[[DataFrameLike], DataFrameLike], Callable[[Any, DataFrameLike], DataFrameLike]]], GroupedMapPandasUserDefinedFunction] fink-broker/fink_broker/science.py:160: note: def pandas_udf(*, returnType: Union[StructType, str], functionType: Literal[201]) -> Callable[[Union[Callable[[DataFrameLike], DataFrameLike], Callable[[Any, DataFrameLike], DataFrameLike]]], GroupedMapPandasUserDefinedFunction] fink-broker/fink_broker/science.py:160: note: def pandas_udf(f: Union[StructType, str], *, functionType: Literal[201]) -> Callable[[Union[Callable[[DataFrameLike], DataFrameLike], Callable[[Any, DataFrameLike], DataFrameLike]]], GroupedMapPandasUserDefinedFunction] fink-broker/fink_broker/science.py:160: note: def pandas_udf(f: Union[Callable[[SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike, SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike, SeriesLike, SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike], Union[bool, float, int, str]], PandasVariadicGroupedAggFunction], returnType: Union[Union[AtomicType, str], ArrayType], functionType: Literal[202]) -> UserDefinedFunctionLike fink-broker/fink_broker/science.py:160: note: def pandas_udf(f: Union[Union[AtomicType, str], ArrayType], returnType: Literal[202]) -> Callable[[Union[Callable[[SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike, SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike, SeriesLike, SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike], Union[bool, float, int, str]], PandasVariadicGroupedAggFunction]], UserDefinedFunctionLike] fink-broker/fink_broker/science.py:160: note: def pandas_udf(*, returnType: Union[Union[AtomicType, str], ArrayType], functionType: Literal[202]) -> Callable[[Union[Callable[[SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike, SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike, SeriesLike, SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike], Union[bool, float, int, str]], PandasVariadicGroupedAggFunction]], UserDefinedFunctionLike] fink-broker/fink_broker/science.py:160: note: def pandas_udf(f: Union[Union[AtomicType, str], ArrayType], *, functionType: Literal[202]) -> Callable[[Union[Callable[[SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike, SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike, SeriesLike, SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike], Union[bool, float, int, str]], Callable[[SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike, SeriesLike], Union[bool, float, int, str]], PandasVariadicGroupedAggFunction]], UserDefinedFunctionLike] fink-broker/fink_broker/science.py:160: note: def pandas_udf(f: Callable[[Iterable[DataFrameLike]], Iterable[DataFrameLike]], returnType: Union[StructType, str], functionType: Literal[205]) -> MapIterPandasUserDefinedFunction fink-broker/fink_broker/science.py:160: note: def pandas_udf(f: Union[StructType, str], returnType: Literal[205]) -> Callable[[Callable[[Iterable[DataFrameLike]], Iterable[DataFrameLike]]], MapIterPandasUserDefinedFunction] fink-broker/fink_broker/science.py:160: note: def pandas_udf(*, returnType: Union[StructType, str], functionType: Literal[205]) -> Callable[[Callable[[Iterable[DataFrameLike]], Iterable[DataFrameLike]]], MapIterPandasUserDefinedFunction] fink-broker/fink_broker/science.py:160: note: def pandas_udf(f: Union[StructType, str], *, functionType: Literal[205]) -> Callable[[Callable[[Iterable[DataFrameLike]], Iterable[DataFrameLike]]], MapIterPandasUserDefinedFunction] fink-broker/fink_broker/science.py:160: note: def pandas_udf(f: Callable[[DataFrameLike, DataFrameLike], DataFrameLike], returnType: Union[StructType, str], functionType: Literal[206]) -> CogroupedMapPandasUserDefinedFunction fink-broker/fink_broker/science.py:160: note: def pandas_udf(f: Union[StructType, str], returnType: Literal[206]) -> Callable[[Callable[[DataFrameLike, DataFrameLike], DataFrameLike]], CogroupedMapPandasUserDefinedFunction] fink-broker/fink_broker/science.py:160: note: def pandas_udf(*, returnType: Union[StructType, str], functionType: Literal[206]) -> Callable[[Callable[[DataFrameLike, DataFrameLike], DataFrameLike]], CogroupedMapPandasUserDefinedFunction] fink-broker/fink_broker/science.py:160: note: def pandas_udf(f: Union[StructType, str], *, functionType: Literal[206]) -> Callable[[Callable[[DataFrameLike, DataFrameLike], DataFrameLike]], CogroupedMapPandasUserDefinedFunction] fink-broker/fink_broker/science.py:304: error: List item 0 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:304: error: List item 1 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:315: error: List item 0 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:315: error: List item 1 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:315: error: List item 2 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:317: error: List item 0 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:322: error: List item 0 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:322: error: List item 1 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:322: error: List item 2 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:324: error: List item 0 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:346: error: List item 0 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:347: error: List item 1 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:348: error: List item 2 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:445: error: List item 0 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:445: error: List item 1 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:446: error: List item 0 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:446: error: List item 1 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:447: error: List item 0 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:448: error: List item 0 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:449: error: List item 0 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:455: error: List item 0 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:456: error: List item 0 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:456: error: List item 1 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:456: error: List item 2 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:456: error: List item 3 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:457: error: List item 0 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:457: error: List item 1 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:457: error: List item 2 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:458: error: List item 0 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:458: error: List item 1 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:458: error: List item 2 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:459: error: List item 0 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:463: error: List item 0 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:464: error: List item 0 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:464: error: List item 1 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:464: error: List item 2 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:464: error: List item 3 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:465: error: List item 0 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:465: error: List item 1 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:465: error: List item 2 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:466: error: List item 0 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:466: error: List item 1 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:466: error: List item 2 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:467: error: List item 0 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:477: error: Argument 1 to "create_map" has incompatible type "list[Column]"; expected "Union[Column, str]" [arg-type] fink-broker/fink_broker/science.py:485: error: List item 0 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:485: error: List item 1 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:485: error: List item 2 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:486: error: List item 0 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:486: error: List item 1 has incompatible type "Column"; expected "str" [list-item] fink-broker/fink_broker/science.py:496: error: Argument 1 to "create_map" has incompatible type "list[Column]"; expected "Union[Column, str]" [arg-type] fink-broker/fink_broker/partitioning.py:21: error: Skipping analyzing "astropy.time": module is installed, but missing library stubs or py.typed marker [import] fink-broker/fink_broker/partitioning.py:25: error: Argument 1 has incompatible type "Callable[[Series[Any], Any, Any], Any]"; expected "Union[PandasVariadicScalarToScalarFunction, Callable[[Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike]]" [arg-type] fink-broker/fink_broker/partitioning.py:70: error: Argument 1 has incompatible type "Callable[[Series[Any], Any], Series[Any]]"; expected "Union[PandasVariadicScalarToScalarFunction, Callable[[Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike], Callable[[Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike], Union[DataFrameLike, SeriesLike]], SeriesLike]]" [arg-type] fink-broker/fink_broker/hbaseUtils.py:28: error: Skipping analyzing "fink_science": module is installed, but missing library stubs or py.typed marker [import] fink-broker/fink_broker/hbaseUtils.py:30: error: Skipping analyzing "fink_science.t2.utilities": module is installed, but missing library stubs or py.typed marker [import] fink-broker/fink_broker/hbaseUtils.py:31: error: Skipping analyzing "fink_science.xmatch.utils": module is installed, but missing library stubs or py.typed marker [import] fink-broker/fink_broker/test_schema_converter.py:24: error: Skipping analyzing "fink_utils.spark.schema_converter": module is installed, but missing library stubs or py.typed marker [import] fink-broker/fink_broker/distributionUtils.py:64: error: Argument 1 to "struct" has incompatible type "list[str]"; expected "Union[Column, str]" [arg-type] fink-broker/fink_broker/distributionUtils.py:76: error: Argument 1 to "to_avro" has incompatible type "str"; expected "Column" [arg-type] fink-broker/bin/raw2science_batch.py:30: error: Skipping analyzing "fink_science": module is installed, but missing library stubs or py.typed marker [import] fink-broker/bin/raw2science.py:40: error: Skipping analyzing "fink_science": module is installed, but missing library stubs or py.typed marker [import] fink-broker/bin/push_to_tns.py:27: error: Skipping analyzing "fink_filters.classification": module is installed, but missing library stubs or py.typed marker [import] fink-broker/bin/push_to_tns.py:29: error: Skipping analyzing "fink_tns.utils": module is installed, but missing library stubs or py.typed marker [import] fink-broker/bin/push_to_tns.py:30: error: Skipping analyzing "fink_tns.report": module is installed, but missing library stubs or py.typed marker [import] fink-broker/bin/object_archival.py:32: error: Skipping analyzing "fink_utils.hbase.utils": module is installed, but missing library stubs or py.typed marker [import] fink-broker/bin/index_archival.py:44: error: Skipping analyzing "fink_filters.classification": module is installed, but missing library stubs or py.typed marker [import] fink-broker/bin/index_archival.py:46: error: Skipping analyzing "fink_tns.utils": module is installed, but missing library stubs or py.typed marker [import] fink-broker/bin/index_archival.py:48: error: Skipping analyzing "astropy.coordinates": module is installed, but missing library stubs or py.typed marker [import] fink-broker/bin/index_archival.py:49: error: Skipping analyzing "astropy": module is installed, but missing library stubs or py.typed marker [import] fink-broker/bin/download_tns.py:20: error: Skipping analyzing "fink_tns.utils": module is installed, but missing library stubs or py.typed marker [import] fink-broker/bin/daily_stats.py:28: error: Skipping analyzing "fink_filters.classification": module is installed, but missing library stubs or py.typed marker [import] fink-broker/bin/checkstream.py:23: error: Skipping analyzing "fink_broker.monitoring": module is installed, but missing library stubs or py.typed marker [import] fink-broker/bin/anomaly_archival.py:24: error: Skipping analyzing "fink_filters.filter_anomaly_notification.filter": module is installed, but missing library stubs or py.typed marker [import] fink-broker/bin/anomaly_archival.py:24: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports fink-broker/bin/distribute_elasticc.py:29: error: Skipping analyzing "fink_science": module is installed, but missing library stubs or py.typed marker [import] fink-broker/bin/distribute.py:27: error: Skipping analyzing "fink_utils.spark": module is installed, but missing library stubs or py.typed marker [import] fink-broker/bin/distribute.py:33: error: Skipping analyzing "fink_utils.spark.utils": module is installed, but missing library stubs or py.typed marker [import] Found 121 errors in 22 files (checked 31 source files)
To Reproduce
cd <fink-broker-src> DIR=$PWD export MINIMAL=true export NOSCIENCE=true . ./conf.sh docker run -it "$IMAGE" bash /home/fink/miniconda/bin/python -m pip install pandas-stubs types-requests types-openpyxl pyspark-stubs mypy --install-types /home/fink/fink-broker/
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the issue
Numerous mypy error.
Actual behaviour
Here is the
mypy
output:To Reproduce
The text was updated successfully, but these errors were encountered: