The function that's being called here is an API hook defined by oslo.config. The best solution is to figure out some way to return the right kind of object from that function, with the understanding that at the point it is being called oslo.config is available because it's oslo.config that's calling the function.
The function that's being called here is an API hook defined by oslo.config. The best solution is to figure out some way to return the right kind of object from that function, with the understanding that at the point it is being called oslo.config is available because it's oslo.config that's calling the function.