sparse-intern-71089
11/17/2023, 3:45 PMdry-keyboard-94795
11/17/2023, 4:31 PMget_object
isn't strongly typed, as it can be used to get a variety of different types.
It's a type hint error, so doesn't block runtime code.
To fix, you need to let your code know what the object will be by doing:
subnet_ids: list[str] = config.get_object("subnet_ids")
dry-keyboard-94795
11/17/2023, 4:32 PMdry-keyboard-94795
11/17/2023, 4:34 PMrequire_object
too if you expect the config to always be sethelpful-continent-37250
11/17/2023, 10:04 PMcast(Sequence[str], config.cluster_subnet_ids)