Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Ceph mypy report
pybind/Found 70 errors in 3 files (checked 3 source files)
pybind/mgr/Found 966 errors in 119 files (checked 213 source files)
ceph-volume/ceph_volume/Found 115 errors in 17 files (checked 45 source files)
ceph-volume/ceph_volume/api/lvm.py: note: In function "_splitname_parser":
ceph-volume/ceph_volume/api/lvm.py:70: error: Need type annotation for 'parsed' (hint: "parsed: Dict[<type>, <type>] = ...")
ceph-volume/ceph_volume/api/lvm.py: note: In function "_is_vdo":
ceph-volume/ceph_volume/api/lvm.py:218: error: Need type annotation for 'devices' (hint: "devices: List[<type>] = ...")
ceph-volume/ceph_volume/api/lvm.py: note: In member "set_tags" of class "PVolume":
ceph-volume/ceph_volume/api/lvm.py:336: error: "PVolume" has no attribute "pv_name"
ceph-volume/ceph_volume/api/lvm.py:336: error: "PVolume" has no attribute "pv_uuid"
ceph-volume/ceph_volume/api/lvm.py: note: In member "set_tag" of class "PVolume":
ceph-volume/ceph_volume/api/lvm.py:354: error: "PVolume" has no attribute "pv_name"
ceph-volume/ceph_volume/api/lvm.py:359: error: "PVolume" has no attribute "pv_name"
ceph-volume/ceph_volume/api/lvm.py: note: In member "free" of class "VolumeGroup":
ceph-volume/ceph_volume/api/lvm.py:582: error: "VolumeGroup" has no attribute "vg_free"
ceph-volume/ceph_volume/api/lvm.py: note: In member "size" of class "VolumeGroup":
ceph-volume/ceph_volume/api/lvm.py:596: error: "VolumeGroup" has no attribute "vg_size"
ceph-volume/ceph_volume/api/lvm.py: note: In member "sizing" of class "VolumeGroup":
ceph-volume/ceph_volume/api/lvm.py:632: error: "VolumeGroup" has no attribute "vg_free_count"
ceph-volume/ceph_volume/api/lvm.py: note: In member "as_dict" of class "Volume":
ceph-volume/ceph_volume/api/lvm.py:916: error: "Volume" has no attribute "lv_path"
ceph-volume/ceph_volume/api/lvm.py: note: In member "report" of class "Volume":
ceph-volume/ceph_volume/api/lvm.py:922: error: "Volume" has no attribute "lv_name"
ceph-volume/ceph_volume/api/lvm.py:928: error: "Volume" has no attribute "lv_name"
ceph-volume/ceph_volume/api/lvm.py: note: In member "clear_tag" of class "Volume":
ceph-volume/ceph_volume/api/lvm.py:967: error: "Volume" has no attribute "lv_path"
ceph-volume/ceph_volume/api/lvm.py: note: In member "set_tag" of class "Volume":
ceph-volume/ceph_volume/api/lvm.py:981: error: "Volume" has no attribute "lv_path"
ceph-volume/ceph_volume/api/lvm.py: note: In function "remove_lv":
ceph-volume/ceph_volume/api/lvm.py:1180: error: "Volume" has no attribute "lv_path"
ceph-volume/ceph_volume/configuration.py:13: error: Name 'configparser' already defined (by an import)
ceph-volume/ceph_volume/configuration.py:14: error: Cannot assign multiple types to name "conf_parentclass" without an explicit "Type[...]" annotation
ceph-volume/ceph_volume/configuration.py: note: In member "_read" of class "Conf":
ceph-volume/ceph_volume/configuration.py:163: error: "Conf" has no attribute "SECTCRE"
ceph-volume/ceph_volume/configuration.py:166: error: "Conf" has no attribute "_sections"
ceph-volume/ceph_volume/configuration.py:167: error: "Conf" has no attribute "_sections"
ceph-volume/ceph_volume/configuration.py:169: error: "Conf" has no attribute "_defaults"
ceph-volume/ceph_volume/configuration.py:171: error: "Conf" has no attribute "_dict"
ceph-volume/ceph_volume/configuration.py:173: error: "Conf" has no attribute "_sections"
ceph-volume/ceph_volume/configuration.py:181: error: "Conf" has no attribute "_optcre"
ceph-volume/ceph_volume/configuration.py:212: error: "ParsingError" has no attribute "append"
ceph-volume/ceph_volume/configuration.py:218: error: "Conf" has no attribute "_defaults"
ceph-volume/ceph_volume/configuration.py:219: error: "Conf" has no attribute "_sections"
ceph-volume/ceph_volume/devices/lvm/batch.py: note: In member "_get_explicit_strategy" of class "Batch":
ceph-volume/ceph_volume/devices/lvm/batch.py:332: error: "Batch" has no attribute "db_usable"
ceph-volume/ceph_volume/devices/lvm/batch.py:332: error: "Batch" has no attribute "wal_usable"
ceph-volume/ceph_volume/devices/lvm/batch.py:335: error: "Batch" has no attribute "usable"
ceph-volume/ceph_volume/devices/lvm/batch.py:336: error: "Batch" has no attribute "db_usable"
ceph-volume/ceph_volume/devices/lvm/batch.py:337: error: "Batch" has no attribute "wal_usable"
ceph-volume/ceph_volume/devices/lvm/batch.py:341: error: "Batch" has no attribute "usable"
ceph-volume/ceph_volume/devices/lvm/batch.py:343: error: "Batch" has no attribute "journal_usable"
ceph-volume/ceph_volume/devices/lvm/batch.py:346: error: "Batch" has no attribute "usable"
ceph-volume/ceph_volume/devices/lvm/batch.py:347: error: "Batch" has no attribute "journal_usable"
ceph-volume/ceph_volume/devices/lvm/batch.py:351: error: "Batch" has no attribute "usable"
ceph-volume/ceph_volume/devices/lvm/batch.py: note: In member "_ensure_disjoint_device_lists" of class "Batch":
ceph-volume/ceph_volume/devices/lvm/batch.py:373: error: "Batch" has no attribute "usable"
ceph-volume/ceph_volume/devices/lvm/batch.py:373: error: "Batch" has no attribute "db_usable"
ceph-volume/ceph_volume/devices/lvm/batch.py:374: error: "Batch" has no attribute "usable"
ceph-volume/ceph_volume/devices/lvm/batch.py:374: error: "Batch" has no attribute "wal_usable"
ceph-volume/ceph_volume/devices/lvm/batch.py:375: error: "Batch" has no attribute "usable"
ceph-volume/ceph_volume/devices/lvm/batch.py:375: error: "Batch" has no attribute "journal_usable"
ceph-volume/ceph_volume/devices/lvm/batch.py:376: error: "Batch" has no attribute "db_usable"
ceph-volume/ceph_volume/devices/lvm/batch.py:376: error: "Batch" has no attribute "wal_usable"
ceph-volume/ceph_volume/devices/lvm/listing.py: note: In member "pvs" of class "List":
ceph-volume/ceph_volume/devices/lvm/listing.py:95: error: Cannot determine type of '_pvs'
ceph-volume/ceph_volume/devices/lvm/listing.py: note: In member "single_report" of class "List":
ceph-volume/ceph_volume/devices/lvm/listing.py:177: error: Need type annotation for 'report' (hint: "report: Dict[<type>, <type>] = ...")
ceph-volume/ceph_volume/devices/lvm/listing.py: note: In member "full_report" of class "List":
ceph-volume/ceph_volume/devices/lvm/listing.py:231: error: Need type annotation for 'report' (hint: "report: Dict[<type>, <type>] = ...")
ceph-volume/ceph_volume/devices/lvm/strategies/bluestore.py: note: In member "compute" of class "SingleType":
ceph-volume/ceph_volume/devices/lvm/strategies/bluestore.py:79: error: Need type annotation for 'osd'
ceph-volume/ceph_volume/devices/lvm/strategies/bluestore.py:87: error: Incompatible types in assignment (expression has type "bool", target has type "List[Any]")
ceph-volume/ceph_volume/devices/lvm/strategies/bluestore.py: note: In member "execute" of class "SingleType":
ceph-volume/ceph_volume/devices/lvm/strategies/bluestore.py:102: error: Incompatible types in assignment (expression has type "Dict[str, Any]", target has type "None")
ceph-volume/ceph_volume/devices/lvm/strategies/bluestore.py:106: error: Value of type "None" is not indexable
ceph-volume/ceph_volume/devices/lvm/strategies/bluestore.py:107: error: Value of type "None" is not indexable
ceph-volume/ceph_volume/devices/lvm/strategies/bluestore.py: note: In member "compute" of class "MixedType":
ceph-volume/ceph_volume/devices/lvm/strategies/bluestore.py:235: error: Incompatible types in assignment (expression has type "Dict[str, Any]", target has type "List[Any]")
ceph-volume/ceph_volume/devices/lvm/strategies/bluestore.py:252: error: Incompatible types in assignment (expression has type "Dict[str, Any]", target has type "List[Any]")
ceph-volume/ceph_volume/devices/lvm/strategies/bluestore.py:267: error: Need type annotation for 'osd'
ceph-volume/ceph_volume/devices/lvm/strategies/bluestore.py:294: error: Incompatible types in assignment (expression has type "bool", target has type "List[Any]")
ceph-volume/ceph_volume/devices/lvm/strategies/bluestore.py: note: In member "execute" of class "MixedType":
ceph-volume/ceph_volume/devices/lvm/strategies/bluestore.py:358: error: "None" has no attribute "sizing"
ceph-volume/ceph_volume/devices/lvm/strategies/bluestore.py:360: error: "None" has no attribute "name"
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py: note: In member "compute" of class "SingleType":
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:106: error: Incompatible types in assignment (expression has type "Dict[str, Dict[<nothing>, <nothing>]]", variable has type "int")
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:107: error: Value of type "int" is not indexable
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:108: error: Value of type "int" is not indexable
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:109: error: Value of type "int" is not indexable
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:110: error: Value of type "int" is not indexable
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:111: error: Value of type "int" is not indexable
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:112: error: Value of type "int" is not indexable
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:113: error: Value of type "int" is not indexable
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:114: error: Value of type "int" is not indexable
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:115: error: Value of type "int" is not indexable
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:118: error: Unsupported target for indexed assignment
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:122: error: Incompatible types in assignment (expression has type "bool", target has type "List[Any]")
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py: note: In member "execute" of class "SingleType":
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:145: error: "None" has no attribute "sizing"
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:146: error: "None" has no attribute "sizing"
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:148: error: "None" has no attribute "name"
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:151: error: "None" has no attribute "name"
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:155: error: "None" has no attribute "name"
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:156: error: "None" has no attribute "name"
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py: note: In member "validate" of class "MixedType":
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:263: error: Incompatible types in assignment (expression has type "Set[Any]", variable has type "List[Any]")
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py: note: In member "compute" of class "MixedType":
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:303: error: Incompatible types in assignment (expression has type "Dict[str, Any]", target has type "List[Any]")
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:320: error: Incompatible types in assignment (expression has type "Dict[str, Dict[<nothing>, <nothing>]]", variable has type "int")
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:321: error: Value of type "int" is not indexable
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:322: error: Value of type "int" is not indexable
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:323: error: Value of type "int" is not indexable
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:324: error: Value of type "int" is not indexable
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:325: error: Value of type "int" is not indexable
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:326: error: Value of type "int" is not indexable
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:327: error: Value of type "int" is not indexable
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:328: error: Value of type "int" is not indexable
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:331: error: Unsupported target for indexed assignment
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:335: error: Incompatible types in assignment (expression has type "bool", target has type "List[Any]")
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py: note: In member "execute" of class "MixedType":
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:369: error: "None" has no attribute "sizing"
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:371: error: "None" has no attribute "name"
ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py:378: error: "None" has no attribute "name"
ceph-volume/ceph_volume/devices/lvm/strategies/strategies.py: note: In member "__init__" of class "Strategy":
ceph-volume/ceph_volume/devices/lvm/strategies/strategies.py:19: error: Need type annotation for 'computed'
ceph-volume/ceph_volume/devices/lvm/strategies/strategies.py: note: In member "validate_compute" of class "Strategy":
ceph-volume/ceph_volume/devices/lvm/strategies/strategies.py:30: error: "Strategy" has no attribute "validate"
ceph-volume/ceph_volume/devices/lvm/strategies/strategies.py:33: error: Incompatible types in assignment (expression has type "bool", target has type "List[Any]")
ceph-volume/ceph_volume/devices/lvm/strategies/strategies.py: note: In member "get_common_vg" of class "MixedStrategy":
ceph-volume/ceph_volume/devices/lvm/strategies/strategies.py:68: error: "MixedStrategy" has no attribute "system_vgs"
ceph-volume/ceph_volume/devices/lvm/strategies/validators.py: note: In function "has_common_vg":
ceph-volume/ceph_volume/devices/lvm/strategies/validators.py:47: error: Need type annotation for 'ssd_vgs' (hint: "ssd_vgs: Dict[<type>, <type>] = ...")
ceph-volume/ceph_volume/devices/simple/scan.py: note: In member "scan_encrypted" of class "Scan":
ceph-volume/ceph_volume/devices/simple/scan.py:150: error: Need type annotation for 'osd_metadata' (hint: "osd_metadata: Dict[<type>, <type>] = ...")
ceph-volume/ceph_volume/process.py: note: In function "log_descriptors":
ceph-volume/ceph_volume/process.py:58: error: Incompatible types in assignment (expression has type "str", variable has type "bytes")
ceph-volume/ceph_volume/systemd/main.py: note: In function "main":
ceph-volume/ceph_volume/systemd/main.py:97: error: Unsupported operand types for > ("str" and "int")
ceph-volume/ceph_volume/systemd/main.py:97: note: Left operand is of type "Union[str, int]"
ceph-volume/ceph_volume/systemd/main.py:107: error: Unsupported operand types for - ("str" and "int")
ceph-volume/ceph_volume/systemd/main.py:107: note: Left operand is of type "Union[str, int]"
ceph-volume/ceph_volume/systemd/main.py:108: error: Argument 1 to "sleep" has incompatible type "Union[str, int]"; expected "float"
ceph-volume/ceph_volume/util/__init__.py:6: error: Name 'raw_input' is not defined
ceph-volume/ceph_volume/util/device.py: note: In member "is_ceph_disk_member" of class "Device":
ceph-volume/ceph_volume/util/device.py:312: error: Item "None" of "Optional[Any]" has no attribute "keys"
ceph-volume/ceph_volume/util/device.py: note: In member "is_encrypted" of class "Device":
ceph-volume/ceph_volume/util/device.py:354: error: Item "None" of "Optional[Any]" has no attribute "encrypted"
ceph-volume/ceph_volume/util/disk.py: note: In member "__init__" of class "Size":
ceph-volume/ceph_volume/util/disk.py:562: error: Need type annotation for '_formatters' (hint: "_formatters: Dict[<type>, <type>] = ...")
ceph-volume/ceph_volume/util/disk.py:564: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
ceph-volume/ceph_volume/util/disk.py:566: error: Need type annotation for '_factors' (hint: "_factors: Dict[<type>, <type>] = ...")
ceph-volume/ceph_volume/util/disk.py:568: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
ceph-volume/ceph_volume/util/encryption.py: note: In function "status":
ceph-volume/ceph_volume/util/encryption.py:198: error: Need type annotation for 'metadata' (hint: "metadata: Dict[<type>, <type>] = ...")
ceph-volume/ceph_volume/util/prepare.py: note: In function "_normalize_mount_flags":
ceph-volume/ceph_volume/util/prepare.py:270: error: Need type annotation for 'unique_flags' (hint: "unique_flags: List[<type>] = ...")
ceph-volume/ceph_volume/util/prepare.py: note: In function "mount_osd":
ceph-volume/ceph_volume/util/prepare.py:298: error: Need type annotation for 'extras' (hint: "extras: List[<type>] = ...")
ceph-volume/ceph_volume/util/system.py: note: In function "get_mounts":
ceph-volume/ceph_volume/util/system.py:241: error: Need type annotation for 'devices_mounted' (hint: "devices_mounted: Dict[<type>, <type>] = ...")
ceph-volume/ceph_volume/util/system.py:242: error: Need type annotation for 'paths_mounted' (hint: "paths_mounted: Dict[<type>, <type>] = ...")
pybind/ceph_argparse.py: note: In member "__repr__" of class "CephArgtype":
pybind/ceph_argparse.py:136: error: "CephArgtype" has no attribute "typeargs"
pybind/ceph_argparse.py: note: In member "__init__" of class "CephInt":
pybind/ceph_argparse.py:159: error: Need type annotation for 'range' (hint: "range: List[<type>] = ...")
pybind/ceph_argparse.py: note: In member "__init__" of class "CephFloat":
pybind/ceph_argparse.py:194: error: Need type annotation for 'range' (hint: "range: List[<type>] = ...")
pybind/ceph_argparse.py: note: In member "__str__" of class "argdesc":
pybind/ceph_argparse.py:691: error: "CephPrefix" has no attribute "strings"
pybind/ceph_argparse.py: note: In function "descsort":
pybind/ceph_argparse.py:755: error: Name 'cmp' is not defined
pybind/ceph_argparse.py: note: In function "validate":
pybind/ceph_argparse.py:958: error: Need type annotation for 'd' (hint: "d: Dict[<type>, <type>] = ...")
pybind/ceph_argparse.py:961: error: Need type annotation for 'arg_descs_by_name' (hint: "arg_descs_by_name: Dict[<type>, <type>] = ...")
pybind/ceph_argparse.py:961: error: Argument 1 to "dict" has incompatible type "Generator[List[Any], None, None]"; expected "Iterable[Tuple[<nothing>, <nothing>]]"
pybind/ceph_argparse.py:1115: error: Incompatible types in assignment (expression has type "bool", target has type "Tuple[str, str]")
pybind/ceph_argparse.py: note: In function "validate_command":
pybind/ceph_argparse.py:1140: error: Need type annotation for 'found' (hint: "found: List[<type>] = ...")
pybind/ceph_argparse.py:1141: error: Need type annotation for 'valid_dict' (hint: "valid_dict: Dict[<type>, <type>] = ...")
pybind/ceph_argparse.py:1146: error: Need type annotation for 'bestcmds' (hint: "bestcmds: List[<type>] = ...")
pybind/ceph_argparse.py:1208: error: Incompatible types in assignment (expression has type "ArgumentError", variable has type "Optional[ArgumentMissing]")
pybind/ceph_daemon.py:19: error: Module 'collections.abc' has no attribute 'OrderedDict'
pybind/ceph_daemon.py: note: In member "__repr__" of class "Termsize":
pybind/ceph_daemon.py:122: error: Not all arguments converted during string formatting
pybind/ceph_daemon.py: note: In member "get_stats_that_fit" of class "DaemonWatcher":
pybind/ceph_daemon.py:231: error: Item "None" of "Optional[Any]" has no attribute "items"
pybind/ceph_daemon.py: note: In member "_print_vals" of class "DaemonWatcher":
pybind/ceph_daemon.py:289: error: Value of type "Optional[Any]" is not indexable
pybind/ceph_daemon.py: note: In member "list" of class "DaemonWatcher":
pybind/ceph_daemon.py:408: error: Item "None" of "Optional[Any]" has no attribute "items"
pybind/ceph_daemon.py:410: error: Value of type "Optional[Any]" is not indexable
pybind/ceph_volume_client.py: note: In member "recover" of class "CephFSVolumeClient":
pybind/ceph_volume_client.py:296: error: Item "None" of "Optional[Any]" has no attribute "opendir"
pybind/ceph_volume_client.py:301: error: Item "None" of "Optional[Any]" has no attribute "readdir"
pybind/ceph_volume_client.py:315: error: Item "None" of "Optional[Any]" has no attribute "readdir"
pybind/ceph_volume_client.py:317: error: Item "None" of "Optional[Any]" has no attribute "closedir"
pybind/ceph_volume_client.py:339: error: Item "None" of "Optional[Any]" has no attribute "unlink"
pybind/ceph_volume_client.py: note: In member "_recover_auth_meta" of class "CephFSVolumeClient":
pybind/ceph_volume_client.py:394: error: Item "None" of "Optional[Any]" has no attribute "unlink"
pybind/ceph_volume_client.py: note: In member "destroy_group" of class "CephFSVolumeClient":
pybind/ceph_volume_client.py:598: error: Item "None" of "Optional[Any]" has no attribute "stat"
pybind/ceph_volume_client.py:602: error: Item "None" of "Optional[Any]" has no attribute "rmdir"
pybind/ceph_volume_client.py: note: In member "_mkdir_p" of class "CephFSVolumeClient":
pybind/ceph_volume_client.py:606: error: Item "None" of "Optional[Any]" has no attribute "stat"
pybind/ceph_volume_client.py:617: error: Item "None" of "Optional[Any]" has no attribute "stat"
pybind/ceph_volume_client.py:619: error: Item "None" of "Optional[Any]" has no attribute "mkdir"
pybind/ceph_volume_client.py: note: In member "create_volume" of class "CephFSVolumeClient":
pybind/ceph_volume_client.py:641: error: Item "None" of "Optional[Any]" has no attribute "setxattr"
pybind/ceph_volume_client.py:655: error: Item "None" of "Optional[Any]" has no attribute "setxattr"
pybind/ceph_volume_client.py:661: error: Item "None" of "Optional[Any]" has no attribute "setxattr"
pybind/ceph_volume_client.py:668: error: Item "None" of "Optional[Any]" has no attribute "setxattr"
pybind/ceph_volume_client.py:673: error: Item "None" of "Optional[Any]" has no attribute "open"
pybind/ceph_volume_client.py:675: error: Item "None" of "Optional[Any]" has no attribute "close"
pybind/ceph_volume_client.py: note: In member "delete_volume" of class "CephFSVolumeClient":
pybind/ceph_volume_client.py:703: error: Item "None" of "Optional[Any]" has no attribute "stat"
pybind/ceph_volume_client.py:708: error: Item "None" of "Optional[Any]" has no attribute "rename"
pybind/ceph_volume_client.py:713: error: Item "None" of "Optional[Any]" has no attribute "unlink"
pybind/ceph_volume_client.py: note: In member "purge_volume" of class "CephFSVolumeClient":
pybind/ceph_volume_client.py:727: error: Item "None" of "Optional[Any]" has no attribute "stat"
pybind/ceph_volume_client.py: note: In function "purge_volume":
pybind/ceph_volume_client.py:735: error: Item "None" of "Optional[Any]" has no attribute "opendir"
pybind/ceph_volume_client.py:736: error: Item "None" of "Optional[Any]" has no attribute "readdir"
pybind/ceph_volume_client.py:747: error: Item "None" of "Optional[Any]" has no attribute "unlink"
pybind/ceph_volume_client.py:749: error: Item "None" of "Optional[Any]" has no attribute "readdir"
pybind/ceph_volume_client.py:750: error: Item "None" of "Optional[Any]" has no attribute "closedir"
pybind/ceph_volume_client.py:752: error: Item "None" of "Optional[Any]" has no attribute "rmdir"
pybind/ceph_volume_client.py: note: In member "_get_ancestor_xattr" of class "CephFSVolumeClient":
pybind/ceph_volume_client.py:779: error: Item "None" of "Optional[Any]" has no attribute "getxattr"
pybind/ceph_volume_client.py:782: error: Too few arguments for "NoData"
pybind/ceph_volume_client.py: note: In member "_metadata_get" of class "CephFSVolumeClient":
pybind/ceph_volume_client.py:804: error: Item "None" of "Optional[Any]" has no attribute "open"
pybind/ceph_volume_client.py:806: error: Item "None" of "Optional[Any]" has no attribute "read"
pybind/ceph_volume_client.py:807: error: Item "None" of "Optional[Any]" has no attribute "close"
pybind/ceph_volume_client.py: note: In member "_metadata_set" of class "CephFSVolumeClient":
pybind/ceph_volume_client.py:815: error: Item "None" of "Optional[Any]" has no attribute "open"
pybind/ceph_volume_client.py:817: error: Item "None" of "Optional[Any]" has no attribute "write"
pybind/ceph_volume_client.py:818: error: Item "None" of "Optional[Any]" has no attribute "fsync"
pybind/ceph_volume_client.py:820: error: Item "None" of "Optional[Any]" has no attribute "close"
pybind/ceph_volume_client.py: note: In function "_lock":
pybind/ceph_volume_client.py:826: error: Item "None" of "Optional[Any]" has no attribute "open"
pybind/ceph_volume_client.py:827: error: Item "None" of "Optional[Any]" has no attribute "flock"
pybind/ceph_volume_client.py:834: error: Item "None" of "Optional[Any]" has no attribute "stat"
pybind/ceph_volume_client.py:836: error: Item "None" of "Optional[Any]" has no attribute "close"
pybind/ceph_volume_client.py:839: error: Item "None" of "Optional[Any]" has no attribute "fstat"
pybind/ceph_volume_client.py:846: error: Item "None" of "Optional[Any]" has no attribute "flock"
pybind/ceph_volume_client.py:847: error: Item "None" of "Optional[Any]" has no attribute "close"
pybind/ceph_volume_client.py: note: In member "_authorize_ceph" of class "CephFSVolumeClient":
pybind/ceph_volume_client.py:1061: error: Item "None" of "Optional[Any]" has no attribute "getxattr"
pybind/ceph_volume_client.py: note: In member "deauthorize" of class "CephFSVolumeClient":
pybind/ceph_volume_client.py:1183: error: Item "None" of "Optional[Any]" has no attribute "unlink"
pybind/ceph_volume_client.py:1207: error: Item "None" of "Optional[Any]" has no attribute "unlink"
pybind/ceph_volume_client.py: note: In member "_deauthorize" of class "CephFSVolumeClient":
pybind/ceph_volume_client.py:1246: error: Item "None" of "Optional[Any]" has no attribute "getxattr"
pybind/ceph_volume_client.py: note: In member "get_used_bytes" of class "CephFSVolumeClient":
pybind/ceph_volume_client.py:1369: error: Item "None" of "Optional[Any]" has no attribute "getxattr"
pybind/ceph_volume_client.py: note: In member "set_max_bytes" of class "CephFSVolumeClient":
pybind/ceph_volume_client.py:1373: error: Item "None" of "Optional[Any]" has no attribute "setxattr"
pybind/ceph_volume_client.py: note: In member "_snapshot_create" of class "CephFSVolumeClient":
pybind/ceph_volume_client.py:1383: error: Item "None" of "Optional[Any]" has no attribute "mkdir"
pybind/ceph_volume_client.py: note: In member "_snapshot_destroy" of class "CephFSVolumeClient":
pybind/ceph_volume_client.py:1390: error: Item "None" of "Optional[Any]" has no attribute "rmdir"
pybind/mgr/alerts/module.py: note: In member "config_notify" of class "Alerts":
pybind/mgr/alerts/module.py:82: error: Need type annotation for 'NATIVE_OPTIONS' (hint: "NATIVE_OPTIONS: List[<type>] = ...")
pybind/mgr/alerts/module.py: note: In class "Alerts":
pybind/mgr/alerts/module.py:82: error: Need type annotation for 'NATIVE_OPTIONS' (hint: "NATIVE_OPTIONS: List[<type>] = ...")
pybind/mgr/alerts/module.py: note: In member "config_notify" of class "Alerts":
pybind/mgr/alerts/module.py:107: error: Argument 2 to "setattr" has incompatible type "object"; expected "str"
pybind/mgr/alerts/module.py:108: error: Argument 1 to "get_module_option" of "MgrModule" has incompatible type "object"; expected "str"
pybind/mgr/alerts/module.py:110: error: Argument 2 to "getattr" has incompatible type "object"; expected "str"
pybind/mgr/alerts/module.py:114: error: Argument 2 to "setattr" has incompatible type "Dict[str, object]"; expected "str"
pybind/mgr/alerts/module.py:115: error: Argument 1 to "get_ceph_option" of "MgrModule" has incompatible type "Dict[str, object]"; expected "str"
pybind/mgr/alerts/module.py:116: error: Argument 2 to "getattr" has incompatible type "Dict[str, object]"; expected "str"
pybind/mgr/alerts/module.py: note: In member "_diff" of class "Alerts":
pybind/mgr/alerts/module.py:131: error: Need type annotation for 'd' (hint: "d: Dict[<type>, <type>] = ...")
pybind/mgr/alerts/module.py: note: In member "_send_alert" of class "Alerts":
pybind/mgr/alerts/module.py:153: error: "Alerts" has no attribute "smtp_host"
pybind/mgr/alerts/module.py: note: In member "serve" of class "Alerts":
pybind/mgr/alerts/module.py:166: error: Need type annotation for 'last_status' (hint: "last_status: Dict[<type>, <type>] = ...")
pybind/mgr/alerts/module.py:180: error: "Alerts" has no attribute "interval"
pybind/mgr/alerts/module.py:181: error: "Alerts" has no attribute "interval"
pybind/mgr/alerts/module.py: note: In member "_send_alert_smtp" of class "Alerts":
pybind/mgr/alerts/module.py:212: error: "Alerts" has no attribute "smtp_sender"
pybind/mgr/alerts/module.py:213: error: "Alerts" has no attribute "smtp_from_name"
pybind/mgr/alerts/module.py:215: error: "Alerts" has no attribute "smtp_destination"
pybind/mgr/alerts/module.py:238: error: "Alerts" has no attribute "smtp_ssl"
pybind/mgr/alerts/module.py:239: error: "Alerts" has no attribute "smtp_host"
pybind/mgr/alerts/module.py:239: error: "Alerts" has no attribute "smtp_port"
pybind/mgr/alerts/module.py:241: error: Incompatible types in assignment (expression has type "SMTP", variable has type "SMTP_SSL")
pybind/mgr/alerts/module.py:241: error: "Alerts" has no attribute "smtp_host"
pybind/mgr/alerts/module.py:241: error: "Alerts" has no attribute "smtp_port"
pybind/mgr/alerts/module.py:242: error: "Alerts" has no attribute "smtp_password"
pybind/mgr/alerts/module.py:243: error: "Alerts" has no attribute "smtp_user"
pybind/mgr/alerts/module.py:243: error: "Alerts" has no attribute "smtp_password"
pybind/mgr/alerts/module.py:244: error: "Alerts" has no attribute "smtp_sender"
pybind/mgr/alerts/module.py:244: error: "Alerts" has no attribute "smtp_destination"
pybind/mgr/alerts/module.py:255: error: "Alerts" has no attribute "smtp_destination"
pybind/mgr/ansible/ansible_runner_svc.py: note: In member "get_result" of class "PlayBookExecution":
pybind/mgr/ansible/ansible_runner_svc.py:154: error: Need type annotation for 'result_events' (hint: "result_events: Dict[<type>, <type>] = ...")
pybind/mgr/ansible/ansible_runner_svc.py: note: In member "add_hosts_to_group" of class "Client":
pybind/mgr/ansible/ansible_runner_svc.py:338: error: Need type annotation for 'hosts_in_group' (hint: "hosts_in_group: List[<type>] = ...")
pybind/mgr/ansible/ansible_runner_svc.py: note: In member "__init__" of class "InventoryGroup":
pybind/mgr/ansible/ansible_runner_svc.py:410: error: Need type annotation for 'elements' (hint: "elements: Set[<type>] = ...")
pybind/mgr/ansible/ansible_runner_svc.py: note: In member "__create_group__" of class "InventoryGroup":
pybind/mgr/ansible/ansible_runner_svc.py:512: error: Incompatible types in assignment (expression has type "Dict[<nothing>, <nothing>]", variable has type "Set[Any]")
pybind/mgr/ansible/module.py: note: In member "status" of class "ARSOperation":
pybind/mgr/ansible/module.py:155: error: Incompatible types in assignment (expression has type "str", variable has type "List[Any]")
pybind/mgr/ansible/module.py: note: In member "update_result" of class "PlaybookOperation":
pybind/mgr/ansible/module.py:256: error: Need type annotation for 'processed_result' (hint: "processed_result: List[<type>] = ...")
pybind/mgr/ansible/module.py: note: In member "add_host" of class "Module":
pybind/mgr/ansible/module.py:643: error: Item "None" of "Optional[Any]" has no attribute "http_post"
pybind/mgr/ansible/module.py: note: In member "remove_host" of class "Module":
pybind/mgr/ansible/module.py:670: error: Need type annotation for 'operations' (hint: "operations: List[<type>] = ...")
pybind/mgr/ansible/module.py:671: error: Need type annotation for 'host_groups' (hint: "host_groups: List[<type>] = ...")
pybind/mgr/ansible/module.py:676: error: Item "None" of "Optional[Any]" has no attribute "http_get"
pybind/mgr/ansible/tests/test_client_playbooks.py: note: In member "test_playbook_get_result" of class "PlayBookExecutionTests":
pybind/mgr/ansible/tests/test_client_playbooks.py:239: error: Need type annotation for 'pb_events' (hint: "pb_events: Dict[<type>, <type>] = ...")
pybind/mgr/balancer/module.py: note: In member "__init__" of class "MappingState":
pybind/mgr/balancer/module.py:33: error: Need type annotation for 'pg_up' (hint: "pg_up: Dict[<type>, <type>] = ...")
pybind/mgr/balancer/module.py:34: error: Need type annotation for 'pg_up_by_poolid' (hint: "pg_up_by_poolid: Dict[<type>, <type>] = ...")
pybind/mgr/balancer/module.py: note: In member "show" of class "Plan":
pybind/mgr/balancer/module.py:89: error: Need type annotation for 'osdlist' (hint: "osdlist: List[<type>] = ...")
pybind/mgr/balancer/module.py: note: In member "calc_stats" of class "Eval":
pybind/mgr/balancer/module.py:196: error: Dict entry 2 has incompatible type "str": "float"; expected "str": "int"
pybind/mgr/balancer/module.py:197: error: Dict entry 3 has incompatible type "str": "float"; expected "str": "int"
pybind/mgr/balancer/module.py:198: error: Dict entry 4 has incompatible type "str": "float"; expected "str": "int"
pybind/mgr/balancer/module.py:199: error: Dict entry 5 has incompatible type "str": "float"; expected "str": "int"
pybind/mgr/balancer/module.py: note: In member "handle_command" of class "Module":
pybind/mgr/balancer/module.py:408: error: Need type annotation for 'plans' (hint: "plans: Dict[<type>, <type>] = ...")
pybind/mgr/balancer/module.py: note: In member "plan_create" of class "Module":
pybind/mgr/balancer/module.py:408: error: Need type annotation for 'plans' (hint: "plans: Dict[<type>, <type>] = ...")
pybind/mgr/balancer/module.py: note: In member "plan_rm" of class "Module":
pybind/mgr/balancer/module.py:408: error: Need type annotation for 'plans' (hint: "plans: Dict[<type>, <type>] = ...")
pybind/mgr/balancer/module.py: note: In class "Module":
pybind/mgr/balancer/module.py:408: error: Need type annotation for 'plans' (hint: "plans: Dict[<type>, <type>] = ...")
pybind/mgr/balancer/module.py: note: In member "handle_command" of class "Module":
pybind/mgr/balancer/module.py:482: error: Incompatible types in assignment (expression has type "Set[Union[str, Any]]", variable has type "List[str]")
pybind/mgr/balancer/module.py:496: error: Incompatible types in assignment (expression has type "Set[str]", variable has type "List[str]")
pybind/mgr/balancer/module.py: note: In member "serve" of class "Module":
pybind/mgr/balancer/module.py:617: error: Need type annotation for 'final' (hint: "final: List[<type>] = ...")
pybind/mgr/balancer/module.py:621: error: Incompatible types in assignment (expression has type "Set[Any]", variable has type "List[Any]")
pybind/mgr/balancer/module.py: note: In member "calc_eval" of class "Module":
pybind/mgr/balancer/module.py:675: error: Need type annotation for 'actual_by_root' (hint: "actual_by_root: Dict[<type>, <type>] = ...")
pybind/mgr/balancer/module.py: note: In member "optimize" of class "Module":
pybind/mgr/balancer/module.py:865: error: Incompatible types in string interpolation (expression has type "str", placeholder has type "Union[int, float, SupportsFloat]")
pybind/mgr/balancer/module.py:888: error: Incompatible types in string interpolation (expression has type "str", placeholder has type "Union[int, float, SupportsFloat]")
pybind/mgr/balancer/module.py: note: In member "do_upmap" of class "Module":
pybind/mgr/balancer/module.py:927: error: Need type annotation for 'pools_by_crush_rule' (hint: "pools_by_crush_rule: Dict[<type>, <type>] = ...")
pybind/mgr/balancer/module.py: note: In member "do_crush_compat" of class "Module":
pybind/mgr/balancer/module.py:1013: error: Need type annotation for 'visited' (hint: "visited: Dict[<type>, <type>] = ...")
pybind/mgr/balancer/module.py:1014: error: Need type annotation for 'overlap' (hint: "overlap: Dict[<type>, <type>] = ...")
pybind/mgr/balancer/module.py:1149: error: Incompatible types in assignment (expression has type "float", variable has type "int")
pybind/mgr/balancer/module.py: note: In member "execute" of class "Module":
pybind/mgr/balancer/module.py:1294: error: Need type annotation for 'osdlist' (hint: "osdlist: List[<type>] = ...")
pybind/mgr/crash/module.py: note: In member "serve" of class "Module":
pybind/mgr/crash/module.py:48: error: Module has no attribute "retain_interval"
pybind/mgr/crash/module.py:49: error: Module has no attribute "warn_recent_interval"
pybind/mgr/crash/module.py: note: In member "config_notify" of class "Module":
pybind/mgr/crash/module.py:56: error: Argument 2 to "setattr" has incompatible type "object"; expected "str"
pybind/mgr/crash/module.py:57: error: Argument 1 to "get_module_option" of "MgrModule" has incompatible type "object"; expected "str"
pybind/mgr/crash/module.py:59: error: Argument 2 to "getattr" has incompatible type "object"; expected "str"
pybind/mgr/crash/module.py: note: In member "_refresh_health_checks" of class "Module":
pybind/mgr/crash/module.py:69: error: Module has no attribute "warn_recent_interval"
pybind/mgr/crash/module.py:71: error: Item "None" of "Optional[Any]" has no attribute "items"
pybind/mgr/crash/module.py:93: error: Argument 1 to "set_health_checks" of "MgrModule" has incompatible type "Dict[str, Dict[str, object]]"; expected "Dict[str, Dict[str, Union[str, List[Any]]]]"
pybind/mgr/crash/module.py: note: In member "handle_command" of class "Module":
pybind/mgr/crash/module.py:99: error: "object" has no attribute "startswith"
pybind/mgr/crash/module.py:105: error: "object" not callable
pybind/mgr/crash/module.py: note: In member "timestamp_filter" of class "Module":
pybind/mgr/crash/module.py:135: error: Item "None" of "Optional[Any]" has no attribute "items"
pybind/mgr/crash/module.py: note: In member "do_info" of class "Module":
pybind/mgr/crash/module.py:141: error: Item "None" of "Optional[Any]" has no attribute "get"
pybind/mgr/crash/module.py: note: In member "do_post" of class "Module":
pybind/mgr/crash/module.py:154: error: Unsupported right operand type for in ("Optional[Any]")
pybind/mgr/crash/module.py:155: error: Unsupported target for indexed assignment
pybind/mgr/crash/module.py: note: In member "do_ls" of class "Module":
pybind/mgr/crash/module.py:168: error: Item "None" of "Optional[Any]" has no attribute "values"
pybind/mgr/crash/module.py:170: error: Item "None" of "Optional[Any]" has no attribute "items"
pybind/mgr/crash/module.py: note: In member "do_rm" of class "Module":
pybind/mgr/crash/module.py:189: error: Unsupported right operand type for in ("Optional[Any]")
pybind/mgr/crash/module.py:190: error: Item "None" of "Optional[Any]" has no attribute "__delitem__"
pybind/mgr/crash/module.py: note: In member "_prune" of class "Module":
pybind/mgr/crash/module.py:213: error: Item "None" of "Optional[Any]" has no attribute "__delitem__"
pybind/mgr/crash/module.py: note: In member "do_archive" of class "Module":
pybind/mgr/crash/module.py:222: error: Item "None" of "Optional[Any]" has no attribute "get"
pybind/mgr/crash/module.py:227: error: Unsupported target for indexed assignment
pybind/mgr/crash/module.py: note: In member "do_archive_all" of class "Module":
pybind/mgr/crash/module.py:234: error: Item "None" of "Optional[Any]" has no attribute "items"
pybind/mgr/crash/module.py:237: error: Unsupported target for indexed assignment
pybind/mgr/crash/module.py: note: In member "do_stat" of class "Module":
pybind/mgr/crash/module.py:263: error: No overload variant of "__setitem__" of "list" matches argument types "int", "Dict[str, object]"
pybind/mgr/crash/module.py:263: note: Possible overload variants:
pybind/mgr/crash/module.py:263: note: def __setitem__(self, int, int) -> None
pybind/mgr/crash/module.py:263: note: def __setitem__(self, slice, Iterable[int]) -> None
pybind/mgr/crash/module.py:269: error: Item "None" of "Optional[Any]" has no attribute "items"
pybind/mgr/crash/module.py:273: error: Value of type "int" is not indexable
pybind/mgr/crash/module.py:274: error: Value of type "int" is not indexable
pybind/mgr/crash/module.py: note: In member "do_json_report" of class "Module":
pybind/mgr/crash/module.py:293: error: Need type annotation for 'report'
pybind/mgr/crash/module.py:294: error: Item "None" of "Optional[Any]" has no attribute "items"
pybind/mgr/dashboard/__init__.py: note: In member "init" of class "_ModuleProxy":
pybind/mgr/dashboard/__init__.py:31: error: "Logger" has no attribute "_logger"
pybind/mgr/dashboard/__init__.py: note: At top level:
pybind/mgr/dashboard/__init__.py:38: error: Incompatible types in assignment (expression has type "_ModuleProxy", variable has type Module)
pybind/mgr/dashboard/__init__.py:39: error: Incompatible types in assignment (expression has type "_LoggerProxy", variable has type "Logger")
pybind/mgr/dashboard/__init__.py:57: error: Name 'mock' already defined (by an import)
pybind/mgr/dashboard/__init__.py:61: error: Name 'mgr' already defined on line 38
pybind/mgr/dashboard/__init__.py:62: error: "Callable[[], Any]" has no attribute "side_effect"
pybind/mgr/dashboard/awsauth.py: note: In member "get_signature" of class "S3Auth":
pybind/mgr/dashboard/awsauth.py:93: error: Incompatible types in assignment (expression has type "str", variable has type "bytes")
pybind/mgr/dashboard/ci/check_grafana_uids.py: note: In function "get_grafana_dashboards":
pybind/mgr/dashboard/ci/check_grafana_uids.py:82: error: Need type annotation for 'dashboards' (hint: "dashboards: Dict[<type>, <type>] = ...")
pybind/mgr/dashboard/controllers/__init__.py: note: In function "EndpointDoc":
pybind/mgr/dashboard/controllers/__init__.py:89: error: Need type annotation for 'splitted' (hint: "splitted: List[<type>] = ...")
pybind/mgr/dashboard/controllers/__init__.py:96: error: Need type annotation for 'param_list' (hint: "param_list: List[<type>] = ...")
pybind/mgr/dashboard/controllers/__init__.py: note: At top level:
pybind/mgr/dashboard/controllers/__init__.py:290: error: Need type annotation for 'ENDPOINT_MAP'
pybind/mgr/dashboard/controllers/__init__.py: note: In member "__init__" of class "BaseController":
pybind/mgr/dashboard/controllers/__init__.py:590: error: "BaseController" has no attribute "_cp_path_"
pybind/mgr/dashboard/controllers/__init__.py: note: In member "_has_permissions" of class "BaseController":
pybind/mgr/dashboard/controllers/__init__.py:593: error: "BaseController" has no attribute "_cp_config"
pybind/mgr/dashboard/controllers/__init__.py: note: In member "get_path_param_names" of class "BaseController":
pybind/mgr/dashboard/controllers/__init__.py:612: error: "Type[BaseController]" has no attribute "_cp_path_"
pybind/mgr/dashboard/controllers/__init__.py: note: In member "get_path" of class "BaseController":
pybind/mgr/dashboard/controllers/__init__.py:628: error: "Type[BaseController]" has no attribute "_cp_path_"
pybind/mgr/dashboard/controllers/__init__.py: note: In member "endpoints" of class "RESTController":
pybind/mgr/dashboard/controllers/__init__.py:786: error: Incompatible types in assignment (expression has type "object", variable has type "int")
pybind/mgr/dashboard/controllers/__init__.py:789: error: Invalid index type "object" for "Dict[str, str]"; expected type "str"
pybind/mgr/dashboard/controllers/__init__.py:800: error: Invalid index type "object" for "Dict[str, str]"; expected type "str"
pybind/mgr/dashboard/controllers/__init__.py:816: error: Invalid index type "object" for "Dict[str, str]"; expected type "str"
pybind/mgr/dashboard/controllers/cephfs.py: note: In member "_mds_counters" of class "CephFS":
pybind/mgr/dashboard/controllers/cephfs.py:77: error: Need type annotation for 'result' (hint: "result: Dict[<type>, <type>] = ...")
pybind/mgr/dashboard/controllers/cephfs.py: note: In member "fs_status" of class "CephFS":
pybind/mgr/dashboard/controllers/cephfs.py:136: error: Need type annotation for 'mds_versions'
pybind/mgr/dashboard/controllers/cephfs.py:164: error: Incompatible types in assignment (expression has type "float", variable has type "int")
pybind/mgr/dashboard/controllers/cephfs.py:169: error: Incompatible types in assignment (expression has type "float", variable has type "int")
pybind/mgr/dashboard/controllers/cephfs.py: note: In class "CephFsUi":
pybind/mgr/dashboard/controllers/cephfs.py:444: error: Incompatible types in assignment (expression has type "str", base class "RESTController" defined the type as "None")
pybind/mgr/dashboard/controllers/docs.py: note: In member "_gen_tags" of class "Docs":
pybind/mgr/dashboard/controllers/docs.py:30: error: Need type annotation for 'tag_map' (hint: "tag_map: Dict[<type>, <type>] = ...")
pybind/mgr/dashboard/controllers/docs.py: note: In member "_gen_responses" of class "Docs":
pybind/mgr/dashboard/controllers/docs.py:214: error: Dict entry 0 has incompatible type "str": "Dict[str, Dict[str, Any]]"; expected "str": "str"
pybind/mgr/dashboard/controllers/docs.py: note: In member "_gen_paths" of class "Docs":
pybind/mgr/dashboard/controllers/docs.py:270: error: Need type annotation for 'resp' (hint: "resp: Dict[<type>, <type>] = ...")
pybind/mgr/dashboard/controllers/docs.py:271: error: Need type annotation for 'p_info' (hint: "p_info: List[<type>] = ...")
pybind/mgr/dashboard/controllers/docs.py:277: error: Need type annotation for 'params' (hint: "params: List[<type>] = ...")
pybind/mgr/dashboard/controllers/home.py:10: error: Incompatible import of "lru_cache" (imported name has type "Callable[[Any, Any], Any]", local name has type "Type[lru_cache]")
pybind/mgr/dashboard/controllers/host.py: note: In function "get_hosts":
pybind/mgr/dashboard/controllers/host.py:46: error: Need type annotation for 'ceph_hosts' (hint: "ceph_hosts: List[<type>] = ...")
pybind/mgr/dashboard/controllers/iscsi.py: note: In member "status" of class "IscsiUi":
pybind/mgr/dashboard/controllers/iscsi.py:37: error: Incompatible types in assignment (expression has type "str", target has type "bool")
pybind/mgr/dashboard/controllers/iscsi.py:44: error: Incompatible types in assignment (expression has type "str", target has type "bool")
pybind/mgr/dashboard/controllers/iscsi.py:49: error: Incompatible types in assignment (expression has type "str", target has type "bool")
pybind/mgr/dashboard/controllers/iscsi.py: note: In member "_validate" of class "IscsiTarget":
pybind/mgr/dashboard/controllers/iscsi.py:536: error: Need type annotation for 'initiators' (hint: "initiators: List[<type>] = ...")
pybind/mgr/dashboard/controllers/iscsi.py: note: In member "_create" of class "IscsiTarget":
pybind/mgr/dashboard/controllers/iscsi.py:650: error: Need type annotation for 'd_conf_controls' (hint: "d_conf_controls: Dict[<type>, <type>] = ...")
pybind/mgr/dashboard/controllers/iscsi.py: note: In member "_get_portals_by_host" of class "IscsiTarget":
pybind/mgr/dashboard/controllers/iscsi.py:860: error: Need type annotation for 'portals_by_host' (hint: "portals_by_host: Dict[<type>, <type>] = ...")
pybind/mgr/dashboard/controllers/logs.py: note: In member "__init__" of class "Logs":
pybind/mgr/dashboard/controllers/logs.py:20: error: Need type annotation for 'log_buffer'
pybind/mgr/dashboard/controllers/logs.py:21: error: Need type annotation for 'audit_buffer'
pybind/mgr/dashboard/controllers/monitor.py: note: In member "__call__" of class "Monitor":
pybind/mgr/dashboard/controllers/monitor.py:28: error: No overload variant of "__getitem__" of "list" matches argument type "str"
pybind/mgr/dashboard/controllers/monitor.py:28: note: Possible overload variants:
pybind/mgr/dashboard/controllers/monitor.py:28: note: def __getitem__(self, int) -> Tuple[float, float]
pybind/mgr/dashboard/controllers/monitor.py:28: note: def __getitem__(self, slice) -> List[Tuple[float, float]]
pybind/mgr/dashboard/controllers/nfsganesha.py: note: In member "status" of class "NFSGanesha":
pybind/mgr/dashboard/controllers/nfsganesha.py:102: error: Incompatible types in assignment (expression has type "str", target has type "Optional[bool]")
pybind/mgr/dashboard/controllers/nfsganesha.py: note: In class "NFSGaneshaExports":
pybind/mgr/dashboard/controllers/nfsganesha.py:111: error: Incompatible types in assignment (expression has type "str", base class "RESTController" defined the type as "None")
pybind/mgr/dashboard/controllers/osd.py: note: In member "_get_smart_data" of class "Osd":
pybind/mgr/dashboard/controllers/osd.py:75: error: Need type annotation for 'smart_data' (hint: "smart_data: Dict[<type>, <type>] = ...")
pybind/mgr/dashboard/controllers/perf_counters.py: note: In member "get" of class "PerfCounter":
pybind/mgr/dashboard/controllers/perf_counters.py:33: error: Incompatible types in assignment (expression has type "float", target has type "str")
pybind/mgr/dashboard/controllers/pool.py: note: In member "_serialize_pool" of class "Pool":
pybind/mgr/dashboard/controllers/pool.py:39: error: Incompatible types in assignment (expression has type "List[Any]", target has type "str")
pybind/mgr/dashboard/controllers/pool.py: note: In member "_get" of class "Pool":
pybind/mgr/dashboard/controllers/pool.py:63: error: Incompatible default for argument "attrs" (default has type "None", argument has type "str")
pybind/mgr/dashboard/controllers/pool.py: note: In member "get" of class "Pool":
pybind/mgr/dashboard/controllers/pool.py:71: error: Incompatible default for argument "attrs" (default has type "None", argument has type "str")
pybind/mgr/dashboard/controllers/pool.py: note: In member "_set_pool_values" of class "Pool":
pybind/mgr/dashboard/controllers/pool.py:115: error: Argument 1 to "set" has incompatible type "Optional[Any]"; expected "Iterable[Any]"
pybind/mgr/dashboard/controllers/prometheus.py: note: In member "fetch_alert" of class "PrometheusReceiver":
pybind/mgr/dashboard/controllers/prometheus.py:17: error: Need type annotation for 'notifications' (hint: "notifications: List[<type>] = ...")
pybind/mgr/dashboard/controllers/prometheus.py: note: In class "PrometheusReceiver":
pybind/mgr/dashboard/controllers/prometheus.py:17: error: Need type annotation for 'notifications' (hint: "notifications: List[<type>] = ...")
pybind/mgr/dashboard/controllers/prometheus.py: note: In member "rules" of class "Prometheus":
pybind/mgr/dashboard/controllers/prometheus.py:61: error: Need type annotation for 'rules' (hint: "rules: List[<type>] = ...")
pybind/mgr/dashboard/controllers/rbd.py: note: In class "Rbd":
pybind/mgr/dashboard/controllers/rbd.py:70: error: Incompatible types in assignment (expression has type "str", base class "RESTController" defined the type as "None")
pybind/mgr/dashboard/controllers/rbd.py: note: In class "RbdSnapshot":
pybind/mgr/dashboard/controllers/rbd.py:357: error: Incompatible types in assignment (expression has type "str", base class "RESTController" defined the type as "None")
pybind/mgr/dashboard/controllers/rbd.py: note: In class "RbdTrash":
pybind/mgr/dashboard/controllers/rbd.py:442: error: Incompatible types in assignment (expression has type "str", base class "RESTController" defined the type as "None")
pybind/mgr/dashboard/controllers/rbd_mirroring.py: note: In function "get_daemons_and_pools":
pybind/mgr/dashboard/controllers/rbd_mirroring.py:147: error: Argument 2 to "get" of "Mapping" has incompatible type "None"; expected "Union[Dict[str, Any], Dict[str, str]]"
pybind/mgr/dashboard/controllers/rbd_mirroring.py: note: In function "_get_pool_datum":
pybind/mgr/dashboard/controllers/rbd_mirroring.py:245: error: Argument after ** must be a mapping, not "object"
pybind/mgr/dashboard/controllers/rbd_mirroring.py: note: In class "RbdMirroringPoolMode":
pybind/mgr/dashboard/controllers/rbd_mirroring.py:342: error: Incompatible types in assignment (expression has type "str", base class "RESTController" defined the type as "None")
pybind/mgr/dashboard/controllers/rbd_mirroring.py: note: In class "RbdMirroringPoolPeer":
pybind/mgr/dashboard/controllers/rbd_mirroring.py:378: error: Incompatible types in assignment (expression has type "str", base class "RESTController" defined the type as "None")
pybind/mgr/dashboard/controllers/rgw.py: note: In member "status" of class "Rgw":
pybind/mgr/dashboard/controllers/rgw.py:44: error: Incompatible types in assignment (expression has type "str", target has type "Optional[bool]")
pybind/mgr/dashboard/controllers/rgw.py: note: In member "list" of class "RgwUser":
pybind/mgr/dashboard/controllers/rgw.py:241: error: Need type annotation for 'users' (hint: "users: List[<type>] = ...")
pybind/mgr/dashboard/controllers/rgw.py:244: error: Need type annotation for 'params' (hint: "params: Dict[<type>, <type>] = ...")
pybind/mgr/dashboard/controllers/role.py: note: In member "list" of class "Role":
pybind/mgr/dashboard/controllers/role.py:47: error: Incompatible types in assignment (expression has type "List[Any]", variable has type "Dict[Any, Any]")
pybind/mgr/dashboard/controllers/user.py: note: In member "set" of class "User":
pybind/mgr/dashboard/controllers/user.py:123: error: Need type annotation for 'user_roles' (hint: "user_roles: List[<type>] = ...")
pybind/mgr/dashboard/module.py: note: In member "_configure" of class "CherryPyConfig":
pybind/mgr/dashboard/module.py:134: error: "CherryPyConfig" has no attribute "get_localized_module_option"
pybind/mgr/dashboard/module.py:136: error: "CherryPyConfig" has no attribute "get_localized_module_option"
pybind/mgr/dashboard/module.py:138: error: "CherryPyConfig" has no attribute "get_localized_module_option"
pybind/mgr/dashboard/module.py:140: error: "CherryPyConfig" has no attribute "get_localized_module_option"
pybind/mgr/dashboard/module.py:146: error: "CherryPyConfig" has no attribute "module_name"
pybind/mgr/dashboard/module.py:146: error: "CherryPyConfig" has no attribute "get_mgr_id"
pybind/mgr/dashboard/module.py:147: error: "CherryPyConfig" has no attribute "log"
pybind/mgr/dashboard/module.py:182: error: "CherryPyConfig" has no attribute "get_store"
pybind/mgr/dashboard/module.py:189: error: "CherryPyConfig" has no attribute "get_localized_module_option"
pybind/mgr/dashboard/module.py:191: error: "CherryPyConfig" has no attribute "get_store"
pybind/mgr/dashboard/module.py:198: error: "CherryPyConfig" has no attribute "get_localized_module_option"
pybind/mgr/dashboard/module.py:208: error: "CherryPyConfig" has no attribute "get_module_option"
pybind/mgr/dashboard/module.py: note: In member "await_configuration" of class "CherryPyConfig":
pybind/mgr/dashboard/module.py:231: error: "CherryPyConfig" has no attribute "log"
pybind/mgr/dashboard/module.py:237: error: "CherryPyConfig" has no attribute "log"
pybind/mgr/dashboard/module.py: note: In class "Module":
pybind/mgr/dashboard/module.py:270: error: Cannot determine type of 'SSO_COMMANDS'
pybind/mgr/dashboard/module.py:293: error: Need type annotation for '__pool_stats'
pybind/mgr/dashboard/module.py: note: In member "__init__" of class "Module":
pybind/mgr/dashboard/module.py:300: error: Module has no attribute "init"
pybind/mgr/dashboard/module.py:309: error: Incompatible types in assignment (expression has type "None", variable has type "AccessControlDB")
pybind/mgr/dashboard/module.py:310: error: Incompatible types in assignment (expression has type "None", variable has type "SsoDB")
pybind/mgr/dashboard/module.py: note: In member "__init__" of class "StandbyModule":
pybind/mgr/dashboard/module.py:471: error: Module has no attribute "init"
pybind/mgr/dashboard/plugins/debug.py:10: error: Module 'dashboard.plugins.plugin' has no attribute 'SimplePlugin'
pybind/mgr/dashboard/plugins/lru_cache.py: note: In function "lru_cache":
pybind/mgr/dashboard/plugins/lru_cache.py:19: error: Need type annotation for 'cache'
pybind/mgr/dashboard/plugins/pluggy.py: note: In member "__init__" of class "_HookRelay":
pybind/mgr/dashboard/plugins/pluggy.py:78: error: Need type annotation for '_registry'
pybind/mgr/dashboard/plugins/ttl_cache.py: note: In function "ttl_cache":
pybind/mgr/dashboard/plugins/ttl_cache.py:19: error: Need type annotation for 'cache'
pybind/mgr/dashboard/rest_client.py:27: error: Name 'SSLError' already defined (possibly by an import)
pybind/mgr/dashboard/rest_client.py: note: In member "_validate_level" of class "_ResponseValidator":
pybind/mgr/dashboard/rest_client.py:186: error: Item "List[Any]" of "Union[Dict[Any, Any], List[Any]]" has no attribute "keys"
pybind/mgr/dashboard/rest_client.py: note: In member "do_request" of class "RestClient":
pybind/mgr/dashboard/rest_client.py:446: error: Incompatible types in assignment (expression has type "bool", variable has type "Optional[Match[Any]]")
pybind/mgr/dashboard/services/access_control.py: note: In member "__init__" of class "Role":
pybind/mgr/dashboard/services/access_control.py:103: error: Need type annotation for 'scopes_permissions' (hint: "scopes_permissions: Dict[<type>, <type>] = ...")
pybind/mgr/dashboard/services/access_control.py: note: In member "__init__" of class "User":
pybind/mgr/dashboard/services/access_control.py:244: error: Need type annotation for 'roles' (hint: "roles: Set[<type>] = ...")
pybind/mgr/dashboard/services/access_control.py: note: In member "permissions_dict" of class "User":
pybind/mgr/dashboard/services/access_control.py:305: error: Need type annotation for 'perms' (hint: "perms: Dict[<type>, <type>] = ...")
pybind/mgr/dashboard/services/access_control.py: note: In member "load" of class "AccessControlDB":
pybind/mgr/dashboard/services/access_control.py:466: error: "AccessControlDB" has no attribute "get"
pybind/mgr/dashboard/services/access_control.py:468: error: "AccessControlDB" has no attribute "get"
pybind/mgr/dashboard/services/access_control.py:469: error: Value of type "AccessControlDB" is not indexable
pybind/mgr/dashboard/services/auth.py: note: In member "gen_token" of class "JwtManager":
pybind/mgr/dashboard/services/auth.py:54: error: Argument 2 to "encode" has incompatible type "Optional[Any]"; expected "Union[str, bytes]"
pybind/mgr/dashboard/services/auth.py: note: In member "decode_token" of class "JwtManager":
pybind/mgr/dashboard/services/auth.py:60: error: Argument 2 to "decode" has incompatible type "Optional[Any]"; expected "Union[str, bytes]"
pybind/mgr/dashboard/services/auth.py: note: In member "get_user" of class "JwtManager":
pybind/mgr/dashboard/services/auth.py:95: error: Module has no attribute "exceptions"
pybind/mgr/dashboard/services/auth.py:97: error: Module has no attribute "exceptions"
pybind/mgr/dashboard/services/auth.py: note: In member "get_user" of class "AuthManager":
pybind/mgr/dashboard/services/auth.py:141: error: Item "None" of "Optional[LocalAuthenticator]" has no attribute "get_user"
pybind/mgr/dashboard/services/auth.py: note: In member "authenticate" of class "AuthManager":
pybind/mgr/dashboard/services/auth.py:145: error: Item "None" of "Optional[LocalAuthenticator]" has no attribute "authenticate"
pybind/mgr/dashboard/services/auth.py: note: In member "authorize" of class "AuthManager":
pybind/mgr/dashboard/services/auth.py:149: error: Item "None" of "Optional[LocalAuthenticator]" has no attribute "authorize"
pybind/mgr/dashboard/services/exception.py: note: In function "serialize_dashboard_exception":
pybind/mgr/dashboard/services/exception.py:81: error: Incompatible types in assignment (expression has type "Dict[str, Any]", target has type "str")
pybind/mgr/dashboard/services/ganesha.py: note: In member "_get_clusters_locations" of class "Ganesha":
pybind/mgr/dashboard/services/ganesha.py:24: error: Need type annotation for 'result' (hint: "result: Dict[<type>, <type>] = ...")
pybind/mgr/dashboard/services/ganesha.py: note: In member "get_daemons_status" of class "Ganesha":
pybind/mgr/dashboard/services/ganesha.py:82: error: Need type annotation for 'result' (hint: "result: Dict[<type>, <type>] = ...")
pybind/mgr/dashboard/services/ganesha.py: note: In member "__init__" of class "GaneshaConf":
pybind/mgr/dashboard/services/ganesha.py:754: error: Need type annotation for 'export_conf_blocks' (hint: "export_conf_blocks: List[<type>] = ...")
pybind/mgr/dashboard/services/ganesha.py:755: error: Need type annotation for 'daemons_conf_blocks' (hint: "daemons_conf_blocks: Dict[<type>, <type>] = ...")
pybind/mgr/dashboard/services/ganesha.py:756: error: Need type annotation for '_defaults' (hint: "_defaults: Dict[<type>, <type>] = ...")
pybind/mgr/dashboard/services/ganesha.py:757: error: Need type annotation for 'exports' (hint: "exports: Dict[<type>, <type>] = ...")
pybind/mgr/dashboard/services/ganesha.py: note: In member "validate" of class "GaneshaConf":
pybind/mgr/dashboard/services/ganesha.py:899: error: Item "None" of "Optional[Any]" has no attribute "pseudo"
pybind/mgr/dashboard/services/ganesha.py:901: error: Item "None" of "Optional[Any]" has no attribute "path"
pybind/mgr/dashboard/services/ganesha.py:902: error: Item "None" of "Optional[Any]" has no attribute "path"
pybind/mgr/dashboard/services/ganesha.py: note: In member "_persist_daemon_configuration" of class "GaneshaConf":
pybind/mgr/dashboard/services/ganesha.py:922: error: Need type annotation for 'daemon_map' (hint: "daemon_map: Dict[<type>, <type>] = ...")
pybind/mgr/dashboard/services/iscsi_client.py: note: In member "instance" of class "IscsiClient":
pybind/mgr/dashboard/services/iscsi_client.py:22: error: Need type annotation for '_instances' (hint: "_instances: Dict[<type>, <type>] = ...")
pybind/mgr/dashboard/services/iscsi_client.py: note: In class "IscsiClient":
pybind/mgr/dashboard/services/iscsi_client.py:22: error: Need type annotation for '_instances' (hint: "_instances: Dict[<type>, <type>] = ...")
pybind/mgr/dashboard/services/iscsi_config.py: note: In member "_load_config_from_orchestrator" of class "IscsiGatewaysConfig":
pybind/mgr/dashboard/services/iscsi_config.py:87: error: Need type annotation for 'config'
pybind/mgr/dashboard/services/progress.py: note: In function "_progress_event_to_dashboard_task":
pybind/mgr/dashboard/services/progress.py:47: error: Need type annotation for 'task' (hint: "task: Dict[<type>, <type>] = ...")
pybind/mgr/dashboard/services/progress.py:55: error: Dict entry 0 has incompatible type "str": "str"; expected "str": "int"
pybind/mgr/dashboard/services/progress.py:60: error: Dict entry 4 has incompatible type "str": "None"; expected "str": "int"
pybind/mgr/dashboard/services/progress.py:61: error: Dict entry 5 has incompatible type "str": "Optional[Dict[str, Any]]"; expected "str": "int"
pybind/mgr/dashboard/services/rbd.py: note: In member "list" of class "RbdConfiguration":
pybind/mgr/dashboard/services/rbd.py:97: error: Incompatible types in assignment (expression has type "object", variable has type "Ioctx")
pybind/mgr/dashboard/services/rbd.py: note: In member "set" of class "RbdConfiguration":
pybind/mgr/dashboard/services/rbd.py:123: error: Argument 1 to "Image" has incompatible type "object"; expected "Ioctx"
pybind/mgr/dashboard/services/rbd.py:127: error: "object" has no attribute "metadata_set"
pybind/mgr/dashboard/services/rbd.py:129: error: Argument 1 to "pool_metadata_set" of "RBD" has incompatible type "object"; expected "Ioctx"
pybind/mgr/dashboard/services/rbd.py:132: error: "object" has no attribute "__exit__"
pybind/mgr/dashboard/services/rbd.py:134: error: "object" has no attribute "__exit__"
pybind/mgr/dashboard/services/rgw_client.py: note: In member "instance" of class "RgwClient":
pybind/mgr/dashboard/services/rgw_client.py:208: error: Need type annotation for '_user_instances' (hint: "_user_instances: Dict[<type>, <type>] = ...")
pybind/mgr/dashboard/services/rgw_client.py: note: In class "RgwClient":
pybind/mgr/dashboard/services/rgw_client.py:208: error: Need type annotation for '_user_instances' (hint: "_user_instances: Dict[<type>, <type>] = ...")
pybind/mgr/dashboard/services/rgw_client.py: note: In member "_load_settings" of class "RgwClient":
pybind/mgr/dashboard/services/rgw_client.py:239: error: Cannot determine type of '_SYSTEM_USERID'
pybind/mgr/dashboard/services/rgw_client.py:239: error: Cannot determine type of 'userid'
pybind/mgr/dashboard/services/rgw_client.py:242: error: Cannot determine type of '_SYSTEM_USERID'
pybind/mgr/dashboard/services/rgw_client.py: note: In member "instance" of class "RgwClient":
pybind/mgr/dashboard/services/rgw_client.py:279: error: Cannot determine type of '_SYSTEM_USERID'
pybind/mgr/dashboard/services/rgw_client.py: note: In member "admin_instance" of class "RgwClient":
pybind/mgr/dashboard/services/rgw_client.py:298: error: Cannot determine type of '_SYSTEM_USERID'
pybind/mgr/dashboard/services/rgw_client.py: note: In member "_reset_login" of class "RgwClient":
pybind/mgr/dashboard/services/rgw_client.py:301: error: Cannot determine type of 'userid'
pybind/mgr/dashboard/services/rgw_client.py:301: error: Cannot determine type of '_SYSTEM_USERID'
pybind/mgr/dashboard/services/rgw_client.py:302: error: Cannot determine type of 'userid'
pybind/mgr/dashboard/services/rgw_client.py:303: error: Cannot determine type of 'userid'
pybind/mgr/dashboard/services/rgw_client.py:308: error: Cannot determine type of 'userid'
pybind/mgr/dashboard/services/sso.py: note: In member "load" of class "SsoDB":
pybind/mgr/dashboard/services/sso.py:91: error: Value of type "SsoDB" is not indexable
pybind/mgr/dashboard/services/sso.py:91: error: "SsoDB" has no attribute "get"
pybind/mgr/dashboard/services/tcmu_service.py: note: In member "get_iscsi_info" of class "TcmuService":
pybind/mgr/dashboard/services/tcmu_service.py:11: error: Need type annotation for 'daemons' (hint: "daemons: Dict[<type>, <type>] = ...")
pybind/mgr/dashboard/services/tcmu_service.py:12: error: Need type annotation for 'images' (hint: "images: Dict[<type>, <type>] = ...")
pybind/mgr/dashboard/services/tcmu_service.py:51: error: No overload variant of "__getitem__" of "list" matches argument type "str"
pybind/mgr/dashboard/services/tcmu_service.py:51: note: Possible overload variants:
pybind/mgr/dashboard/services/tcmu_service.py:51: note: def __getitem__(self, int) -> Tuple[float, float]
pybind/mgr/dashboard/services/tcmu_service.py:51: note: def __getitem__(self, slice) -> List[Tuple[float, float]]
pybind/mgr/dashboard/tests/__init__.py: note: In member "mock_set_module_option" of class "KVStoreMockMixin":
pybind/mgr/dashboard/tests/__init__.py:50: error: Need type annotation for 'CONFIG_KEY_DICT' (hint: "CONFIG_KEY_DICT: Dict[<type>, <type>] = ...")
pybind/mgr/dashboard/tests/__init__.py: note: In member "mock_get_module_option" of class "KVStoreMockMixin":
pybind/mgr/dashboard/tests/__init__.py:50: error: Need type annotation for 'CONFIG_KEY_DICT' (hint: "CONFIG_KEY_DICT: Dict[<type>, <type>] = ...")
pybind/mgr/dashboard/tests/__init__.py: note: In member "mock_kv_store" of class "KVStoreMockMixin":
pybind/mgr/dashboard/tests/__init__.py:50: error: Need type annotation for 'CONFIG_KEY_DICT' (hint: "CONFIG_KEY_DICT: Dict[<type>, <type>] = ...")
pybind/mgr/dashboard/tests/__init__.py: note: In member "get_key" of class "KVStoreMockMixin":
pybind/mgr/dashboard/tests/__init__.py:50: error: Need type annotation for 'CONFIG_KEY_DICT' (hint: "CONFIG_KEY_DICT: Dict[<type>, <type>] = ...")
pybind/mgr/dashboard/tests/__init__.py: note: In class "KVStoreMockMixin":
pybind/mgr/dashboard/tests/__init__.py:50: error: Need type annotation for 'CONFIG_KEY_DICT' (hint: "CONFIG_KEY_DICT: Dict[<type>, <type>] = ...")
pybind/mgr/dashboard/tests/__init__.py: note: In member "mock_kv_store" of class "KVStoreMockMixin":
pybind/mgr/dashboard/tests/__init__.py:63: error: "Callable[[str, Any], None]" has no attribute "side_effect"
pybind/mgr/dashboard/tests/__init__.py:64: error: "Callable[[str, Any], Any]" has no attribute "side_effect"
pybind/mgr/dashboard/tests/__init__.py:66: error: "Callable[[str, Any], None]" has no attribute "side_effect"
pybind/mgr/dashboard/tests/__init__.py:67: error: "Callable[[str, Any], Any]" has no attribute "side_effect"
pybind/mgr/dashboard/tests/__init__.py: note: In member "setup_controllers" of class "ControllerTestCase":
pybind/mgr/dashboard/tests/__init__.py:81: error: Need type annotation for '_endpoints_cache' (hint: "_endpoints_cache: Dict[<type>, <type>] = ...")
pybind/mgr/dashboard/tests/__init__.py: note: In class "ControllerTestCase":
pybind/mgr/dashboard/tests/__init__.py:81: error: Need type annotation for '_endpoints_cache' (hint: "_endpoints_cache: Dict[<type>, <type>] = ...")
pybind/mgr/dashboard/tests/__init__.py: note: In member "_task_request" of class "ControllerTestCase":
pybind/mgr/dashboard/tests/__init__.py:149: error: Cannot determine type of 'status'
pybind/mgr/dashboard/tests/__init__.py:197: error: Value of type "Optional[Any]" is not indexable
pybind/mgr/dashboard/tests/__init__.py:198: error: Value of type "Optional[Any]" is not indexable
pybind/mgr/dashboard/tests/__init__.py:207: error: Value of type "Optional[Any]" is not indexable
pybind/mgr/dashboard/tests/__init__.py:208: error: Value of type "Optional[Any]" is not indexable
pybind/mgr/dashboard/tests/__init__.py:210: error: Incompatible types in assignment (expression has type "int", variable has type "str")
pybind/mgr/dashboard/tests/__init__.py:211: error: Value of type "Optional[Any]" is not indexable
pybind/mgr/dashboard/tests/__init__.py: note: In member "json_body" of class "ControllerTestCase":
pybind/mgr/dashboard/tests/__init__.py:223: error: "str" has no attribute "decode"; maybe "encode"?
pybind/mgr/dashboard/tests/helper.py: note: In function "update_dict":
pybind/mgr/dashboard/tests/helper.py:10: error: "dict" expects 2 type arguments, but 1 given
pybind/mgr/dashboard/tests/test_access_control.py: note: In member "setUpClass" of class "AccessControlTest":
pybind/mgr/dashboard/tests/test_access_control.py:23: error: Module has no attribute "ACCESS_CONTROL_DB"; maybe "ACCESS_CTRL_DB"?
pybind/mgr/dashboard/tests/test_access_control.py: note: In member "test_add_user_roles" of class "AccessControlTest":
pybind/mgr/dashboard/tests/test_access_control.py:379: error: "AccessControlTest" has no attribute "assertDictContainsSubset"
pybind/mgr/dashboard/tests/test_access_control.py: note: In member "test_add_user_roles2" of class "AccessControlTest":
pybind/mgr/dashboard/tests/test_access_control.py:387: error: "AccessControlTest" has no attribute "assertDictContainsSubset"
pybind/mgr/dashboard/tests/test_access_control.py: note: In member "test_set_user_roles" of class "AccessControlTest":
pybind/mgr/dashboard/tests/test_access_control.py:415: error: "AccessControlTest" has no attribute "assertDictContainsSubset"
pybind/mgr/dashboard/tests/test_access_control.py:421: error: "AccessControlTest" has no attribute "assertDictContainsSubset"
pybind/mgr/dashboard/tests/test_access_control.py: note: In member "test_del_user_roles" of class "AccessControlTest":
pybind/mgr/dashboard/tests/test_access_control.py:449: error: "AccessControlTest" has no attribute "assertDictContainsSubset"
pybind/mgr/dashboard/tests/test_api_auditing.py:10: error: Name 'mock' already defined (by an import)
pybind/mgr/dashboard/tests/test_api_auditing.py: note: In member "setUp" of class "ApiAuditingTest":
pybind/mgr/dashboard/tests/test_api_auditing.py:47: error: Cannot assign to a method
pybind/mgr/dashboard/tests/test_api_auditing.py: note: In member "_validate_cluster_log_msg" of class "ApiAuditingTest":
pybind/mgr/dashboard/tests/test_api_auditing.py:52: error: "Callable[[str, int, str], None]" has no attribute "call_args_list"
pybind/mgr/dashboard/tests/test_api_auditing.py:57: error: Item "None" of "Optional[Match[Any]]" has no attribute "group"
pybind/mgr/dashboard/tests/test_api_auditing.py:58: error: Item "None" of "Optional[Match[Any]]" has no attribute "group"
pybind/mgr/dashboard/tests/test_api_auditing.py:59: error: Item "None" of "Optional[Match[Any]]" has no attribute "group"
pybind/mgr/dashboard/tests/test_api_auditing.py:60: error: Item "None" of "Optional[Match[Any]]" has no attribute "group"
pybind/mgr/dashboard/tests/test_api_auditing.py: note: In member "test_no_audit" of class "ApiAuditingTest":
pybind/mgr/dashboard/tests/test_api_auditing.py:65: error: "Callable[[str, int, str], None]" has no attribute "assert_not_called"
pybind/mgr/dashboard/tests/test_api_auditing.py: note: In member "test_no_payload" of class "ApiAuditingTest":
pybind/mgr/dashboard/tests/test_api_auditing.py:70: error: "Callable[[str, int, str], None]" has no attribute "call_args_list"
pybind/mgr/dashboard/tests/test_api_auditing.py: note: In member "test_no_audit_get" of class "ApiAuditingTest":
pybind/mgr/dashboard/tests/test_api_auditing.py:75: error: "Callable[[str, int, str], None]" has no attribute "assert_not_called"
pybind/mgr/dashboard/tests/test_api_auditing.py: note: In member "test_audit_put" of class "ApiAuditingTest":
pybind/mgr/dashboard/tests/test_api_auditing.py:79: error: "Callable[[str, int, str], None]" has no attribute "assert_called_once"
pybind/mgr/dashboard/tests/test_api_auditing.py: note: In member "test_audit_post" of class "ApiAuditingTest":
pybind/mgr/dashboard/tests/test_api_auditing.py:89: error: "Callable[[str, int, str], None]" has no attribute "assert_called_once"
pybind/mgr/dashboard/tests/test_api_auditing.py: note: In member "test_audit_delete" of class "ApiAuditingTest":
pybind/mgr/dashboard/tests/test_api_auditing.py:95: error: "Callable[[str, int, str], None]" has no attribute "assert_called_once"
pybind/mgr/dashboard/tests/test_cephfs.py: note: In member "setup_server" of class "CephFsTest":
pybind/mgr/dashboard/tests/test_cephfs.py:32: error: Cannot assign to a method
pybind/mgr/dashboard/tests/test_cephfs.py: note: In member "tearDown" of class "CephFsTest":
pybind/mgr/dashboard/tests/test_cephfs.py:35: error: "Callable[[str, str], Optional[Dict[str, Any]]]" has no attribute "stop"
pybind/mgr/dashboard/tests/test_cephfs.py: note: In member "test_append_of_mds_metadata_if_key_is_not_found" of class "CephFsTest":
pybind/mgr/dashboard/tests/test_cephfs.py:38: error: Need type annotation for 'mds_versions'
pybind/mgr/dashboard/tests/test_cephfs.py: note: In member "test_append_of_mds_metadata_with_existing_metadata" of class "CephFsTest":
pybind/mgr/dashboard/tests/test_cephfs.py:44: error: Need type annotation for 'mds_versions'
pybind/mgr/dashboard/tests/test_controllers.py: note: In class "RTest":
pybind/mgr/dashboard/tests/test_controllers.py:43: error: Incompatible types in assignment (expression has type "str", base class "RESTController" defined the type as "None")
pybind/mgr/dashboard/tests/test_docs.py: note: In member "test_group_info_attr" of class "DocDecoratorsTest":
pybind/mgr/dashboard/tests/test_docs.py:39: error: "DecoratedController" has no attribute "doc_info"
pybind/mgr/dashboard/tests/test_docs.py:40: error: "DecoratedController" has no attribute "doc_info"
pybind/mgr/dashboard/tests/test_erasure_code_profile.py: note: In member "setup_server" of class "ErasureCodeProfileTest":
pybind/mgr/dashboard/tests/test_erasure_code_profile.py:11: error: "Callable[[str], Any]" has no attribute "side_effect"
pybind/mgr/dashboard/tests/test_erasure_code_profile.py:25: error: "Type[ErasureCodeProfile]" has no attribute "_cp_config"
pybind/mgr/dashboard/tests/test_feature_toggles.py:8: error: Incompatible import of "patch" (imported name has type "unittest.mock._patcher", local name has type "mock._patcher")
pybind/mgr/dashboard/tests/test_feature_toggles.py:11: error: Module 'dashboard.plugins.feature_toggles' has no attribute 'FeatureToggles'
pybind/mgr/dashboard/tests/test_feature_toggles.py:11: error: Module 'dashboard.plugins.feature_toggles' has no attribute 'Features'
pybind/mgr/dashboard/tests/test_feature_toggles.py: note: In member "setUpClass" of class "SettingsTest":
pybind/mgr/dashboard/tests/test_feature_toggles.py:22: error: "Type[SettingsTest]" has no attribute "mgr"
pybind/mgr/dashboard/tests/test_feature_toggles.py:26: error: "Type[SettingsTest]" has no attribute "controllers"
pybind/mgr/dashboard/tests/test_feature_toggles.py:29: error: "Type[SettingsTest]" has no attribute "plugin"
pybind/mgr/dashboard/tests/test_feature_toggles.py:31: error: "Type[SettingsTest]" has no attribute "plugin"
pybind/mgr/dashboard/tests/test_feature_toggles.py:32: error: "Type[SettingsTest]" has no attribute "plugin"
pybind/mgr/dashboard/tests/test_feature_toggles.py: note: In member "test_filter_request_when_all_features_enabled" of class "SettingsTest":
pybind/mgr/dashboard/tests/test_feature_toggles.py:42: error: "SettingsTest" has no attribute "controllers"
pybind/mgr/dashboard/tests/test_feature_toggles.py:45: error: "SettingsTest" has no attribute "plugin"
pybind/mgr/dashboard/tests/test_feature_toggles.py: note: In member "test_filter_request_when_some_feature_enabled" of class "SettingsTest":
pybind/mgr/dashboard/tests/test_feature_toggles.py:57: error: "SettingsTest" has no attribute "plugin"
pybind/mgr/dashboard/tests/test_feature_toggles.py:58: error: "SettingsTest" has no attribute "mgr"
pybind/mgr/dashboard/tests/test_feature_toggles.py:60: error: "SettingsTest" has no attribute "plugin"
pybind/mgr/dashboard/tests/test_feature_toggles.py:64: error: "SettingsTest" has no attribute "plugin"
pybind/mgr/dashboard/tests/test_ganesha.py: note: In member "setUp" of class "GaneshaConfTest":
pybind/mgr/dashboard/tests/test_ganesha.py:132: error: Property "rados" defined in "MgrModule" is read-only
pybind/mgr/dashboard/tests/test_ganesha.py:133: error: "Callable[[Any], Ioctx]" has no attribute "return_value"
pybind/mgr/dashboard/tests/test_ganesha.py:136: error: Module has no attribute "_select_orchestrator"
pybind/mgr/dashboard/tests/test_ganesha.py:138: error: Cannot assign to a type
pybind/mgr/dashboard/tests/test_ganesha.py:139: error: "Callable[[], Any]" has no attribute "return_value"
pybind/mgr/dashboard/tests/test_ganesha.py:140: error: "Callable[[Any], Any]" has no attribute "return_value"
pybind/mgr/dashboard/tests/test_ganesha.py:142: error: Cannot assign to a type
pybind/mgr/dashboard/tests/test_ganesha.py: note: In member "test_update_export" of class "GaneshaConfTest":
pybind/mgr/dashboard/tests/test_ganesha.py:464: error: Cannot assign to a type
pybind/mgr/dashboard/tests/test_ganesha.py:470: error: "Callable[[], Any]" has no attribute "return_value"
pybind/mgr/dashboard/tests/test_ganesha.py: note: In member "test_create_export_rgw" of class "GaneshaConfTest":
pybind/mgr/dashboard/tests/test_ganesha.py:541: error: Cannot assign to a type
pybind/mgr/dashboard/tests/test_ganesha.py:547: error: "Callable[[], Any]" has no attribute "return_value"
pybind/mgr/dashboard/tests/test_ganesha.py: note: In member "test_create_export_cephfs" of class "GaneshaConfTest":
pybind/mgr/dashboard/tests/test_ganesha.py:596: error: Cannot assign to a type
pybind/mgr/dashboard/tests/test_ganesha.py:597: error: "Callable[[], Any]" has no attribute "return_value"
pybind/mgr/dashboard/tests/test_ganesha.py:598: error: "Callable[[Any], Any]" has no attribute "return_value"
pybind/mgr/dashboard/tests/test_ganesha.py:600: error: Cannot assign to a type
pybind/mgr/dashboard/tests/test_ganesha.py:601: error: "Callable[[CephFS, Any], Any]" has no attribute "return_value"
pybind/mgr/dashboard/tests/test_grafana.py: note: In member "setup_server" of class "GrafanaTest":
pybind/mgr/dashboard/tests/test_grafana.py:11: error: "Type[Grafana]" has no attribute "_cp_config"
pybind/mgr/dashboard/tests/test_grafana.py: note: In member "server_settings" of class "GrafanaTest":
pybind/mgr/dashboard/tests/test_grafana.py:28: error: "Callable[[str, Any], Any]" has no attribute "side_effect"
pybind/mgr/dashboard/tests/test_home.py: note: In member "test_home_default_lang" of class "HomeTest":
pybind/mgr/dashboard/tests/test_home.py:21: error: "str" has no attribute "decode"; maybe "encode"?
pybind/mgr/dashboard/tests/test_home.py: note: In member "test_home_en_us" of class "HomeTest":
pybind/mgr/dashboard/tests/test_home.py:27: error: "str" has no attribute "decode"; maybe "encode"?
pybind/mgr/dashboard/tests/test_home.py: note: In member "test_home_non_supported_lang" of class "HomeTest":
pybind/mgr/dashboard/tests/test_home.py:33: error: "str" has no attribute "decode"; maybe "encode"?
pybind/mgr/dashboard/tests/test_host.py:6: error: Name 'mock' already defined (by an import)
pybind/mgr/dashboard/tests/test_host.py: note: In member "setup_server" of class "HostControllerTest":
pybind/mgr/dashboard/tests/test_host.py:21: error: "Type[Host]" has no attribute "_cp_config"
pybind/mgr/dashboard/tests/test_host.py: note: In member "test_get_hosts" of class "TestHosts":
pybind/mgr/dashboard/tests/test_host.py:78: error: "Callable[[], List[Dict[str, Any]]]" has no attribute "return_value"
pybind/mgr/dashboard/tests/test_iscsi.py:10: error: Name 'mock' already defined (by an import)
pybind/mgr/dashboard/tests/test_iscsi.py: note: In member "setup_server" of class "IscsiTest":
pybind/mgr/dashboard/tests/test_iscsi.py:25: error: "Rados" has no attribute "side_effect"
pybind/mgr/dashboard/tests/test_iscsi.py:27: error: "Type[Iscsi]" has no attribute "_cp_config"
pybind/mgr/dashboard/tests/test_iscsi.py:28: error: "Type[IscsiTarget]" has no attribute "_cp_config"
pybind/mgr/dashboard/tests/test_iscsi.py: note: In member "setUp" of class "IscsiTest":
pybind/mgr/dashboard/tests/test_iscsi.py:34: error: Incompatible types in assignment (expression has type "IscsiClientMock", variable has type "None")
pybind/mgr/dashboard/tests/test_iscsi.py:35: error: Cannot assign to a method
pybind/mgr/dashboard/tests/test_iscsi.py: note: In member "test_add_client" of class "IscsiTest":
pybind/mgr/dashboard/tests/test_iscsi.py:151: error: "object" has no attribute "append"
pybind/mgr/dashboard/tests/test_iscsi.py:163: error: "object" has no attribute "append"
pybind/mgr/dashboard/tests/test_iscsi.py: note: In member "test_change_client_password" of class "IscsiTest":
pybind/mgr/dashboard/tests/test_iscsi.py:187: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py:190: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py: note: In member "test_rename_client" of class "IscsiTest":
pybind/mgr/dashboard/tests/test_iscsi.py:200: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py:203: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py: note: In member "test_add_disk" of class "IscsiTest":
pybind/mgr/dashboard/tests/test_iscsi.py:213: error: "object" has no attribute "append"
pybind/mgr/dashboard/tests/test_iscsi.py:220: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py:223: error: "object" has no attribute "append"
pybind/mgr/dashboard/tests/test_iscsi.py:233: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py: note: In member "test_change_disk_image" of class "IscsiTest":
pybind/mgr/dashboard/tests/test_iscsi.py:243: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py:244: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py:247: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py:248: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py: note: In member "test_change_disk_controls" of class "IscsiTest":
pybind/mgr/dashboard/tests/test_iscsi.py:258: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py:261: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py: note: In member "test_rename_group" of class "IscsiTest":
pybind/mgr/dashboard/tests/test_iscsi.py:283: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py:286: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py: note: In member "test_add_client_to_group" of class "IscsiTest":
pybind/mgr/dashboard/tests/test_iscsi.py:296: error: "object" has no attribute "append"
pybind/mgr/dashboard/tests/test_iscsi.py:306: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py:309: error: "object" has no attribute "append"
pybind/mgr/dashboard/tests/test_iscsi.py:324: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py: note: In member "test_remove_client_from_group" of class "IscsiTest":
pybind/mgr/dashboard/tests/test_iscsi.py:334: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py:337: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py: note: In member "test_add_client_to_multiple_groups" of class "IscsiTest":
pybind/mgr/dashboard/tests/test_iscsi.py:358: error: "object" has no attribute "append"
pybind/mgr/dashboard/tests/test_iscsi.py:358: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py:359: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py: note: In member "instance" of class "IscsiClientMock":
pybind/mgr/dashboard/tests/test_iscsi.py:522: error: "None" has no attribute "gateway_name"
pybind/mgr/dashboard/tests/test_iscsi.py:523: error: "None" has no attribute "service_url"
pybind/mgr/dashboard/tests/test_iscsi.py: note: In member "create_target" of class "IscsiClientMock":
pybind/mgr/dashboard/tests/test_iscsi.py:576: error: Unsupported target for indexed assignment
pybind/mgr/dashboard/tests/test_iscsi.py: note: In member "create_gateway" of class "IscsiClientMock":
pybind/mgr/dashboard/tests/test_iscsi.py:595: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py: note: In member "delete_gateway" of class "IscsiClientMock":
pybind/mgr/dashboard/tests/test_iscsi.py:604: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py: note: In member "create_disk" of class "IscsiClientMock":
pybind/mgr/dashboard/tests/test_iscsi.py:612: error: Unsupported target for indexed assignment
pybind/mgr/dashboard/tests/test_iscsi.py:617: error: Argument 1 to "len" has incompatible type "object"; expected "Sized"
pybind/mgr/dashboard/tests/test_iscsi.py: note: In member "create_target_lun" of class "IscsiClientMock":
pybind/mgr/dashboard/tests/test_iscsi.py:621: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py:625: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py: note: In member "reconfigure_disk" of class "IscsiClientMock":
pybind/mgr/dashboard/tests/test_iscsi.py:630: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py:636: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py: note: In member "create_client" of class "IscsiClientMock":
pybind/mgr/dashboard/tests/test_iscsi.py:639: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py: note: In member "create_client_lun" of class "IscsiClientMock":
pybind/mgr/dashboard/tests/test_iscsi.py:654: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py: note: In member "create_client_auth" of class "IscsiClientMock":
pybind/mgr/dashboard/tests/test_iscsi.py:658: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py: note: In member "create_group" of class "IscsiClientMock":
pybind/mgr/dashboard/tests/test_iscsi.py:665: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py: note: In member "delete_group" of class "IscsiClientMock":
pybind/mgr/dashboard/tests/test_iscsi.py:675: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py: note: In member "delete_client" of class "IscsiClientMock":
pybind/mgr/dashboard/tests/test_iscsi.py:679: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py: note: In member "delete_target_lun" of class "IscsiClientMock":
pybind/mgr/dashboard/tests/test_iscsi.py:683: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py:685: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py: note: In member "delete_disk" of class "IscsiClientMock":
pybind/mgr/dashboard/tests/test_iscsi.py:689: error: "object" has no attribute "__delitem__"
pybind/mgr/dashboard/tests/test_iscsi.py: note: In member "delete_target" of class "IscsiClientMock":
pybind/mgr/dashboard/tests/test_iscsi.py:692: error: "object" has no attribute "__delitem__"
pybind/mgr/dashboard/tests/test_iscsi.py: note: In member "get_ip_addresses" of class "IscsiClientMock":
pybind/mgr/dashboard/tests/test_iscsi.py:700: error: Invalid index type "Optional[Any]" for "Dict[str, List[str]]"; expected type "str"
pybind/mgr/dashboard/tests/test_iscsi.py: note: In member "update_discoveryauth" of class "IscsiClientMock":
pybind/mgr/dashboard/tests/test_iscsi.py:713: error: Unsupported target for indexed assignment
pybind/mgr/dashboard/tests/test_iscsi.py:714: error: Unsupported target for indexed assignment
pybind/mgr/dashboard/tests/test_iscsi.py:715: error: Unsupported target for indexed assignment
pybind/mgr/dashboard/tests/test_iscsi.py:716: error: Unsupported target for indexed assignment
pybind/mgr/dashboard/tests/test_iscsi.py: note: In member "update_targetacl" of class "IscsiClientMock":
pybind/mgr/dashboard/tests/test_iscsi.py:719: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_iscsi.py: note: In member "update_targetauth" of class "IscsiClientMock":
pybind/mgr/dashboard/tests/test_iscsi.py:722: error: Value of type "object" is not indexable
pybind/mgr/dashboard/tests/test_notification.py: note: In member "setUpClass" of class "NotificationQueueTest":
pybind/mgr/dashboard/tests/test_notification.py:69: error: "Type[NotificationQueueTest]" has no attribute "listener"
pybind/mgr/dashboard/tests/test_notification.py: note: In member "setUp" of class "NotificationQueueTest":
pybind/mgr/dashboard/tests/test_notification.py:72: error: "NotificationQueueTest" has no attribute "listener"
pybind/mgr/dashboard/tests/test_notification.py: note: In member "tearDown" of class "NotificationQueueTest":
pybind/mgr/dashboard/tests/test_notification.py:75: error: "NotificationQueueTest" has no attribute "listener"
pybind/mgr/dashboard/tests/test_notification.py: note: In member "test_notifications" of class "NotificationQueueTest":
pybind/mgr/dashboard/tests/test_notification.py:89: error: "NotificationQueueTest" has no attribute "listener"
pybind/mgr/dashboard/tests/test_notification.py:90: error: "NotificationQueueTest" has no attribute "listener"
pybind/mgr/dashboard/tests/test_notification.py:91: error: "NotificationQueueTest" has no attribute "listener"
pybind/mgr/dashboard/tests/test_notification.py:92: error: "NotificationQueueTest" has no attribute "listener"
pybind/mgr/dashboard/tests/test_notification.py:95: error: "NotificationQueueTest" has no attribute "listener"
pybind/mgr/dashboard/tests/test_notification.py:96: error: "NotificationQueueTest" has no attribute "listener"
pybind/mgr/dashboard/tests/test_notification.py:97: error: "NotificationQueueTest" has no attribute "listener"
pybind/mgr/dashboard/tests/test_notification.py:98: error: "NotificationQueueTest" has no attribute "listener"
pybind/mgr/dashboard/tests/test_notification.py: note: In member "test_notifications2" of class "NotificationQueueTest":
pybind/mgr/dashboard/tests/test_notification.py:109: error: Incompatible types in assignment (expression has type "int", variable has type "str")
pybind/mgr/dashboard/tests/test_notification.py:111: error: "NotificationQueueTest" has no attribute "listener"
pybind/mgr/dashboard/tests/test_notification.py:112: error: "NotificationQueueTest" has no attribute "listener"
pybind/mgr/dashboard/tests/test_notification.py:114: error: "NotificationQueueTest" has no attribute "listener"
pybind/mgr/dashboard/tests/test_notification.py:116: error: "NotificationQueueTest" has no attribute "listener"
pybind/mgr/dashboard/tests/test_notification.py:117: error: "NotificationQueueTest" has no attribute "listener"
pybind/mgr/dashboard/tests/test_notification.py:119: error: "NotificationQueueTest" has no attribute "listener"
pybind/mgr/dashboard/tests/test_notification.py:120: error: "NotificationQueueTest" has no attribute "listener"
pybind/mgr/dashboard/tests/test_notification.py:121: error: "NotificationQueueTest" has no attribute "listener"
pybind/mgr/dashboard/tests/test_notification.py:122: error: "NotificationQueueTest" has no attribute "listener"
pybind/mgr/dashboard/tests/test_notification.py: note: In member "test_deregister" of class "NotificationQueueTest":
pybind/mgr/dashboard/tests/test_notification.py:129: error: "NotificationQueueTest" has no attribute "listener"
pybind/mgr/dashboard/tests/test_notification.py:130: error: "NotificationQueueTest" has no attribute "listener"
pybind/mgr/dashboard/tests/test_notification.py:133: error: "NotificationQueueTest" has no attribute "listener"
pybind/mgr/dashboard/tests/test_notification.py:137: error: "NotificationQueueTest" has no attribute "listener"
pybind/mgr/dashboard/tests/test_notification.py:138: error: "NotificationQueueTest" has no attribute "listener"
pybind/mgr/dashboard/tests/test_orchestrator.py:4: error: Name 'mock' already defined (by an import)
pybind/mgr/dashboard/tests/test_orchestrator.py: note: In member "setup_server" of class "OrchestratorControllerTest":
pybind/mgr/dashboard/tests/test_orchestrator.py:22: error: "Type[Orchestrator]" has no attribute "_cp_config"
pybind/mgr/dashboard/tests/test_orchestrator.py:23: error: "Type[OrchestratorInventory]" has no attribute "_cp_config"
pybind/mgr/dashboard/tests/test_orchestrator.py:24: error: "Type[OrchestratorService]" has no attribute "_cp_config"
pybind/mgr/dashboard/tests/test_osd.py:10: error: Incompatible import of "patch" (imported name has type "unittest.mock._patcher", local name has type "mock._patcher")
pybind/mgr/dashboard/tests/test_osd.py: note: In member "_gen_osdmap_tree_node" of class "OsdHelper":
pybind/mgr/dashboard/tests/test_osd.py:27: error: Incompatible default for argument "children" (default has type "None", argument has type "List[int]")
pybind/mgr/dashboard/tests/test_osd.py:27: error: Incompatible default for argument "update_data" (default has type "None", argument has type "Dict[str, Any]")
pybind/mgr/dashboard/tests/test_osd.py: note: In member "_gen_osd_stats" of class "OsdHelper":
pybind/mgr/dashboard/tests/test_osd.py:69: error: Incompatible default for argument "update_data" (default has type "None", argument has type "Dict[str, Any]")
pybind/mgr/dashboard/tests/test_osd.py: note: In member "gen_osdmap" of class "OsdHelper":
pybind/mgr/dashboard/tests/test_osd.py:180: error: Incompatible default for argument "ids" (default has type "None", argument has type "List[int]")
pybind/mgr/dashboard/tests/test_osd.py: note: In member "gen_osd_stats" of class "OsdHelper":
pybind/mgr/dashboard/tests/test_osd.py:185: error: Incompatible default for argument "ids" (default has type "None", argument has type "List[int]")
pybind/mgr/dashboard/tests/test_osd.py: note: In member "gen_osdmap_tree_nodes" of class "OsdHelper":
pybind/mgr/dashboard/tests/test_osd.py:190: error: Incompatible default for argument "ids" (default has type "None", argument has type "List[int]")
pybind/mgr/dashboard/tests/test_osd.py: note: In member "setup_server" of class "OsdTest":
pybind/mgr/dashboard/tests/test_osd.py:206: error: "Type[Osd]" has no attribute "_cp_config"
pybind/mgr/dashboard/tests/test_pool.py:7: error: Name 'mock' already defined (by an import)
pybind/mgr/dashboard/tests/test_pool.py: note: In member "set_progress" of class "MockTask":
pybind/mgr/dashboard/tests/test_pool.py:16: error: Need type annotation for 'percentages' (hint: "percentages: List[<type>] = ...")
pybind/mgr/dashboard/tests/test_pool.py: note: In class "MockTask":
pybind/mgr/dashboard/tests/test_pool.py:16: error: Need type annotation for 'percentages' (hint: "percentages: List[<type>] = ...")
pybind/mgr/dashboard/tests/test_pool.py: note: In member "setup_server" of class "PoolControllerTest":
pybind/mgr/dashboard/tests/test_pool.py:25: error: "Type[Task]" has no attribute "_cp_config"
pybind/mgr/dashboard/tests/test_pool.py:26: error: "Type[Pool]" has no attribute "_cp_config"
pybind/mgr/dashboard/tests/test_pool.py: note: In member "test_wait_for_pgs_with_waiting" of class "PoolControllerTest":
pybind/mgr/dashboard/tests/test_pool.py:80: error: Cannot assign to a method
pybind/mgr/dashboard/tests/test_pool.py:81: error: "Callable[[], Any]" has no attribute "return_value"
pybind/mgr/dashboard/tests/test_pool.py:122: error: Cannot assign to a method
pybind/mgr/dashboard/tests/test_prometheus.py:6: error: Incompatible import of "patch" (imported name has type "unittest.mock._patcher", local name has type "mock._patcher")
pybind/mgr/dashboard/tests/test_prometheus.py: note: In member "setup_server" of class "PrometheusControllerTest":
pybind/mgr/dashboard/tests/test_prometheus.py:26: error: "Callable[[str, Any], Any]" has no attribute "side_effect"
pybind/mgr/dashboard/tests/test_prometheus.py:27: error: "Type[Prometheus]" has no attribute "_cp_config"
pybind/mgr/dashboard/tests/test_prometheus.py:28: error: "Type[PrometheusNotifications]" has no attribute "_cp_config"
pybind/mgr/dashboard/tests/test_rbd_mirroring.py:7: error: Name 'mock' already defined (by an import)
pybind/mgr/dashboard/tests/test_rbd_mirroring.py: note: In member "setup_server" of class "RbdMirroringSummaryControllerTest":
pybind/mgr/dashboard/tests/test_rbd_mirroring.py:54: error: "Callable[[], List[Dict[str, Any]]]" has no attribute "return_value"
pybind/mgr/dashboard/tests/test_rbd_mirroring.py:55: error: Cannot assign to a method
pybind/mgr/dashboard/tests/test_rbd_mirroring.py:56: error: "Callable[[str, str], Optional[Dict[Any, Any]]]" has no attribute "return_value"
pybind/mgr/dashboard/tests/test_rbd_mirroring.py:57: error: "Callable[[str], Any]" has no attribute "side_effect"
pybind/mgr/dashboard/tests/test_rbd_mirroring.py:67: error: Property "url_prefix" defined in "CherryPyConfig" is read-only
pybind/mgr/dashboard/tests/test_rbd_mirroring.py:68: error: "Callable[[], str]" has no attribute "return_value"
pybind/mgr/dashboard/tests/test_rbd_mirroring.py:69: error: "Callable[[], Any]" has no attribute "return_value"
pybind/mgr/dashboard/tests/test_rbd_mirroring.py:70: error: Property "version" defined in "MgrModule" is read-only
pybind/mgr/dashboard/tests/test_rbd_mirroring.py:75: error: "Callable[[], Any]" has no attribute "return_value"
pybind/mgr/dashboard/tests/test_rbd_mirroring.py:78: error: "Type[RbdMirroringSummary]" has no attribute "_cp_config"
pybind/mgr/dashboard/tests/test_rbd_mirroring.py:79: error: "Type[Summary]" has no attribute "_cp_config"
pybind/mgr/dashboard/tests/test_rest_client.py:8: error: Incompatible import of "patch" (imported name has type "unittest.mock._patcher", local name has type "mock._patcher")
pybind/mgr/dashboard/tests/test_rest_client.py: note: In member "setUp" of class "RestClientTest":
pybind/mgr/dashboard/tests/test_rest_client.py:18: error: "Callable[[str, Any], Any]" has no attribute "side_effect"
pybind/mgr/dashboard/tests/test_rest_client.py: note: In member "setUpClass" of class "RestClientDoRequestTest":
pybind/mgr/dashboard/tests/test_rest_client.py:56: error: "Type[RestClientDoRequestTest]" has no attribute "mock_requests"
pybind/mgr/dashboard/tests/test_rest_client.py:57: error: "Type[RestClientDoRequestTest]" has no attribute "rest_client"
pybind/mgr/dashboard/tests/test_rest_client.py: note: In member "test_do_request_exception_no_args" of class "RestClientDoRequestTest":
pybind/mgr/dashboard/tests/test_rest_client.py:60: error: "RestClientDoRequestTest" has no attribute "mock_requests"
pybind/mgr/dashboard/tests/test_rest_client.py:62: error: "RestClientDoRequestTest" has no attribute "rest_client"
pybind/mgr/dashboard/tests/test_rest_client.py:66: error: "RequestException" has no attribute "message"
pybind/mgr/dashboard/tests/test_rest_client.py: note: In member "test_do_request_exception_args_1" of class "RestClientDoRequestTest":
pybind/mgr/dashboard/tests/test_rest_client.py:69: error: "RestClientDoRequestTest" has no attribute "mock_requests"
pybind/mgr/dashboard/tests/test_rest_client.py:72: error: "RestClientDoRequestTest" has no attribute "rest_client"
pybind/mgr/dashboard/tests/test_rest_client.py:76: error: "RequestException" has no attribute "message"
pybind/mgr/dashboard/tests/test_rest_client.py: note: In member "test_do_request_exception_args_2" of class "RestClientDoRequestTest":
pybind/mgr/dashboard/tests/test_rest_client.py:79: error: "RestClientDoRequestTest" has no attribute "mock_requests"
pybind/mgr/dashboard/tests/test_rest_client.py:82: error: "RestClientDoRequestTest" has no attribute "rest_client"
pybind/mgr/dashboard/tests/test_rest_client.py:86: error: "RequestException" has no attribute "message"
pybind/mgr/dashboard/tests/test_rest_client.py: note: In member "test_do_request_exception_nested_args" of class "RestClientDoRequestTest":
pybind/mgr/dashboard/tests/test_rest_client.py:89: error: "RestClientDoRequestTest" has no attribute "mock_requests"
pybind/mgr/dashboard/tests/test_rest_client.py:93: error: "RestClientDoRequestTest" has no attribute "rest_client"
pybind/mgr/dashboard/tests/test_rest_client.py:98: error: "RequestException" has no attribute "message"
pybind/mgr/dashboard/tests/test_rest_tasks.py:9: error: Name 'mock' already defined (by an import)
pybind/mgr/dashboard/tests/test_rest_tasks.py: note: In member "setup_server" of class "TaskControllerTest":
pybind/mgr/dashboard/tests/test_rest_tasks.py:58: error: "Callable[[], Any]" has no attribute "return_value"
pybind/mgr/dashboard/tests/test_rest_tasks.py:62: error: "Type[TaskTest]" has no attribute "_cp_config"
pybind/mgr/dashboard/tests/test_rest_tasks.py:63: error: "Type[Task]" has no attribute "_cp_config"
pybind/mgr/dashboard/tests/test_rgw.py:4: error: Name 'mock' already defined (by an import)
pybind/mgr/dashboard/tests/test_rgw.py: note: In member "setup_server" of class "RgwUserControllerTestCase":
pybind/mgr/dashboard/tests/test_rgw.py:13: error: "Type[RgwUser]" has no attribute "_cp_config"
pybind/mgr/dashboard/tests/test_rgw_client.py:7: error: Incompatible import of "patch" (imported name has type "unittest.mock._patcher", local name has type "mock._patcher")
pybind/mgr/dashboard/tests/test_rgw_client.py: note: In member "setUpClass" of class "RgwClientTest":
pybind/mgr/dashboard/tests/test_rgw_client.py:31: error: "Callable[[str, Any], Any]" has no attribute "side_effect"
pybind/mgr/dashboard/tests/test_rgw_client.py:32: error: "Callable[[str, Any], None]" has no attribute "side_effect"
pybind/mgr/dashboard/tests/test_settings.py: note: In member "setUpClass" of class "SettingsTest":
pybind/mgr/dashboard/tests/test_settings.py:16: error: "Type[Options]" has no attribute "GRAFANA_API_HOST"
pybind/mgr/dashboard/tests/test_settings.py:17: error: "Type[Options]" has no attribute "GRAFANA_API_PORT"
pybind/mgr/dashboard/tests/test_settings.py:18: error: "Type[Options]" has no attribute "GRAFANA_ENABLED"
pybind/mgr/dashboard/tests/test_settings.py: note: In member "setup_server" of class "SettingsControllerTest":
pybind/mgr/dashboard/tests/test_settings.py:103: error: "Type[Settings]" has no attribute "_cp_config"
pybind/mgr/dashboard/tests/test_task.py: note: In member "init" of class "CallbackExecutor":
pybind/mgr/dashboard/tests/test_task.py:25: error: Item "None" of "Optional[Any]" has no attribute "fn_args"
pybind/mgr/dashboard/tests/test_task.py:26: error: Item "None" of "Optional[Any]" has no attribute "fn_args"
pybind/mgr/dashboard/tests/test_task.py: note: In member "callback" of class "CallbackExecutor":
pybind/mgr/dashboard/tests/test_task.py:29: error: Item "None" of "Optional[Any]" has no attribute "set_progress"
pybind/mgr/dashboard/tests/test_task.py: note: In class "TaskTest":
pybind/mgr/dashboard/tests/test_task.py:100: error: Need type annotation for 'TASK_FINISHED_MAP'
pybind/mgr/dashboard/tests/test_tools.py:11: error: Incompatible import of "patch" (imported name has type "unittest.mock._patcher", local name has type "mock._patcher")
pybind/mgr/dashboard/tests/test_tools.py: note: In member "list" of class "FooResource":
pybind/mgr/dashboard/tests/test_tools.py:23: error: Need type annotation for 'elems' (hint: "elems: List[<type>] = ...")
pybind/mgr/dashboard/tests/test_tools.py: note: In member "create" of class "FooResource":
pybind/mgr/dashboard/tests/test_tools.py:23: error: Need type annotation for 'elems' (hint: "elems: List[<type>] = ...")
pybind/mgr/dashboard/tests/test_tools.py: note: In member "delete" of class "FooResource":
pybind/mgr/dashboard/tests/test_tools.py:23: error: Need type annotation for 'elems' (hint: "elems: List[<type>] = ...")
pybind/mgr/dashboard/tests/test_tools.py: note: In member "bulk_delete" of class "FooResource":
pybind/mgr/dashboard/tests/test_tools.py:23: error: Need type annotation for 'elems' (hint: "elems: List[<type>] = ...")
pybind/mgr/dashboard/tests/test_tools.py: note: In member "set" of class "FooResource":
pybind/mgr/dashboard/tests/test_tools.py:23: error: Need type annotation for 'elems' (hint: "elems: List[<type>] = ...")
pybind/mgr/dashboard/tests/test_tools.py: note: In class "FooResource":
pybind/mgr/dashboard/tests/test_tools.py:23: error: Need type annotation for 'elems' (hint: "elems: List[<type>] = ...")
pybind/mgr/dashboard/tools.py: note: In member "__call__" of class "ViewCache":
pybind/mgr/dashboard/tools.py:257: error: "Callable[[VarArg(Any), KwArg(Any)], Any]" has no attribute "reset"
pybind/mgr/dashboard/tools.py: note: In class "NotificationQueue":
pybind/mgr/dashboard/tools.py:267: error: Need type annotation for '_listeners'
pybind/mgr/dashboard/tools.py:270: error: Need type annotation for '_queue'
pybind/mgr/dashboard/tools.py: note: In member "_handle_finished_task" of class "TaskManager":
pybind/mgr/dashboard/tools.py:412: error: Need type annotation for '_executing_tasks' (hint: "_executing_tasks: Set[<type>] = ...")
pybind/mgr/dashboard/tools.py: note: In member "run" of class "TaskManager":
pybind/mgr/dashboard/tools.py:412: error: Need type annotation for '_executing_tasks' (hint: "_executing_tasks: Set[<type>] = ...")
pybind/mgr/dashboard/tools.py: note: In member "list" of class "TaskManager":
pybind/mgr/dashboard/tools.py:412: error: Need type annotation for '_executing_tasks' (hint: "_executing_tasks: Set[<type>] = ...")
pybind/mgr/dashboard/tools.py: note: In class "TaskManager":
pybind/mgr/dashboard/tools.py:412: error: Need type annotation for '_executing_tasks' (hint: "_executing_tasks: Set[<type>] = ...")
pybind/mgr/dashboard/tools.py: note: In member "_handle_finished_task" of class "TaskManager":
pybind/mgr/dashboard/tools.py:413: error: Need type annotation for '_finished_tasks' (hint: "_finished_tasks: List[<type>] = ...")
pybind/mgr/dashboard/tools.py: note: In member "_cleanup_old_tasks" of class "TaskManager":
pybind/mgr/dashboard/tools.py:413: error: Need type annotation for '_finished_tasks' (hint: "_finished_tasks: List[<type>] = ...")
pybind/mgr/dashboard/tools.py: note: In member "list" of class "TaskManager":
pybind/mgr/dashboard/tools.py:413: error: Need type annotation for '_finished_tasks' (hint: "_finished_tasks: List[<type>] = ...")
pybind/mgr/dashboard/tools.py: note: In class "TaskManager":
pybind/mgr/dashboard/tools.py:413: error: Need type annotation for '_finished_tasks' (hint: "_finished_tasks: List[<type>] = ...")
pybind/mgr/dashboard/tools.py: note: In member "start" of class "TaskExecutor":
pybind/mgr/dashboard/tools.py:525: error: Item "None" of "Optional[Any]" has no attribute "fn"
pybind/mgr/dashboard/tools.py:525: error: Item "None" of "Optional[Any]" has no attribute "fn_args"
pybind/mgr/dashboard/tools.py:525: error: Item "None" of "Optional[Any]" has no attribute "fn_kwargs"
pybind/mgr/dashboard/tools.py: note: In member "finish" of class "TaskExecutor":
pybind/mgr/dashboard/tools.py:535: error: Item "None" of "Optional[Any]" has no attribute "_complete"
pybind/mgr/dashboard/tools.py: note: In member "_run" of class "ThreadedExecutor":
pybind/mgr/dashboard/tools.py:552: error: Item "None" of "Optional[Any]" has no attribute "fn"
pybind/mgr/dashboard/tools.py:552: error: Item "None" of "Optional[Any]" has no attribute "fn_args"
pybind/mgr/dashboard/tools.py:552: error: Item "None" of "Optional[Any]" has no attribute "fn_kwargs"
pybind/mgr/dashboard/tools.py: note: In member "_complete" of class "Task":
pybind/mgr/dashboard/tools.py:616: error: Unsupported operand types for - ("float" and "None")
pybind/mgr/dashboard/tools.py:616: note: Right operand is of type "Optional[Any]"
pybind/mgr/dashboard/tools.py:616: error: Incompatible types in assignment (expression has type "Union[Any, float]", variable has type "int")
pybind/mgr/dashboard/tools.py: note: In member "inc_progress" of class "Task":
pybind/mgr/dashboard/tools.py:650: error: Unsupported operand types for + ("None" and "int")
pybind/mgr/dashboard/tools.py:650: note: Left operand is of type "Optional[Any]"
pybind/mgr/dashboard/tools.py: note: In function "json_str_to_object":
pybind/mgr/dashboard/tools.py:801: error: "str" has no attribute "decode"; maybe "encode"?
pybind/mgr/dashboard/tools.py:801: error: Incompatible types in assignment (expression has type "str", variable has type "bytes")
pybind/mgr/dashboard/tools.py: note: In function "get_request_body_params":
pybind/mgr/dashboard/tools.py:826: error: Need type annotation for 'params' (hint: "params: Dict[<type>, <type>] = ...")
pybind/mgr/deepsea/module.py: note: In member "get_inventory" of class "DeepSeaOrchestrator":
pybind/mgr/deepsea/module.py:166: error: Need type annotation for 'nodes' (hint: "nodes: List[<type>] = ...")
pybind/mgr/deepsea/module.py:167: error: Need type annotation for 'roles' (hint: "roles: List[<type>] = ...")
pybind/mgr/deepsea/module.py: note: In function "describe_service":
pybind/mgr/deepsea/module.py:257: error: Argument 1 to "OutdatableData" has incompatible type "List[Any]"; expected "Optional[Dict[Any, Any]]"
pybind/mgr/devicehealth/module.py: note: In member "__init__" of class "Module":
pybind/mgr/devicehealth/module.py:143: error: Argument 2 to "setattr" has incompatible type "object"; expected "str"
pybind/mgr/devicehealth/module.py: note: In member "config_notify" of class "Module":
pybind/mgr/devicehealth/module.py:220: error: Argument 2 to "setattr" has incompatible type "object"; expected "str"
pybind/mgr/devicehealth/module.py:221: error: Argument 1 to "get_module_option" of "MgrModule" has incompatible type "object"; expected "str"
pybind/mgr/devicehealth/module.py:222: error: Argument 2 to "getattr" has incompatible type "object"; expected "str"
pybind/mgr/devicehealth/module.py: note: In member "serve" of class "Module":
pybind/mgr/devicehealth/module.py:238: error: Module has no attribute "enable_monitoring"
pybind/mgr/devicehealth/module.py:247: error: Module has no attribute "scrape_frequency"
pybind/mgr/devicehealth/module.py:266: error: Module has no attribute "sleep_interval"
pybind/mgr/devicehealth/module.py: note: In member "open_connection" of class "Module":
pybind/mgr/devicehealth/module.py:280: error: Module has no attribute "pool_name"
pybind/mgr/devicehealth/module.py:286: error: Module has no attribute "pool_name"
pybind/mgr/devicehealth/module.py:292: error: Module has no attribute "pool_name"
pybind/mgr/devicehealth/module.py:304: error: Module has no attribute "pool_name"
pybind/mgr/devicehealth/module.py:310: error: Module has no attribute "pool_name"
pybind/mgr/devicehealth/module.py: note: In member "scrape_all" of class "Module":
pybind/mgr/devicehealth/module.py:327: error: Need type annotation for 'did_device' (hint: "did_device: Dict[<type>, <type>] = ...")
pybind/mgr/devicehealth/module.py: note: In member "put_device_metrics" of class "Module":
pybind/mgr/devicehealth/module.py:389: error: Module has no attribute "retention_period"
pybind/mgr/devicehealth/module.py: note: In member "check_health" of class "Module":
pybind/mgr/devicehealth/module.py:465: error: Module has no attribute "mark_out_threshold"
pybind/mgr/devicehealth/module.py:466: error: Module has no attribute "warn_threshold"
pybind/mgr/devicehealth/module.py:468: error: Need type annotation for 'health_warnings'
pybind/mgr/devicehealth/module.py:498: error: Module has no attribute "self_heal"
pybind/mgr/devicehealth/module.py:564: error: Dict entry 2 has incompatible type "str": "int"; expected "str": "Sequence[str]"
pybind/mgr/devicehealth/module.py:567: error: Argument 1 to "set_health_checks" of "MgrModule" has incompatible type "Dict[str, Dict[str, Sequence[str]]]"; expected "Dict[str, Dict[str, Union[str, List[Any]]]]"
pybind/mgr/devicehealth/module.py: note: In member "mark_out_etc" of class "Module":
pybind/mgr/devicehealth/module.py:605: error: Not all arguments converted during string formatting
pybind/mgr/diskprediction_cloud/agent/metrics/__init__.py: note: In member "_run" of class "MetricsAgent":
pybind/mgr/diskprediction_cloud/agent/metrics/__init__.py:42: error: Need type annotation for 'result' (hint: "result: Dict[<type>, <type>] = ...")
pybind/mgr/diskprediction_cloud/agent/metrics/db_relay.py: note: In member "__init__" of class "BaseDP":
pybind/mgr/diskprediction_cloud/agent/metrics/db_relay.py:13: error: Need type annotation for '_fields' (hint: "_fields: List[<type>] = ...")
pybind/mgr/diskprediction_cloud/agent/metrics/db_relay.py: note: In class "BaseDP":
pybind/mgr/diskprediction_cloud/agent/metrics/db_relay.py:13: error: Need type annotation for '_fields' (hint: "_fields: List[<type>] = ...")
pybind/mgr/diskprediction_cloud/agent/metrics/db_relay.py: note: In member "_init_pools" of class "DBRelayAgent":
pybind/mgr/diskprediction_cloud/agent/metrics/db_relay.py:410: error: Need type annotation for 'osds' (hint: "osds: List[<type>] = ...")
pybind/mgr/diskprediction_cloud/agent/metrics/db_relay.py: note: In member "_init_fs" of class "DBRelayAgent":
pybind/mgr/diskprediction_cloud/agent/metrics/db_relay.py:469: error: Need type annotation for 'mds_hostnames' (hint: "mds_hostnames: List[<type>] = ...")
pybind/mgr/diskprediction_cloud/agent/metrics/sai_disk_smart.py: note: In member "_collect_data" of class "SAIDiskSmartAgent":
pybind/mgr/diskprediction_cloud/agent/metrics/sai_disk_smart.py:69: error: Unsupported target for indexed assignment
pybind/mgr/diskprediction_cloud/agent/metrics/sai_disk_smart.py:70: error: Unsupported target for indexed assignment
pybind/mgr/diskprediction_cloud/agent/metrics/sai_disk_smart.py:71: error: Unsupported target for indexed assignment
pybind/mgr/diskprediction_cloud/agent/metrics/sai_disk_smart.py:72: error: Unsupported target for indexed assignment
pybind/mgr/diskprediction_cloud/agent/metrics/sai_disk_smart.py:73: error: Unsupported target for indexed assignment
pybind/mgr/diskprediction_cloud/agent/metrics/sai_disk_smart.py:74: error: Unsupported target for indexed assignment
pybind/mgr/diskprediction_cloud/agent/metrics/sai_disk_smart.py:75: error: Unsupported target for indexed assignment
pybind/mgr/diskprediction_cloud/agent/metrics/sai_disk_smart.py:76: error: Unsupported target for indexed assignment
pybind/mgr/diskprediction_cloud/agent/metrics/sai_disk_smart.py:77: error: Unsupported target for indexed assignment
pybind/mgr/diskprediction_cloud/agent/metrics/sai_disk_smart.py:78: error: Unsupported target for indexed assignment
pybind/mgr/diskprediction_cloud/agent/metrics/sai_disk_smart.py:79: error: Unsupported target for indexed assignment
pybind/mgr/diskprediction_cloud/agent/metrics/sai_disk_smart.py:80: error: Unsupported target for indexed assignment
pybind/mgr/diskprediction_cloud/agent/metrics/sai_disk_smart.py:81: error: Unsupported target for indexed assignment
pybind/mgr/diskprediction_cloud/agent/metrics/sai_disk_smart.py:82: error: Unsupported target for indexed assignment
pybind/mgr/diskprediction_cloud/agent/metrics/sai_disk_smart.py:83: error: Unsupported target for indexed assignment
pybind/mgr/diskprediction_cloud/agent/metrics/sai_disk_smart.py:89: error: Unsupported target for indexed assignment
pybind/mgr/diskprediction_cloud/agent/metrics/sai_disk_smart.py:91: error: Unsupported target for indexed assignment
pybind/mgr/diskprediction_cloud/agent/metrics/sai_host.py: note: In member "_collect_data" of class "SAIHostAgent":
pybind/mgr/diskprediction_cloud/agent/metrics/sai_host.py:36: error: Need type annotation for 'hosts' (hint: "hosts: Set[<type>] = ...")
pybind/mgr/diskprediction_cloud/agent/predictor.py: note: In member "_get_cloud_prediction_result" of class "PredictAgent":
pybind/mgr/diskprediction_cloud/agent/predictor.py:36: error: Need type annotation for 'result' (hint: "result: Dict[<type>, <type>] = ...")
pybind/mgr/diskprediction_cloud/agent/predictor.py:38: error: Item "None" of "Optional[Any]" has no attribute "query_info"
pybind/mgr/diskprediction_cloud/common/client_pb2.py:1394: error: "GeneratedProtocolMessageType" has no attribute "MapValueEntry"
pybind/mgr/diskprediction_cloud/common/client_pb2.py:1409: error: "GeneratedProtocolMessageType" has no attribute "PhoneNumber"
pybind/mgr/diskprediction_cloud/common/client_pb2.py:1424: error: "GeneratedProtocolMessageType" has no attribute "File"
pybind/mgr/diskprediction_cloud/common/client_pb2.py:1561: error: "Descriptor" has no attribute "_options"
pybind/mgr/diskprediction_cloud/common/clusterdata.py: note: In member "get_object_pg_info" of class "ClusterAPI":
pybind/mgr/diskprediction_cloud/common/clusterdata.py:200: error: Need type annotation for 'data_jaon' (hint: "data_jaon: Dict[<type>, <type>] = ...")
pybind/mgr/diskprediction_cloud/common/clusterdata.py: note: In member "get_osd_smart" of class "ClusterAPI":
pybind/mgr/diskprediction_cloud/common/clusterdata.py:332: error: Need type annotation for 'osd_devices' (hint: "osd_devices: List[<type>] = ...")
pybind/mgr/diskprediction_cloud/common/clusterdata.py: note: In member "get_device_health" of class "ClusterAPI":
pybind/mgr/diskprediction_cloud/common/clusterdata.py:360: error: Need type annotation for 'health_data' (hint: "health_data: Dict[<type>, <type>] = ...")
pybind/mgr/diskprediction_cloud/common/clusterdata.py: note: In member "get_osd_device_id" of class "ClusterAPI":
pybind/mgr/diskprediction_cloud/common/clusterdata.py:381: error: Need type annotation for 'result' (hint: "result: Dict[<type>, <type>] = ...")
pybind/mgr/diskprediction_cloud/common/clusterdata.py: note: In member "get_pgs_up_by_poolid" of class "ClusterAPI":
pybind/mgr/diskprediction_cloud/common/clusterdata.py:460: error: Need type annotation for 'pgs' (hint: "pgs: Dict[<type>, <type>] = ...")
pybind/mgr/diskprediction_cloud/common/grpcclient.py: note: In member "_send_metrics" of class "GRPcClient":
pybind/mgr/diskprediction_cloud/common/grpcclient.py:86: error: Need type annotation for 'status_info' (hint: "status_info: Dict[<type>, <type>] = ...")
pybind/mgr/diskprediction_cloud/common/grpcclient.py:110: error: Name 'long' is not defined
pybind/mgr/diskprediction_cloud/module.py:15: error: Module 'string' has no attribute 'maketrans'
pybind/mgr/diskprediction_cloud/module.py: note: In member "serve" of class "Module":
pybind/mgr/diskprediction_cloud/module.py:397: error: Invalid conversion specifier in format string: unmatched {
pybind/mgr/diskprediction_cloud/module.py:407: error: Module has no attribute "sleep_interval"
pybind/mgr/diskprediction_cloud/task.py: note: In member "_run" of class "AgentRunner":
pybind/mgr/diskprediction_cloud/task.py:23: error: Need type annotation for 'agents' (hint: "agents: List[<type>] = ...")
pybind/mgr/diskprediction_cloud/task.py: note: In class "AgentRunner":
pybind/mgr/diskprediction_cloud/task.py:23: error: Need type annotation for 'agents' (hint: "agents: List[<type>] = ...")
pybind/mgr/diskprediction_local/module.py: note: In class "Module":
pybind/mgr/diskprediction_local/module.py:30: error: Need type annotation for 'COMMANDS' (hint: "COMMANDS: List[<type>] = ...")
pybind/mgr/diskprediction_local/module.py: note: In member "serve" of class "Module":
pybind/mgr/diskprediction_local/module.py:86: error: Module has no attribute "predict_interval"
pybind/mgr/diskprediction_local/module.py:103: error: Module has no attribute "sleep_interval"
pybind/mgr/diskprediction_local/module.py: note: In member "_predict_life_expentancy" of class "Module":
pybind/mgr/diskprediction_local/module.py:127: error: Need type annotation for 'health_data' (hint: "health_data: Dict[<type>, <type>] = ...")
pybind/mgr/diskprediction_local/module.py: note: In member "predict_all_devices" of class "Module":
pybind/mgr/diskprediction_local/module.py:242: error: Incompatible types in assignment (expression has type "None", variable has type "int")
pybind/mgr/diskprediction_local/module.py:243: error: Incompatible types in assignment (expression has type "None", variable has type "int")
pybind/mgr/hello/module.py: note: In member "config_notify" of class "Hello":
pybind/mgr/hello/module.py:85: error: Argument 2 to "setattr" has incompatible type "object"; expected "str"
pybind/mgr/hello/module.py:86: error: Argument 1 to "get_module_option" of "MgrModule" has incompatible type "object"; expected "str"
pybind/mgr/hello/module.py:88: error: Argument 2 to "getattr" has incompatible type "object"; expected "str"
pybind/mgr/hello/module.py:90: error: Incompatible types in assignment (expression has type "str", variable has type "Dict[str, object]")
pybind/mgr/hello/module.py:92: error: Argument 2 to "setattr" has incompatible type "Dict[str, object]"; expected "str"
pybind/mgr/hello/module.py:93: error: Argument 1 to "get_ceph_option" of "MgrModule" has incompatible type "Dict[str, object]"; expected "str"
pybind/mgr/hello/module.py:94: error: Argument 2 to "getattr" has incompatible type "Dict[str, object]"; expected "str"
pybind/mgr/hello/module.py: note: In member "serve" of class "Hello":
pybind/mgr/hello/module.py:135: error: "Hello" has no attribute "mgr_tick_period"
pybind/mgr/influx/module.py: note: In member "config_keys" of class "Module":
pybind/mgr/influx/module.py:69: error: Value of type "object" is not indexable
pybind/mgr/influx/module.py:69: error: "object" has no attribute "get"
pybind/mgr/influx/module.py: note: In member "__init__" of class "Module":
pybind/mgr/influx/module.py:97: error: Need type annotation for 'queue'
pybind/mgr/influx/module.py: note: In member "get_daemon_stats" of class "Module":
pybind/mgr/influx/module.py:269: error: Value of type "Optional[Dict[str, Any]]" is not indexable
pybind/mgr/insights/health.py: note: In member "__init__" of class "HealthCheckAccumulator":
pybind/mgr/insights/health.py:26: error: Need type annotation for '_checks'
pybind/mgr/insights/module.py: note: In member "serve" of class "Module":
pybind/mgr/insights/module.py:65: error: Item "None" of "Optional[Any]" has no attribute "expired"
pybind/mgr/insights/module.py:76: error: Item "None" of "Optional[Any]" has no attribute "add"
pybind/mgr/insights/module.py: note: In member "_health_maybe_flush" of class "Module":
pybind/mgr/insights/module.py:103: error: Item "None" of "Optional[Any]" has no attribute "need_flush"
pybind/mgr/insights/module.py:105: error: Item "None" of "Optional[Any]" has no attribute "need_flush"
pybind/mgr/insights/module.py:106: error: Item "None" of "Optional[Any]" has no attribute "key"
pybind/mgr/insights/module.py:109: error: Item "None" of "Optional[Any]" has no attribute "health"
pybind/mgr/insights/module.py:118: error: Item "None" of "Optional[Any]" has no attribute "mark_flushed"
pybind/mgr/insights/module.py: note: In member "do_report" of class "Module":
pybind/mgr/insights/module.py:242: error: Need type annotation for 'health_check_details' (hint: "health_check_details: List[<type>] = ...")
pybind/mgr/insights/module.py:280: error: Dict entry 0 has incompatible type "str": "List[Any]"; expected "str": "Dict[str, Any]"
pybind/mgr/insights/module.py: note: In member "do_prune_health" of class "Module":
pybind/mgr/insights/module.py:298: error: Name 'errno' is not defined
pybind/mgr/insights/module.py: note: In member "testing_set_now_time_offset" of class "Module":
pybind/mgr/insights/module.py:311: error: Name 'long' is not defined
pybind/mgr/insights/module.py:314: error: Incompatible types in assignment (expression has type "timedelta", variable has type "None")
pybind/mgr/insights/module.py: note: In member "handle_command" of class "Module":
pybind/mgr/insights/module.py:323: error: Name 'cmd' is not defined
pybind/mgr/insights/tests/test_health.py: note: In member "test_empty_slot" of class "HealthHistoryTest":
pybind/mgr/insights/tests/test_health.py:192: error: Cannot assign to a method
pybind/mgr/insights/tests/test_health.py: note: In member "test_expires" of class "HealthHistoryTest":
pybind/mgr/insights/tests/test_health.py:204: error: Cannot assign to a method
pybind/mgr/insights/tests/test_health.py:210: error: Cannot assign to a method
pybind/mgr/insights/tests/test_health.py: note: In member "test_need_flush" of class "HealthHistoryTest":
pybind/mgr/insights/tests/test_health.py:216: error: Cannot assign to a method
pybind/mgr/insights/tests/test_health.py:232: error: Cannot assign to a method
pybind/mgr/insights/tests/test_health.py: note: In member "test_need_flush_edge" of class "HealthHistoryTest":
pybind/mgr/insights/tests/test_health.py:250: error: Cannot assign to a method
pybind/mgr/insights/tests/test_health.py:270: error: Cannot assign to a method
pybind/mgr/iostat/module.py: note: In member "handle_command" of class "Module":
pybind/mgr/iostat/module.py:43: error: Incompatible types in assignment (expression has type "float", variable has type "int")
pybind/mgr/iostat/module.py:44: error: Incompatible types in assignment (expression has type "float", variable has type "int")
pybind/mgr/iostat/module.py:50: error: Incompatible types in assignment (expression has type "float", variable has type "int")
pybind/mgr/iostat/module.py:51: error: Incompatible types in assignment (expression has type "float", variable has type "int")
pybind/mgr/iostat/module.py:67: error: List item 3 has incompatible type "int"; expected "str"
pybind/mgr/iostat/module.py:68: error: List item 4 has incompatible type "int"; expected "str"
pybind/mgr/iostat/module.py:69: error: List item 5 has incompatible type "int"; expected "str"
pybind/mgr/k8sevents/module.py:41: error: Name 'urlparse' already defined (possibly by an import)
pybind/mgr/k8sevents/module.py:56: error: Name 'queue' already defined (by an import)
pybind/mgr/k8sevents/module.py:59: error: Need type annotation for 'event_queue'
pybind/mgr/k8sevents/module.py: note: In member "__init__" of class "NamespaceWatcher":
pybind/mgr/k8sevents/module.py:272: error: Need type annotation for 'events'
pybind/mgr/k8sevents/module.py: note: In member "run" of class "NamespaceWatcher":
pybind/mgr/k8sevents/module.py:338: error: Item "None" of "Optional[Type[BaseException]]" has no attribute "__name__"
pybind/mgr/k8sevents/module.py: note: In member "run" of class "EventProcessor":
pybind/mgr/k8sevents/module.py:648: error: Item "None" of "Optional[Type[BaseException]]" has no attribute "__name__"
pybind/mgr/k8sevents/module.py: note: In member "fetch_servers" of class "CephConfigWatcher":
pybind/mgr/k8sevents/module.py:729: error: Need type annotation for 'services' (hint: "services: Dict[<type>, <type>] = ...")
pybind/mgr/k8sevents/module.py: note: In member "_check_osds" of class "CephConfigWatcher":
pybind/mgr/k8sevents/module.py:826: error: Need type annotation for 'before_osds' (hint: "before_osds: List[<type>] = ...")
pybind/mgr/k8sevents/module.py:830: error: Need type annotation for 'after_osds' (hint: "after_osds: List[<type>] = ...")
pybind/mgr/k8sevents/module.py: note: In member "get_changes" of class "CephConfigWatcher":
pybind/mgr/k8sevents/module.py:926: error: Need type annotation for 'changes' (hint: "changes: List[<type>] = ...")
pybind/mgr/k8sevents/module.py: note: In member "run" of class "CephConfigWatcher":
pybind/mgr/k8sevents/module.py:982: error: Item "None" of "Optional[Type[BaseException]]" has no attribute "__name__"
pybind/mgr/k8sevents/module.py: note: In member "config_notify" of class "Module":
pybind/mgr/k8sevents/module.py:1081: error: Argument 2 to "setattr" has incompatible type "object"; expected "str"
pybind/mgr/k8sevents/module.py:1082: error: Argument 1 to "get_module_option" of "MgrModule" has incompatible type "object"; expected "str"
pybind/mgr/k8sevents/module.py: note: In member "show_status" of class "Module":
pybind/mgr/k8sevents/module.py:1183: error: Item "None" of "Optional[Any]" has no attribute "events"
pybind/mgr/k8sevents/module.py:1184: error: Item "None" of "Optional[Any]" has no attribute "events"
pybind/mgr/k8sevents/module.py: note: In member "handle_command" of class "Module":
pybind/mgr/k8sevents/module.py:1311: error: Item "None" of "Optional[Any]" has no attribute "events"
pybind/mgr/k8sevents/module.py:1314: error: Item "None" of "Optional[Any]" has no attribute "events"
pybind/mgr/k8sevents/module.py: note: In member "load_kubernetes_config" of class "Module":
pybind/mgr/k8sevents/module.py:1353: error: Unsupported operand types for + ("str" and "None")
pybind/mgr/k8sevents/module.py: note: In member "serve" of class "Module":
pybind/mgr/k8sevents/module.py:1369: error: Incompatible types in assignment (expression has type "str", target has type "None")
pybind/mgr/k8sevents/module.py: note: In member "shutdown" of class "Module":
pybind/mgr/k8sevents/module.py:1432: error: Item "None" of "Optional[Any]" has no attribute "can_run"
pybind/mgr/mgr_module.py: note: In member "get_rule_root" of class "CRUSHMap":
pybind/mgr/mgr_module.py:303: error: "CRUSHMap" has no attribute "log"
pybind/mgr/mgr_module.py: note: In member "device_class_counts" of class "CRUSHMap":
pybind/mgr/mgr_module.py:333: error: Need type annotation for 'result'
pybind/mgr/mgr_module.py: note: In member "call" of class "CLICommand":
pybind/mgr/mgr_module.py:382: error: "None" not callable
pybind/mgr/mgr_module.py: note: In member "__init__" of class "MgrStandbyModule":
pybind/mgr/mgr_module.py:493: error: Need type annotation for 'MODULE_OPTION_DEFAULTS' (hint: "MODULE_OPTION_DEFAULTS: Dict[<type>, <type>] = ...")
pybind/mgr/mgr_module.py: note: In member "get_module_option" of class "MgrStandbyModule":
pybind/mgr/mgr_module.py:493: error: Need type annotation for 'MODULE_OPTION_DEFAULTS' (hint: "MODULE_OPTION_DEFAULTS: Dict[<type>, <type>] = ...")
pybind/mgr/mgr_module.py: note: In member "get_localized_module_option" of class "MgrStandbyModule":
pybind/mgr/mgr_module.py:493: error: Need type annotation for 'MODULE_OPTION_DEFAULTS' (hint: "MODULE_OPTION_DEFAULTS: Dict[<type>, <type>] = ...")
pybind/mgr/mgr_module.py: note: In class "MgrStandbyModule":
pybind/mgr/mgr_module.py:493: error: Need type annotation for 'MODULE_OPTION_DEFAULTS' (hint: "MODULE_OPTION_DEFAULTS: Dict[<type>, <type>] = ...")
pybind/mgr/mgr_module.py: note: In member "__init__" of class "MgrModule":
pybind/mgr/mgr_module.py:570: error: Need type annotation for 'MODULE_OPTION_DEFAULTS' (hint: "MODULE_OPTION_DEFAULTS: Dict[<type>, <type>] = ...")
pybind/mgr/mgr_module.py: note: In member "_get_module_option" of class "MgrModule":
pybind/mgr/mgr_module.py:570: error: Need type annotation for 'MODULE_OPTION_DEFAULTS' (hint: "MODULE_OPTION_DEFAULTS: Dict[<type>, <type>] = ...")
pybind/mgr/mgr_module.py: note: In class "MgrModule":
pybind/mgr/mgr_module.py:570: error: Need type annotation for 'MODULE_OPTION_DEFAULTS' (hint: "MODULE_OPTION_DEFAULTS: Dict[<type>, <type>] = ...")
pybind/mgr/mgr_module.py: note: In member "release_name" of class "MgrModule":
pybind/mgr/mgr_module.py:667: error: "MgrModule" has no attribute "_ceph_get_release_name"
pybind/mgr/mgr_module.py: note: In member "_perfpath_to_path_labels" of class "MgrModule":
pybind/mgr/mgr_module.py:766: error: Incompatible types in assignment (expression has type "Tuple[str, str, str, str]", variable has type "Tuple[str]")
pybind/mgr/mgr_module.py:767: error: Incompatible types in assignment (expression has type "Tuple[Any, Any, Union[Any, str], Any]", variable has type "Tuple[Any]")
pybind/mgr/mgr_module.py: note: In member "get_all_perf_counters" of class "MgrModule":
pybind/mgr/mgr_module.py:1256: error: Need type annotation for 'result'
pybind/mgr/mgr_module.py:1287: error: Unsupported operand types for & ("Dict[str, Any]" and "int")
pybind/mgr/mgr_module.py:1293: error: Incompatible types in assignment (expression has type "float", target has type "Dict[str, Any]")
pybind/mgr/mgr_module.py:1296: error: Incompatible types in assignment (expression has type "float", target has type "Dict[str, Any]")
pybind/mgr/mgr_util.py: note: In function "get_default_addr":
pybind/mgr/mgr_util.py:108: error: "Callable[[], Any]" has no attribute "result"
pybind/mgr/mgr_util.py:111: error: "Callable[[], Any]" has no attribute "result"
pybind/mgr/orchestrator.py:29: error: Invalid assignment target
pybind/mgr/orchestrator.py:56: error: Variable "orchestrator.G" is not valid as a type
pybind/mgr/orchestrator.py: note: In class "_Completion":
pybind/mgr/orchestrator.py:56: error: Invalid base class "G"
pybind/mgr/orchestrator.py: note: In member "get_hosts" of class "Orchestrator":
pybind/mgr/orchestrator.py:361: error: "ReadCompletion" expects no type arguments, but 1 given
pybind/mgr/orchestrator.py: note: In member "get_inventory" of class "Orchestrator":
pybind/mgr/orchestrator.py:372: error: "ReadCompletion" expects no type arguments, but 1 given
pybind/mgr/orchestrator.py:372: error: Incompatible default for argument "node_filter" (default has type "None", argument has type "InventoryFilter")
pybind/mgr/orchestrator.py: note: In member "describe_service" of class "Orchestrator":
pybind/mgr/orchestrator.py:381: error: "ReadCompletion" expects no type arguments, but 1 given
pybind/mgr/orchestrator.py: note: In member "service_action" of class "Orchestrator":
pybind/mgr/orchestrator.py:396: error: Incompatible default for argument "service_name" (default has type "None", argument has type "str")
pybind/mgr/orchestrator.py:396: error: Incompatible default for argument "service_id" (default has type "None", argument has type "str")
pybind/mgr/orchestrator.py: note: In member "upgrade_status" of class "Orchestrator":
pybind/mgr/orchestrator.py:527: error: "ReadCompletion" expects no type arguments, but 1 given
pybind/mgr/orchestrator.py: note: In member "upgrade_available" of class "Orchestrator":
pybind/mgr/orchestrator.py:538: error: "ReadCompletion" expects no type arguments, but 1 given
pybind/mgr/orchestrator.py: note: In member "rgw_multisite_endpoint_addr" of class "RGWSpec":
pybind/mgr/orchestrator.py:754: error: Value of type "Optional[List[str]]" is not indexable
pybind/mgr/orchestrator.py: note: In member "rgw_multisite_endpoints_list" of class "RGWSpec":
pybind/mgr/orchestrator.py:760: error: Item "None" of "Optional[List[str]]" has no attribute "__iter__" (not iterable)
pybind/mgr/orchestrator.py: note: In member "__init__" of class "InventoryFilter":
pybind/mgr/orchestrator.py:798: error: Incompatible default for argument "labels" (default has type "None", argument has type "List[str]")
pybind/mgr/orchestrator.py:798: error: Incompatible default for argument "nodes" (default has type "None", argument has type "List[str]")
pybind/mgr/orchestrator.py: note: In member "__init__" of class "InventoryDevice":
pybind/mgr/orchestrator.py:821: error: Incompatible default for argument "type" (default has type "None", argument has type "str")
pybind/mgr/orchestrator.py:821: error: Incompatible default for argument "id" (default has type "None", argument has type "str")
pybind/mgr/orchestrator.py:821: error: Incompatible default for argument "size" (default has type "None", argument has type "int")
pybind/mgr/orchestrator.py:822: error: Incompatible default for argument "dev_id" (default has type "None", argument has type "str")
pybind/mgr/orchestrator.py:822: error: Incompatible default for argument "extended" (default has type "None", argument has type "Dict[Any, Any]")
pybind/mgr/orchestrator.py:823: error: Incompatible default for argument "metadata_space_free" (default has type "None", argument has type "bool")
pybind/mgr/orchestrator.py: note: In member "_oremote" of class "OrchestratorClientMixin":
pybind/mgr/orchestrator.py:994: error: Incompatible types in assignment (expression has type "OrchestratorClientMixin", variable has type "MgrModule")
pybind/mgr/orchestrator.py:996: error: "MgrModule" has no attribute "_select_orchestrator"
pybind/mgr/orchestrator.py: note: In member "_update_completion_progress" of class "OrchestratorClientMixin":
pybind/mgr/orchestrator.py:1011: error: "OrchestratorClientMixin" has no attribute "remote"; maybe "_oremote"?
pybind/mgr/orchestrator.py:1013: error: "OrchestratorClientMixin" has no attribute "remote"; maybe "_oremote"?
pybind/mgr/orchestrator.py: note: In member "__init__" of class "OutdatableData":
pybind/mgr/orchestrator.py:1055: error: Incompatible types in assignment (expression has type "Optional[datetime]", variable has type "datetime")
pybind/mgr/orchestrator.py: note: In member "__getitem__" of class "OutdatableDictMixin":
pybind/mgr/orchestrator.py:1109: error: "__getitem__" undefined in superclass
pybind/mgr/orchestrator.py: note: In member "__setitem__" of class "OutdatableDictMixin":
pybind/mgr/orchestrator.py:1114: error: "__setitem__" undefined in superclass
pybind/mgr/orchestrator.py: note: In member "items" of class "OutdatableDictMixin":
pybind/mgr/orchestrator.py:1118: error: "items" undefined in superclass
pybind/mgr/orchestrator.py: note: In member "remove_outdated" of class "OutdatableDictMixin":
pybind/mgr/orchestrator.py:1137: error: "OutdatableDictMixin" has no attribute "__delitem__"; maybe "__setitem__" or "__getitem__"?
pybind/mgr/orchestrator.py: note: In class "OutdatableDict":
pybind/mgr/orchestrator.py:1142: error: Definition of "items" in base class "OutdatableDictMixin" is incompatible with definition in base class "dict"
pybind/mgr/orchestrator.py:1142: error: Definition of "items" in base class "OutdatableDictMixin" is incompatible with definition in base class "Mapping"
pybind/mgr/orchestrator_cli/module.py: note: In member "_get_hosts" of class "OrchestratorCli":
pybind/mgr/orchestrator_cli/module.py:76: error: No overload variant of "map" matches argument types "Callable[[Any], Any]", "T"
pybind/mgr/orchestrator_cli/module.py:76: note: Possible overload variant:
pybind/mgr/orchestrator_cli/module.py:76: note: def [_T1, _S] map(Callable[[_T1], _S], Iterable[_T1]) -> Iterator[_S]
pybind/mgr/orchestrator_cli/module.py:76: note: <5 more non-matching overloads not shown>
pybind/mgr/orchestrator_cli/module.py: note: In member "_list_devices" of class "OrchestratorCli":
pybind/mgr/orchestrator_cli/module.py:84: error: Incompatible default for argument "host" (default has type "None", argument has type "List[str]")
pybind/mgr/orchestrator_cli/module.py:95: error: Argument "node_filter" to "get_inventory" of "Orchestrator" has incompatible type "Optional[InventoryFilter]"; expected "InventoryFilter"
pybind/mgr/orchestrator_cli/module.py:101: error: "T" has no attribute "__iter__" (not iterable)
pybind/mgr/orchestrator_cli/module.py:107: error: "T" has no attribute "__iter__" (not iterable)
pybind/mgr/orchestrator_cli/module.py: note: In member "_list_services" of class "OrchestratorCli":
pybind/mgr/orchestrator_cli/module.py:140: error: "T" has no attribute "sort"
pybind/mgr/orchestrator_cli/module.py:142: error: Argument 1 to "len" has incompatible type "T"; expected "Sized"
pybind/mgr/orchestrator_cli/module.py:145: error: "T" has no attribute "__iter__" (not iterable)
pybind/mgr/orchestrator_cli/module.py:151: error: "T" has no attribute "__iter__" (not iterable)
pybind/mgr/orchestrator_cli/module.py: note: In member "_create_osd" of class "OrchestratorCli":
pybind/mgr/orchestrator_cli/module.py:177: error: Incompatible default for argument "svc_arg" (default has type "None", argument has type "str")
pybind/mgr/orchestrator_cli/module.py:177: error: Incompatible default for argument "inbuf" (default has type "None", argument has type "str")
pybind/mgr/orchestrator_cli/module.py:212: error: "T" has no attribute "__iter__" (not iterable)
pybind/mgr/orchestrator_cli/test_orchestrator.py: note: In function "test_inventory":
pybind/mgr/orchestrator_cli/test_orchestrator.py:40: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
pybind/mgr/orchestrator_cli/test_orchestrator.py:43: error: Incompatible types in assignment (expression has type "List[object]", variable has type "Dict[str, object]")
pybind/mgr/orchestrator_cli/test_orchestrator.py: note: In function "test_rgwspec":
pybind/mgr/orchestrator_cli/test_orchestrator.py:76: error: Item "None" of "Optional[str]" has no attribute "strip"
pybind/mgr/osd_perf_query/module.py: note: In member "handle_command" of class "OSDPerfQuery":
pybind/mgr/osd_perf_query/module.py:86: error: Need type annotation for 'queries' (hint: "queries: Dict[<type>, <type>] = ...")
pybind/mgr/osd_perf_query/module.py: note: In class "OSDPerfQuery":
pybind/mgr/osd_perf_query/module.py:86: error: Need type annotation for 'queries' (hint: "queries: Dict[<type>, <type>] = ...")
pybind/mgr/osd_perf_query/module.py: note: In member "handle_command" of class "OSDPerfQuery":
pybind/mgr/osd_perf_query/module.py:120: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
pybind/mgr/osd_perf_query/module.py:121: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
pybind/mgr/osd_perf_query/module.py:148: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
pybind/mgr/osd_perf_query/module.py:161: error: Unsupported right operand type for in ("object")
pybind/mgr/osd_perf_query/module.py:162: error: Value of type "object" is not indexable
pybind/mgr/osd_perf_query/module.py:163: error: Unsupported right operand type for in ("object")
pybind/mgr/osd_perf_query/module.py:164: error: "object" has no attribute "index"
pybind/mgr/osd_perf_query/module.py:164: error: Value of type "object" is not indexable
pybind/mgr/osd_perf_query/module.py:172: error: Argument 1 to "len" has incompatible type "object"; expected "Sized"
pybind/mgr/osd_perf_query/module.py:173: error: Value of type "object" is not indexable
pybind/mgr/osd_perf_query/module.py:175: error: Value of type "object" is not indexable
pybind/mgr/osd_perf_query/module.py:178: error: Value of type "object" is not indexable
pybind/mgr/osd_perf_query/module.py:181: error: Incompatible types in assignment (expression has type "float", variable has type "int")
pybind/mgr/pg_autoscaler/module.py: note: In member "config_notify" of class "PgAutoscaler":
pybind/mgr/pg_autoscaler/module.py:97: error: Incompatible types in assignment (expression has type "Dict[str, str]", variable has type "str")
pybind/mgr/pg_autoscaler/module.py:99: error: Invalid index type "str" for "str"; expected type "Union[int, slice]"
pybind/mgr/pg_autoscaler/module.py:100: error: Invalid index type "str" for "str"; expected type "Union[int, slice]"
pybind/mgr/pg_autoscaler/module.py:102: error: Invalid index type "str" for "str"; expected type "Union[int, slice]"
pybind/mgr/pg_autoscaler/module.py: note: In member "serve" of class "PgAutoscaler":
pybind/mgr/pg_autoscaler/module.py:176: error: "PgAutoscaler" has no attribute "sleep_interval"
pybind/mgr/pg_autoscaler/module.py: note: In member "get_subtree_resource_status" of class "PgAutoscaler":
pybind/mgr/pg_autoscaler/module.py:185: error: Need type annotation for 'result' (hint: "result: Dict[<type>, <type>] = ...")
pybind/mgr/pg_autoscaler/module.py:228: error: "PgAutoscaler" has no attribute "mon_target_pg_per_osd"
pybind/mgr/pg_autoscaler/module.py: note: In member "_maybe_adjust" of class "PgAutoscaler":
pybind/mgr/pg_autoscaler/module.py:393: error: Need type annotation for 'target_ratio_pools'
pybind/mgr/pg_autoscaler/module.py:397: error: Need type annotation for 'target_bytes_pools'
pybind/mgr/pg_autoscaler/module.py:546: error: Argument 1 to "set_health_checks" of "MgrModule" has incompatible type "Dict[str, Dict[str, object]]"; expected "Dict[str, Dict[str, Union[str, List[Any]]]]"
pybind/mgr/progress/module.py:19: error: Incompatible types in assignment (expression has type "None", variable has type Module)
pybind/mgr/progress/module.py:23: error: Cannot assign to a type
pybind/mgr/progress/module.py:23: error: Incompatible types in assignment (expression has type "Type[object]", variable has type "Type[MgrModule]")
pybind/mgr/progress/module.py: note: In member "update_duration_event" of class "Event":
pybind/mgr/progress/module.py:120: error: Unsupported operand types for - ("float" and "object")
pybind/mgr/progress/module.py: note: In member "estimated_time_remaining" of class "Event":
pybind/mgr/progress/module.py:125: error: Unsupported operand types for - ("float" and "object")
pybind/mgr/progress/module.py: note: In member "pg_update" of class "PgRecoveryEvent":
pybind/mgr/progress/module.py:332: error: Attribute '_pgs' already defined on line 238
pybind/mgr/progress/module.py: note: In member "config_notify" of class "Module":
pybind/mgr/progress/module.py:413: error: Argument 2 to "setattr" has incompatible type "object"; expected "str"
pybind/mgr/progress/module.py:414: error: Argument 1 to "get_module_option" of "MgrModule" has incompatible type "object"; expected "str"
pybind/mgr/progress/module.py:415: error: Argument 2 to "getattr" has incompatible type "object"; expected "str"
pybind/mgr/progress/module.py: note: In member "_osd_in_out" of class "Module":
pybind/mgr/progress/module.py:497: error: Invalid index type "Optional[str]" for "Dict[str, Union[RemoteEvent, PgRecoveryEvent]]"; expected type "str"
pybind/mgr/progress/module.py: note: In member "notify" of class "Module":
pybind/mgr/progress/module.py:530: error: Item "None" of "Optional[OSDMap]" has no attribute "get_epoch"
pybind/mgr/progress/module.py:532: error: Argument 1 to "_osdmap_changed" of "Module" has incompatible type "Optional[OSDMap]"; expected "OSDMap"
pybind/mgr/progress/module.py: note: In member "_prune_completed_events" of class "Module":
pybind/mgr/progress/module.py:587: error: Module has no attribute "max_completed_events"; maybe "_completed_events" or "_prune_completed_events"?
pybind/mgr/progress/module.py:588: error: Module has no attribute "max_completed_events"; maybe "_completed_events" or "_prune_completed_events"?
pybind/mgr/progress/module.py: note: In member "serve" of class "Module":
pybind/mgr/progress/module.py:610: error: Module has no attribute "persist_interval"
pybind/mgr/progress/module.py: note: In member "update" of class "Module":
pybind/mgr/progress/module.py:626: error: Incompatible types in assignment (expression has type "Union[RemoteEvent, PgRecoveryEvent]", variable has type "RemoteEvent")
pybind/mgr/progress/module.py: note: In member "_complete" of class "Module":
pybind/mgr/progress/module.py:641: error: Unsupported operand types for - ("float" and "object")
pybind/mgr/progress/module.py:650: error: Argument 1 to "__delitem__" of "dict" has incompatible type "Optional[str]"; expected "str"
pybind/mgr/progress/module.py: note: In member "complete" of class "Module":
pybind/mgr/progress/module.py:660: error: Item "PgRecoveryEvent" of "Union[RemoteEvent, PgRecoveryEvent]" has no attribute "set_progress"
pybind/mgr/progress/module.py: note: In member "fail" of class "Module":
pybind/mgr/progress/module.py:675: error: Item "PgRecoveryEvent" of "Union[RemoteEvent, PgRecoveryEvent]" has no attribute "set_failed"
pybind/mgr/progress/module.py: note: In member "_handle_ls" of class "Module":
pybind/mgr/progress/module.py:695: error: Incompatible types in assignment (expression has type "GhostEvent", variable has type "Union[RemoteEvent, PgRecoveryEvent]")
pybind/mgr/prometheus/module.py: note: In member "str_expfmt" of class "Metric":
pybind/mgr/prometheus/module.py:165: error: Incompatible types in assignment (expression has type "str", variable has type "Iterator[Tuple[Any, Any]]")
pybind/mgr/prometheus/module.py:165: note: 'str' is missing following 'Iterator' protocol member:
pybind/mgr/prometheus/module.py:165: note: __next__
pybind/mgr/prometheus/module.py:165: note: Following member(s) of "str" have conflicts:
pybind/mgr/prometheus/module.py:165: note: Expected:
pybind/mgr/prometheus/module.py:165: note: def __iter__(self) -> Iterator[Tuple[Any, Any]]
pybind/mgr/prometheus/module.py:165: note: Got:
pybind/mgr/prometheus/module.py:165: note: def __iter__(self) -> Iterator[str]
pybind/mgr/prometheus/module.py:167: error: Incompatible types in assignment (expression has type "str", variable has type "Iterator[Tuple[Any, Any]]")
pybind/mgr/prometheus/module.py:167: note: 'str' is missing following 'Iterator' protocol member:
pybind/mgr/prometheus/module.py:167: note: __next__
pybind/mgr/prometheus/module.py:167: note: Following member(s) of "str" have conflicts:
pybind/mgr/prometheus/module.py:167: note: Expected:
pybind/mgr/prometheus/module.py:167: note: def __iter__(self) -> Iterator[Tuple[Any, Any]]
pybind/mgr/prometheus/module.py:167: note: Got:
pybind/mgr/prometheus/module.py:167: note: def __iter__(self) -> Iterator[str]
pybind/mgr/prometheus/module.py: note: In member "__init__" of class "Module":
pybind/mgr/prometheus/module.py:223: error: Incompatible types in assignment (expression has type Module, target has type "None")
pybind/mgr/prometheus/module.py: note: In member "get_pg_status" of class "Module":
pybind/mgr/prometheus/module.py:519: error: Need type annotation for 'reported_states' (hint: "reported_states: Dict[<type>, <type>] = ...")
pybind/mgr/prometheus/module.py: note: In member "get_rbd_stats" of class "Module":
pybind/mgr/prometheus/module.py:705: error: Need type annotation for 'pools' (hint: "pools: Dict[<type>, <type>] = ...")
pybind/mgr/prometheus/module.py:720: error: No overload variant of "list" matches argument type "object"
pybind/mgr/prometheus/module.py:720: note: Possible overload variant:
pybind/mgr/prometheus/module.py:720: note: def [_T] list(self, iterable: Iterable[_T]) -> List[_T]
pybind/mgr/prometheus/module.py:720: note: <1 more non-matching overload not shown>
pybind/mgr/prometheus/module.py:721: error: Value of type "object" is not indexable
pybind/mgr/prometheus/module.py:723: error: "object" has no attribute "__delitem__"
pybind/mgr/prometheus/module.py:726: error: Value of type "object" is not indexable
pybind/mgr/prometheus/module.py:737: error: No overload variant of "list" matches argument type "object"
pybind/mgr/prometheus/module.py:737: note: Possible overload variant:
pybind/mgr/prometheus/module.py:737: note: def [_T] list(self, iterable: Iterable[_T]) -> List[_T]
pybind/mgr/prometheus/module.py:737: note: <1 more non-matching overload not shown>
pybind/mgr/prometheus/module.py:741: error: Need type annotation for 'nspace_names' (hint: "nspace_names: List[<type>] = ...")
pybind/mgr/prometheus/module.py:742: error: "object" has no attribute "items"
pybind/mgr/prometheus/module.py:756: error: Value of type "object" is not indexable
pybind/mgr/prometheus/module.py:757: error: Value of type "object" is not indexable
pybind/mgr/prometheus/module.py:775: error: No overload variant of "list" matches argument type "object"
pybind/mgr/prometheus/module.py:775: note: Possible overload variant:
pybind/mgr/prometheus/module.py:775: note: def [_T] list(self, iterable: Iterable[_T]) -> List[_T]
pybind/mgr/prometheus/module.py:775: note: <1 more non-matching overload not shown>
pybind/mgr/prometheus/module.py:792: error: Unsupported right operand type for in ("object")
pybind/mgr/prometheus/module.py:795: error: Unsupported right operand type for in ("object")
pybind/mgr/prometheus/module.py:797: error: Value of type "object" is not indexable
pybind/mgr/prometheus/module.py:805: error: Value of type "object" is not indexable
pybind/mgr/prometheus/module.py:815: error: "object" has no attribute "items"
pybind/mgr/prometheus/module.py:822: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
pybind/mgr/prometheus/module.py:823: error: Value of type "object" is not indexable
pybind/mgr/prometheus/module.py: note: In member "refresh_rbd_stats_pools" of class "Module":
pybind/mgr/prometheus/module.py:866: error: Unsupported right operand type for in ("object")
pybind/mgr/prometheus/module.py:867: error: Unsupported target for indexed assignment
pybind/mgr/prometheus/module.py:868: error: Value of type "object" is not indexable
pybind/mgr/prometheus/module.py:895: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
pybind/mgr/prometheus/module.py: note: In member "shutdown_rbd_stats" of class "Module":
pybind/mgr/prometheus/module.py:907: error: "object" has no attribute "clear"
pybind/mgr/rbd_support/module.py: note: In member "scrub_missing_images" of class "PerfHandler":
pybind/mgr/rbd_support/module.py:102: error: Need type annotation for 'user_queries' (hint: "user_queries: Dict[<type>, <type>] = ...")
pybind/mgr/rbd_support/module.py: note: In member "process_raw_osd_perf_counters" of class "PerfHandler":
pybind/mgr/rbd_support/module.py:102: error: Need type annotation for 'user_queries' (hint: "user_queries: Dict[<type>, <type>] = ...")
pybind/mgr/rbd_support/module.py: note: In member "scrub_expired_queries" of class "PerfHandler":
pybind/mgr/rbd_support/module.py:102: error: Need type annotation for 'user_queries' (hint: "user_queries: Dict[<type>, <type>] = ...")
pybind/mgr/rbd_support/module.py: note: In member "register_query" of class "PerfHandler":
pybind/mgr/rbd_support/module.py:102: error: Need type annotation for 'user_queries' (hint: "user_queries: Dict[<type>, <type>] = ...")
pybind/mgr/rbd_support/module.py: note: In class "PerfHandler":
pybind/mgr/rbd_support/module.py:102: error: Need type annotation for 'user_queries' (hint: "user_queries: Dict[<type>, <type>] = ...")
pybind/mgr/rbd_support/module.py:103: error: Need type annotation for 'image_cache' (hint: "image_cache: Dict[<type>, <type>] = ...")
pybind/mgr/rbd_support/module.py: note: In member "merge_raw_osd_perf_counters" of class "PerfHandler":
pybind/mgr/rbd_support/module.py:110: error: Need type annotation for 'image_name_cache' (hint: "image_name_cache: Dict[<type>, <type>] = ...")
pybind/mgr/rbd_support/module.py: note: In member "refresh_image_names" of class "PerfHandler":
pybind/mgr/rbd_support/module.py:110: error: Need type annotation for 'image_name_cache' (hint: "image_name_cache: Dict[<type>, <type>] = ...")
pybind/mgr/rbd_support/module.py: note: In member "scrub_missing_images" of class "PerfHandler":
pybind/mgr/rbd_support/module.py:110: error: Need type annotation for 'image_name_cache' (hint: "image_name_cache: Dict[<type>, <type>] = ...")
pybind/mgr/rbd_support/module.py: note: In member "process_raw_osd_perf_counters" of class "PerfHandler":
pybind/mgr/rbd_support/module.py:110: error: Need type annotation for 'image_name_cache' (hint: "image_name_cache: Dict[<type>, <type>] = ...")
pybind/mgr/rbd_support/module.py: note: In member "generate_report" of class "PerfHandler":
pybind/mgr/rbd_support/module.py:110: error: Need type annotation for 'image_name_cache' (hint: "image_name_cache: Dict[<type>, <type>] = ...")
pybind/mgr/rbd_support/module.py: note: In class "PerfHandler":
pybind/mgr/rbd_support/module.py:110: error: Need type annotation for 'image_name_cache' (hint: "image_name_cache: Dict[<type>, <type>] = ...")
pybind/mgr/rbd_support/module.py: note: In member "process_raw_osd_perf_counters" of class "PerfHandler":
pybind/mgr/rbd_support/module.py:286: error: Need type annotation for 'resolve_image_names' (hint: "resolve_image_names: Set[<type>] = ...")
pybind/mgr/rbd_support/module.py: note: In member "generate_report" of class "PerfHandler":
pybind/mgr/rbd_support/module.py:438: error: Need type annotation for 'pool_descriptors' (hint: "pool_descriptors: Dict[<type>, <type>] = ...")
pybind/mgr/rbd_support/module.py: note: In member "run" of class "TaskHandler":
pybind/mgr/rbd_support/module.py:598: error: Need type annotation for 'tasks_by_sequence' (hint: "tasks_by_sequence: Dict[<type>, <type>] = ...")
pybind/mgr/rbd_support/module.py: note: In member "init_task_queue" of class "TaskHandler":
pybind/mgr/rbd_support/module.py:598: error: Need type annotation for 'tasks_by_sequence' (hint: "tasks_by_sequence: Dict[<type>, <type>] = ...")
pybind/mgr/rbd_support/module.py: note: In member "append_task" of class "TaskHandler":
pybind/mgr/rbd_support/module.py:598: error: Need type annotation for 'tasks_by_sequence' (hint: "tasks_by_sequence: Dict[<type>, <type>] = ...")
pybind/mgr/rbd_support/module.py: note: In member "remove_task" of class "TaskHandler":
pybind/mgr/rbd_support/module.py:598: error: Need type annotation for 'tasks_by_sequence' (hint: "tasks_by_sequence: Dict[<type>, <type>] = ...")
pybind/mgr/rbd_support/module.py: note: In member "execute_task" of class "TaskHandler":
pybind/mgr/rbd_support/module.py:598: error: Need type annotation for 'tasks_by_sequence' (hint: "tasks_by_sequence: Dict[<type>, <type>] = ...")
pybind/mgr/rbd_support/module.py: note: In member "task_list" of class "TaskHandler":
pybind/mgr/rbd_support/module.py:598: error: Need type annotation for 'tasks_by_sequence' (hint: "tasks_by_sequence: Dict[<type>, <type>] = ...")
pybind/mgr/rbd_support/module.py: note: In class "TaskHandler":
pybind/mgr/rbd_support/module.py:598: error: Need type annotation for 'tasks_by_sequence' (hint: "tasks_by_sequence: Dict[<type>, <type>] = ...")
pybind/mgr/rbd_support/module.py: note: In member "init_task_queue" of class "TaskHandler":
pybind/mgr/rbd_support/module.py:599: error: Need type annotation for 'tasks_by_id' (hint: "tasks_by_id: Dict[<type>, <type>] = ...")
pybind/mgr/rbd_support/module.py: note: In member "append_task" of class "TaskHandler":
pybind/mgr/rbd_support/module.py:599: error: Need type annotation for 'tasks_by_id' (hint: "tasks_by_id: Dict[<type>, <type>] = ...")
pybind/mgr/rbd_support/module.py: note: In member "find_task" of class "TaskHandler":
pybind/mgr/rbd_support/module.py:599: error: Need type annotation for 'tasks_by_id' (hint: "tasks_by_id: Dict[<type>, <type>] = ...")
pybind/mgr/rbd_support/module.py: note: In member "add_task" of class "TaskHandler":
pybind/mgr/rbd_support/module.py:599: error: Need type annotation for 'tasks_by_id' (hint: "tasks_by_id: Dict[<type>, <type>] = ...")
pybind/mgr/rbd_support/module.py: note: In member "remove_task" of class "TaskHandler":
pybind/mgr/rbd_support/module.py:599: error: Need type annotation for 'tasks_by_id' (hint: "tasks_by_id: Dict[<type>, <type>] = ...")
pybind/mgr/rbd_support/module.py: note: In member "task_cancel" of class "TaskHandler":
pybind/mgr/rbd_support/module.py:599: error: Need type annotation for 'tasks_by_id' (hint: "tasks_by_id: Dict[<type>, <type>] = ...")
pybind/mgr/rbd_support/module.py: note: In member "task_list" of class "TaskHandler":
pybind/mgr/rbd_support/module.py:599: error: Need type annotation for 'tasks_by_id' (hint: "tasks_by_id: Dict[<type>, <type>] = ...")
pybind/mgr/rbd_support/module.py: note: In class "TaskHandler":
pybind/mgr/rbd_support/module.py:599: error: Need type annotation for 'tasks_by_id' (hint: "tasks_by_id: Dict[<type>, <type>] = ...")
pybind/mgr/rbd_support/module.py: note: In member "find_task" of class "TaskHandler":
pybind/mgr/rbd_support/module.py:601: error: Need type annotation for 'completed_tasks' (hint: "completed_tasks: List[<type>] = ...")
pybind/mgr/rbd_support/module.py: note: In member "remove_task" of class "TaskHandler":
pybind/mgr/rbd_support/module.py:601: error: Need type annotation for 'completed_tasks' (hint: "completed_tasks: List[<type>] = ...")
pybind/mgr/rbd_support/module.py: note: In class "TaskHandler":
pybind/mgr/rbd_support/module.py:601: error: Need type annotation for 'completed_tasks' (hint: "completed_tasks: List[<type>] = ...")
pybind/mgr/rbd_support/module.py: note: In member "init_task_queue" of class "TaskHandler":
pybind/mgr/rbd_support/module.py:678: error: Module has no attribute "OperationNotSupported"
pybind/mgr/rbd_support/module.py: note: In member "add_task" of class "TaskHandler":
pybind/mgr/rbd_support/module.py:773: error: On Python 3 '{}'.format(b'abc') produces "b'abc'"; use !r if this is a desired behavior
pybind/mgr/rbd_support/module.py: note: In member "execute_task" of class "TaskHandler":
pybind/mgr/rbd_support/module.py:837: error: Module has no attribute "OperationCanceled"
pybind/mgr/rbd_support/module.py: note: In member "progress_callback" of class "TaskHandler":
pybind/mgr/rbd_support/module.py:878: error: Module has no attribute "ECANCELED"
pybind/mgr/rbd_support/module.py: note: In class "Module":
pybind/mgr/rbd_support/module.py:1318: error: Need type annotation for 'MODULE_OPTIONS' (hint: "MODULE_OPTIONS: List[<type>] = ...")
pybind/mgr/rbd_support/module.py: note: In member "handle_command" of class "Module":
pybind/mgr/rbd_support/module.py:1333: error: Item "None" of "Optional[PerfHandler]" has no attribute "handle_command"
pybind/mgr/rbd_support/module.py:1335: error: Item "None" of "Optional[TaskHandler]" has no attribute "handle_command"
pybind/mgr/restful/api/doc.py: note: In member "get" of class "Doc":
pybind/mgr/restful/api/doc.py:15: error: Module has no attribute "Root"
pybind/mgr/restful/common.py: note: In function "pool_update_commands":
pybind/mgr/restful/common.py:54: error: Need type annotation for 'commands'
pybind/mgr/restful/common.py: note: In function "crush_rule_osds":
pybind/mgr/restful/common.py:156: error: Need type annotation for 'osds' (hint: "osds: Set[<type>] = ...")
pybind/mgr/restful/context.py:6: error: Incompatible types in assignment (expression has type "None", variable has type Module)
pybind/mgr/restful/module.py: note: In member "__init__" of class "CommandsRequest":
pybind/mgr/restful/module.py:58: error: Need type annotation for 'running' (hint: "running: List[<type>] = ...")
pybind/mgr/restful/module.py: note: In member "run" of class "CommandsRequest":
pybind/mgr/restful/module.py:87: error: "CommandResult" has no attribute "command"
pybind/mgr/restful/module.py: note: In member "serve" of class "Module":
pybind/mgr/restful/module.py:256: error: Item "None" of "Optional[Any]" has no attribute "socket"
pybind/mgr/restful/module.py: note: In member "get_doc_api" of class "Module":
pybind/mgr/restful/module.py:468: error: Need type annotation for 'doc' (hint: "doc: Dict[<type>, <type>] = ...")
pybind/mgr/restful/module.py:483: error: Item "None" of "Optional[str]" has no attribute "split"
pybind/mgr/restful/module.py: note: In member "get_mons" of class "Module":
pybind/mgr/restful/module.py:498: error: Value of type "Optional[Dict[str, Any]]" is not indexable
pybind/mgr/restful/module.py: note: In member "get_osd_pools" of class "Module":
pybind/mgr/restful/module.py:505: error: Need type annotation for 'osds'
pybind/mgr/restful/module.py:520: error: Item "None" of "Optional[Any]" has no attribute "__iter__" (not iterable)
pybind/mgr/rook/module.py: note: In class "RookOrchestrator":
pybind/mgr/rook/module.py:165: error: Need type annotation for 'MODULE_OPTIONS' (hint: "MODULE_OPTIONS: List[<type>] = ...")
pybind/mgr/rook/module.py: note: In member "rook_cluster" of class "RookOrchestrator":
pybind/mgr/rook/module.py:246: error: Incompatible return value type (got "Optional[Any]", expected "RookCluster")
pybind/mgr/rook/module.py: note: In member "create_osds" of class "RookOrchestrator":
pybind/mgr/rook/module.py:440: error: Need type annotation for 'targets' (hint: "targets: List[<type>] = ...")
pybind/mgr/rook/module.py: note: In function "create_osds":
pybind/mgr/rook/module.py:440: error: Need type annotation for 'targets' (hint: "targets: List[<type>] = ...")
pybind/mgr/rook/module.py: note: In member "create_osds" of class "RookOrchestrator":
pybind/mgr/rook/module.py:440: error: Need type annotation for 'targets' (hint: "targets: List[<type>] = ...")
pybind/mgr/rook/module.py: note: In function "create_osds":
pybind/mgr/rook/module.py:462: error: Item "None" of "Optional[Any]" has no attribute "list_namespaced_pod"
pybind/mgr/rook/rook_cluster.py:27: error: Name 'ApiException' already defined (possibly by an import)
pybind/mgr/rook/rook_cluster.py: note: In member "__init__" of class "KubernetesResource":
pybind/mgr/rook/rook_cluster.py:88: error: Incompatible types in assignment (expression has type "None", variable has type "Thread")
pybind/mgr/rook/rook_cluster.py: note: In member "items" of class "KubernetesResource":
pybind/mgr/rook/rook_cluster.py:118: error: Attribute 'thread' already defined on line 88
pybind/mgr/rook/rook_cluster.py: note: In member "add_nfsgw" of class "RookCluster":
pybind/mgr/rook/rook_cluster.py:379: error: Value of type "Collection[str]" is not indexable
pybind/mgr/rook/rook_cluster.py: note: In member "add_osds" of class "RookCluster":
pybind/mgr/rook/rook_cluster.py:514: error: Dict entry 2 has incompatible type "str": "Dict[str, Any]"; expected "str": "Sequence[str]"
pybind/mgr/rook/rook_cluster.py:533: error: Dict entry 2 has incompatible type "str": "Dict[str, Any]"; expected "str": "Sequence[str]"
pybind/mgr/rook/rook_cluster.py:541: error: Dict entry 2 has incompatible type "str": "Dict[str, Any]"; expected "str": "Sequence[str]"
pybind/mgr/ssh/module.py: note: In member "config_notify" of class "SSHOrchestrator":
pybind/mgr/ssh/module.py:111: error: Need type annotation for 'NATIVE_OPTIONS' (hint: "NATIVE_OPTIONS: List[<type>] = ...")
pybind/mgr/ssh/module.py: note: In class "SSHOrchestrator":
pybind/mgr/ssh/module.py:111: error: Need type annotation for 'NATIVE_OPTIONS' (hint: "NATIVE_OPTIONS: List[<type>] = ...")
pybind/mgr/ssh/module.py: note: In member "config_notify" of class "SSHOrchestrator":
pybind/mgr/ssh/module.py:176: error: Value of type "object" is not indexable
pybind/mgr/ssh/module.py:177: error: Value of type "object" is not indexable
pybind/mgr/ssh/module.py:179: error: Value of type "object" is not indexable
pybind/mgr/ssh/module.py:182: error: Argument 2 to "setattr" has incompatible type "object"; expected "str"
pybind/mgr/ssh/module.py:183: error: Argument 1 to "get_ceph_option" of "MgrModule" has incompatible type "object"; expected "str"
pybind/mgr/ssh/module.py:184: error: Argument 2 to "getattr" has incompatible type "object"; expected "str"
pybind/mgr/ssh/module.py: note: In member "_reconfig_ssh" of class "SSHOrchestrator":
pybind/mgr/ssh/module.py:187: error: Need type annotation for 'temp_files' (hint: "temp_files: List[<type>] = ...")
pybind/mgr/ssh/module.py:188: error: Need type annotation for 'ssh_options' (hint: "ssh_options: List[<type>] = ...")
pybind/mgr/ssh/module.py:191: error: "SSHOrchestrator" has no attribute "ssh_config_file"; maybe "ssh_config_tmp"?
pybind/mgr/ssh/module.py:229: error: Incompatible types in assignment (expression has type "None", variable has type "str")
pybind/mgr/ssh/module.py: note: In function "get_inventory":
pybind/mgr/ssh/module.py:497: error: "SSHOrchestrator" has no attribute "inventory_cache_timeout"; maybe "inventory_cache"?
pybind/mgr/ssh/module.py: note: In member "_create_osd" of class "SSHOrchestrator":
pybind/mgr/ssh/module.py:565: error: "str" has no attribute "items"
pybind/mgr/ssh/remotes.py:80: error: Name 'channel' is not defined
pybind/mgr/ssh/remotes.py:81: error: Name 'channel' is not defined
pybind/mgr/status/module.py: note: In member "handle_fs_status" of class "Module":
pybind/mgr/status/module.py:62: error: Need type annotation for 'mds_versions'
pybind/mgr/status/module.py:117: error: Item "None" of "Optional[Dict[str, Any]]" has no attribute "get"
pybind/mgr/status/module.py:144: error: Item "None" of "Optional[Dict[str, Any]]" has no attribute "get"
pybind/mgr/status/module.py:182: error: Item "None" of "Optional[Dict[str, Any]]" has no attribute "get"
pybind/mgr/status/module.py: note: In member "handle_osd_status" of class "Module":
pybind/mgr/status/module.py:236: error: Value of type "Optional[Dict[str, Any]]" is not indexable
pybind/mgr/telegraf/module.py:16: error: Name 'urlparse' already defined (possibly by an import)
pybind/mgr/telegraf/module.py: note: In member "config_keys" of class "Module":
pybind/mgr/telegraf/module.py:55: error: Value of type "object" is not indexable
pybind/mgr/telegraf/module.py:55: error: "object" has no attribute "get"
pybind/mgr/telegraf/module.py: note: In member "get_pg_stats" of class "Module":
pybind/mgr/telegraf/module.py:136: error: Invalid index type "str" for "str"; expected type "Union[int, slice]"
pybind/mgr/telegraf/module.py:140: error: Invalid index type "str" for "str"; expected type "Union[int, slice]"
pybind/mgr/telegraf/module.py: note: In member "get_cluster_stats" of class "Module":
pybind/mgr/telegraf/module.py:189: error: Unsupported operand types for + ("int" and "None")
pybind/mgr/telegraf/module.py:189: note: Right operand is of type "Optional[int]"
pybind/mgr/telegraf/module.py:200: error: Argument 1 to "int" has incompatible type "Optional[int]"; expected "Union[str, bytes, SupportsInt]"
pybind/mgr/telemetry/module.py: note: In class "Module":
pybind/mgr/telemetry/module.py:53: error: Need type annotation for 'config' (hint: "config: Dict[<type>, <type>] = ...")
pybind/mgr/telemetry/module.py: note: In member "config_keys" of class "Module":
pybind/mgr/telemetry/module.py:170: error: Value of type "object" is not indexable
pybind/mgr/telemetry/module.py:170: error: "object" has no attribute "get"
pybind/mgr/telemetry/module.py: note: In member "config_notify" of class "Module":
pybind/mgr/telemetry/module.py:184: error: Value of type "object" is not indexable
pybind/mgr/telemetry/module.py:185: error: Value of type "object" is not indexable
pybind/mgr/telemetry/module.py:186: error: Value of type "object" is not indexable
pybind/mgr/telemetry/module.py: note: In member "gather_osd_metadata" of class "Module":
pybind/mgr/telemetry/module.py:209: error: Need type annotation for 'metadata' (hint: "metadata: Dict[<type>, <type>] = ...")
pybind/mgr/telemetry/module.py:214: error: Item "None" of "Optional[Dict[str, Any]]" has no attribute "items"
pybind/mgr/telemetry/module.py: note: In member "gather_mon_metadata" of class "Module":
pybind/mgr/telemetry/module.py:223: error: Need type annotation for 'keys' (hint: "keys: List[<type>] = ...")
pybind/mgr/telemetry/module.py:226: error: Need type annotation for 'metadata' (hint: "metadata: Dict[<type>, <type>] = ...")
pybind/mgr/telemetry/module.py:231: error: Item "None" of "Optional[Dict[str, Any]]" has no attribute "items"
pybind/mgr/telemetry/module.py: note: In member "gather_crashinfo" of class "Module":
pybind/mgr/telemetry/module.py:280: error: Item "None" of "Optional[Any]" has no attribute "encode"
pybind/mgr/telemetry/module.py:282: error: Item "None" of "Optional[Any]" has no attribute "encode"
pybind/mgr/telemetry/module.py: note: In member "get_active_channels" of class "Module":
pybind/mgr/telemetry/module.py:289: error: Module has no attribute "channel_basic"
pybind/mgr/telemetry/module.py:291: error: Module has no attribute "channel_crash"
pybind/mgr/telemetry/module.py:293: error: Module has no attribute "channel_device"
pybind/mgr/telemetry/module.py: note: In member "gather_device_report" of class "Module":
pybind/mgr/telemetry/module.py:302: error: Module has no attribute "interval"
pybind/mgr/telemetry/module.py: note: In member "compile_report" of class "Module":
pybind/mgr/telemetry/module.py:359: error: Module has no attribute "leaderboard"
pybind/mgr/telemetry/module.py:384: error: Item "None" of "Optional[Any]" has no attribute "append"
pybind/mgr/telemetry/module.py:410: error: Unsupported target for indexed assignment
pybind/mgr/telemetry/module.py:411: error: Unsupported target for indexed assignment
pybind/mgr/telemetry/module.py:423: error: Value of type "Optional[Any]" is not indexable
pybind/mgr/telemetry/module.py:423: error: Unsupported target for indexed assignment
pybind/mgr/telemetry/module.py: note: In member "send" of class "Module":
pybind/mgr/telemetry/module.py:441: error: Module has no attribute "url"
pybind/mgr/telemetry/module.py:443: error: Module has no attribute "proxy"
pybind/mgr/telemetry/module.py:444: error: Module has no attribute "proxy"
pybind/mgr/telemetry/module.py:445: error: Module has no attribute "proxy"
pybind/mgr/telemetry/module.py:446: error: Module has no attribute "proxy"
pybind/mgr/telemetry/module.py:448: error: Module has no attribute "url"
pybind/mgr/telemetry/module.py: note: In member "handle_command" of class "Module":
pybind/mgr/telemetry/module.py:458: error: Value of type "object" is not indexable
pybind/mgr/telemetry/module.py:474: error: Module has no attribute "url"
pybind/mgr/telemetry/module.py:476: error: Module has no attribute "url"
pybind/mgr/telemetry/module.py: note: In member "refresh_health_checks" of class "Module":
pybind/mgr/telemetry/module.py:505: error: Module has no attribute "enabled"
pybind/mgr/telemetry/module.py:505: error: Module has no attribute "last_opt_revision"
pybind/mgr/telemetry/module.py:513: error: Argument 1 to "set_health_checks" of "MgrModule" has incompatible type "Dict[str, Dict[str, Sequence[str]]]"; expected "Dict[str, Dict[str, Union[str, List[Any]]]]"
pybind/mgr/telemetry/module.py: note: In member "serve" of class "Module":
pybind/mgr/telemetry/module.py:528: error: Module has no attribute "last_opt_revision"
pybind/mgr/telemetry/module.py:532: error: Module has no attribute "enabled"
pybind/mgr/telemetry/module.py:539: error: Module has no attribute "interval"
pybind/mgr/telemetry/module.py:541: error: Module has no attribute "url"
pybind/mgr/telemetry/module.py: note: In class "Module":
pybind/mgr/telemetry/module.py:564: error: Name 'self_test' already defined on line 491
pybind/mgr/test_orchestrator/module.py: note: In member "__init__" of class "TestCompletionMixin":
pybind/mgr/test_orchestrator/module.py:21: error: Need type annotation for 'all_completions' (hint: "all_completions: List[<type>] = ...")
pybind/mgr/test_orchestrator/module.py: note: In class "TestCompletionMixin":
pybind/mgr/test_orchestrator/module.py:21: error: Need type annotation for 'all_completions' (hint: "all_completions: List[<type>] = ...")
pybind/mgr/test_orchestrator/module.py: note: In member "__init__" of class "TestCompletionMixin":
pybind/mgr/test_orchestrator/module.py:24: error: Too many arguments for "__init__" of "object"
pybind/mgr/test_orchestrator/module.py: note: In member "__str__" of class "TestCompletionMixin":
pybind/mgr/test_orchestrator/module.py:49: error: "TestCompletionMixin" has no attribute "exception"
pybind/mgr/test_orchestrator/module.py: note: In member "describe_service" of class "TestOrchestrator":
pybind/mgr/test_orchestrator/module.py:229: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
pybind/mgr/test_orchestrator/module.py:235: error: Item "None" of "Optional[Match[str]]" has no attribute "group"
pybind/mgr/volumes/fs/purge_queue.py: note: In member "should_cancel" of class "PurgeThread":
pybind/mgr/volumes/fs/purge_queue.py:52: error: "Event" has no attribute "isSet"
pybind/mgr/volumes/fs/purge_queue.py: note: In member "__init__" of class "PurgeQueueBase":
pybind/mgr/volumes/fs/purge_queue.py:60: error: Need type annotation for 'q'
pybind/mgr/volumes/fs/purge_queue.py: note: In member "unregister_job" of class "PurgeQueueBase":
pybind/mgr/volumes/fs/purge_queue.py:116: error: "Thread" has no attribute "should_cancel"
pybind/mgr/volumes/fs/purge_queue.py:117: error: "Thread" has no attribute "reset_cancel"
pybind/mgr/volumes/fs/purge_queue.py: note: In member "get_trash_entry_for_volume" of class "PurgeQueueBase":
pybind/mgr/volumes/fs/purge_queue.py:134: error: Cannot find replacement for positional format specifier 1
pybind/mgr/volumes/fs/purge_queue.py: note: In member "purge_trash_entry_for_volume" of class "PurgeQueueBase":
pybind/mgr/volumes/fs/purge_queue.py:143: error: "Thread" has no attribute "should_cancel"
pybind/mgr/volumes/fs/purge_queue.py: note: In member "__init__" of class "ThreadPoolPurgeQueueMixin":
pybind/mgr/volumes/fs/purge_queue.py:156: error: Need type annotation for 'threads' (hint: "threads: List[<type>] = ...")
pybind/mgr/volumes/fs/subvolume.py: note: In member "create_subvolume" of class "SubVolume":
pybind/mgr/volumes/fs/subvolume.py:103: error: Item "None" of "Optional[Any]" has no attribute "encode"
pybind/mgr/volumes/fs/volume.py:8: error: Module 'threading' has no attribute '_Timer'; maybe "Timer"?
pybind/mgr/volumes/fs/volume.py: note: In member "disconnect" of class "Connection":
pybind/mgr/volumes/fs/volume.py:84: error: Item "None" of "Optional[Any]" has no attribute "shutdown"
pybind/mgr/volumes/fs/volume.py: note: In member "abort" of class "Connection":
pybind/mgr/volumes/fs/volume.py:90: error: Item "None" of "Optional[Any]" has no attribute "abort_conn"
pybind/mgr/volumes/fs/volume.py: note: In member "cleanup_connections" of class "ConnectionPool":
pybind/mgr/volumes/fs/volume.py:118: error: "Dict[Any, Any]" has no attribute "iteritems"
pybind/mgr/volumes/fs/volume.py: note: In function "connection_pool_wrap":
pybind/mgr/volumes/fs/volume.py:362: error: "VolumeClient" not callable
pybind/mgr/volumes/fs/volume.py: note: In class "VolumeClient":
pybind/mgr/volumes/fs/volume.py:382: error: Argument 1 to "connection_pool_wrap" has incompatible type "Callable[[VolumeClient, Any, KwArg(Any)], Any]"; expected "VolumeClient"
pybind/mgr/volumes/fs/volume.py:404: error: Argument 1 to "connection_pool_wrap" has incompatible type "Callable[[VolumeClient, Any, KwArg(Any)], Any]"; expected "VolumeClient"
pybind/mgr/volumes/fs/volume.py:425: error: Argument 1 to "connection_pool_wrap" has incompatible type "Callable[[VolumeClient, Any, KwArg(Any)], Any]"; expected "VolumeClient"
pybind/mgr/volumes/fs/volume.py:446: error: Argument 1 to "connection_pool_wrap" has incompatible type "Callable[[VolumeClient, Any, KwArg(Any)], Any]"; expected "VolumeClient"
pybind/mgr/volumes/fs/volume.py:470: error: Argument 1 to "connection_pool_wrap" has incompatible type "Callable[[VolumeClient, Any, KwArg(Any)], Any]"; expected "VolumeClient"
pybind/mgr/volumes/fs/volume.py:494: error: Argument 1 to "connection_pool_wrap" has incompatible type "Callable[[VolumeClient, Any, KwArg(Any)], Any]"; expected "VolumeClient"
pybind/mgr/volumes/fs/volume.py:520: error: Argument 1 to "connection_pool_wrap" has incompatible type "Callable[[VolumeClient, Any, KwArg(Any)], Any]"; expected "VolumeClient"
pybind/mgr/volumes/fs/volume.py:547: error: Argument 1 to "connection_pool_wrap" has incompatible type "Callable[[VolumeClient, Any, KwArg(Any)], Any]"; expected "VolumeClient"
pybind/mgr/volumes/fs/volume.py:564: error: Argument 1 to "connection_pool_wrap" has incompatible type "Callable[[VolumeClient, Any, KwArg(Any)], Any]"; expected "VolumeClient"
pybind/mgr/volumes/fs/volume.py:579: error: Argument 1 to "connection_pool_wrap" has incompatible type "Callable[[VolumeClient, Any, KwArg(Any)], Any]"; expected "VolumeClient"
pybind/mgr/volumes/fs/volume.py:593: error: Argument 1 to "connection_pool_wrap" has incompatible type "Callable[[VolumeClient, Any, KwArg(Any)], Any]"; expected "VolumeClient"
pybind/mgr/volumes/fs/volume.py:607: error: Argument 1 to "connection_pool_wrap" has incompatible type "Callable[[VolumeClient, Any, KwArg(Any)], Any]"; expected "VolumeClient"
pybind/mgr/volumes/fs/volume.py:625: error: Argument 1 to "connection_pool_wrap" has incompatible type "Callable[[VolumeClient, Any, KwArg(Any)], Any]"; expected "VolumeClient"
pybind/mgr/volumes/fs/volume.py:645: error: Argument 1 to "connection_pool_wrap" has incompatible type "Callable[[VolumeClient, Any, KwArg(Any)], Any]"; expected "VolumeClient"
pybind/mgr/volumes/fs/volume.py:664: error: Argument 1 to "connection_pool_wrap" has incompatible type "Callable[[VolumeClient, Any, KwArg(Any)], Any]"; expected "VolumeClient"
pybind/mgr/volumes/fs/volume.py:679: error: Argument 1 to "connection_pool_wrap" has incompatible type "Callable[[VolumeClient, Any, KwArg(Any)], Any]"; expected "VolumeClient"
pybind/mgr/zabbix/module.py: note: In member "send" of class "ZabbixSender":
pybind/mgr/zabbix/module.py:45: error: On Python 3 '%s' % b'abc' produces "b'abc'"; use %r if this is a desired behavior
pybind/mgr/zabbix/module.py: note: In member "init_module_config" of class "Module":
pybind/mgr/zabbix/module.py:53: error: Need type annotation for 'config' (hint: "config: Dict[<type>, <type>] = ...")
pybind/mgr/zabbix/module.py: note: In member "set_config_option" of class "Module":
pybind/mgr/zabbix/module.py:53: error: Need type annotation for 'config' (hint: "config: Dict[<type>, <type>] = ...")
pybind/mgr/zabbix/module.py: note: In member "_parse_zabbix_hosts" of class "Module":
pybind/mgr/zabbix/module.py:53: error: Need type annotation for 'config' (hint: "config: Dict[<type>, <type>] = ...")
pybind/mgr/zabbix/module.py: note: In member "send" of class "Module":
pybind/mgr/zabbix/module.py:53: error: Need type annotation for 'config' (hint: "config: Dict[<type>, <type>] = ...")
pybind/mgr/zabbix/module.py: note: In member "handle_command" of class "Module":
pybind/mgr/zabbix/module.py:53: error: Need type annotation for 'config' (hint: "config: Dict[<type>, <type>] = ...")
pybind/mgr/zabbix/module.py: note: In member "serve" of class "Module":
pybind/mgr/zabbix/module.py:53: error: Need type annotation for 'config' (hint: "config: Dict[<type>, <type>] = ...")
pybind/mgr/zabbix/module.py: note: In class "Module":
pybind/mgr/zabbix/module.py:53: error: Need type annotation for 'config' (hint: "config: Dict[<type>, <type>] = ...")
pybind/mgr/zabbix/module.py: note: In member "_parse_zabbix_hosts" of class "Module":
pybind/mgr/zabbix/module.py:55: error: Need type annotation for '_zabbix_hosts' (hint: "_zabbix_hosts: List[<type>] = ...")
pybind/mgr/zabbix/module.py: note: In member "send" of class "Module":
pybind/mgr/zabbix/module.py:55: error: Need type annotation for '_zabbix_hosts' (hint: "_zabbix_hosts: List[<type>] = ...")
pybind/mgr/zabbix/module.py: note: In class "Module":
pybind/mgr/zabbix/module.py:55: error: Need type annotation for '_zabbix_hosts' (hint: "_zabbix_hosts: List[<type>] = ...")
pybind/mgr/zabbix/module.py: note: In member "config_keys" of class "Module":
pybind/mgr/zabbix/module.py:59: error: Value of type "object" is not indexable
pybind/mgr/zabbix/module.py:59: error: "object" has no attribute "get"
pybind/mgr/zabbix/module.py: note: In member "get_pg_stats" of class "Module":
pybind/mgr/zabbix/module.py:186: error: Invalid index type "str" for "str"; expected type "Union[int, slice]"
pybind/mgr/zabbix/module.py:190: error: Unsupported operand types for + ("int" and "str")
pybind/mgr/zabbix/module.py:190: error: Invalid index type "str" for "str"; expected type "Union[int, slice]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.