Skip to content

Resolve cyclic imports #337

Resolve cyclic imports

Resolve cyclic imports #337

Triggered via push May 8, 2026 10:52
Status Failure
Total duration 28s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
lint: splunklib/searchcommands/search_command.py#L565
Cannot access attribute "name" for class "SearchCommand*"   Attribute "name" is unknown (reportAttributeAccessIssue)
lint: splunklib/searchcommands/reporting_command.py#L99
Argument of type "Unknown | None" cannot be assigned to parameter "iterables" of type "Iterable[_T@chain]" in function "__new__"   Type "Unknown | None" is not assignable to type "Iterable[_T@chain]"     "None" is incompatible with protocol "Iterable[_T@chain]"       "__iter__" is not present (reportArgumentType)
lint: splunklib/searchcommands/reporting_command.py#L99
Argument of type "Unknown | None" cannot be assigned to parameter "iterables" of type "Iterable[_T@chain]" in function "__new__"   Type "Unknown | None" is not assignable to type "Iterable[Unknown | str]"     "None" is incompatible with protocol "Iterable[Unknown | str]"       "__iter__" is not present (reportArgumentType)
lint: splunklib/searchcommands/reporting_command.py#L99
Cannot access attribute "name" for class "ReportingCommand*"   Attribute "name" is unknown (reportAttributeAccessIssue)
lint: splunklib/searchcommands/internals.py#L778
Argument of type "Literal[0]" cannot be assigned to parameter "_one_shot" of type "bool" in function "iterencode"   "Literal[0]" is not assignable to "bool" (reportArgumentType)
lint: splunklib/searchcommands/internals.py#L593
Argument of type "Literal[0]" cannot be assigned to parameter "_one_shot" of type "bool" in function "iterencode"   "Literal[0]" is not assignable to "bool" (reportArgumentType)
lint: splunklib/searchcommands/internals.py#L111
"debug" is not a known attribute of "None" (reportOptionalMemberAccess)
lint: splunklib/client.py#L3870
Argument of type "Unknown | Record" cannot be assigned to parameter "string" of type "str | bytes" in function "unquote"   Type "Unknown | Record" is not assignable to type "str | bytes"     Type "Record" is not assignable to type "str | bytes"       "Record" is not assignable to "str"       "Record" is not assignable to "bytes" (reportArgumentType)
lint: splunklib/client.py#L3748
Argument of type "Unknown | Record" cannot be assigned to parameter "string" of type "str | bytes" in function "unquote"   Type "Unknown | Record" is not assignable to type "str | bytes"     Type "Record" is not assignable to type "str | bytes"       "Record" is not assignable to "str"       "Record" is not assignable to "bytes" (reportArgumentType)
lint: splunklib/client.py#L1991
"content" is not a known attribute of "None" (reportOptionalMemberAccess)
lint: splunklib/binding.py#L717
Type annotation is missing for parameter "path_segment" (reportMissingParameterType)
lint: splunklib/binding.py#L717
Type of parameter "path_segment" is unknown (reportUnknownParameterType)
lint: splunklib/binding.py#L711
Argument type is partially unknown   Argument corresponds to parameter "args" in function "debug"   Argument type is "Any | dict[Unknown, Unknown]" (reportUnknownArgumentType)
lint: splunklib/binding.py#L710
Argument type is unknown   Argument corresponds to parameter "path_segment" in function "_abspath" (reportUnknownArgumentType)
lint: splunklib/binding.py#L620
Argument type is partially unknown   Argument corresponds to parameter "iterable" in function "__init__"   Argument type is "dict_items[Unknown, Unknown]" (reportUnknownArgumentType)
lint: splunklib/__init__.py#L29
Type annotation is missing for parameter "date_format" (reportMissingParameterType)
lint: splunklib/__init__.py#L29
Type annotation is missing for parameter "log_format" (reportMissingParameterType)
lint: splunklib/__init__.py#L29
Type annotation is missing for parameter "level" (reportMissingParameterType)
lint: splunklib/__init__.py#L29
Type of parameter "level" is unknown (reportUnknownParameterType)
lint: examples/ai_custom_search_app/bin/agentic_reporting_csc.py#L37
Unnecessary "# pyright: ignore" rule: "reportPrivateLocalImportUsage" (reportUnnecessaryTypeIgnoreComment)