code: def get_max_devices_per_port_for_storage_bus(self, bus):
          
          if not isinstance(bus, StorageBus):
              raise TypeError("bus can only be an instance of type StorageBus")
          max_devices_per_port = self._call("getMaxDevicesPerPortForStorageBus",
                       in_p=[bus])
          return max_devices_per_port
docs: Returns the maximum number of devices which can be attached to a port
          for the given storage bus.
  
          in bus of type :class:`StorageBus`
              The storage bus type to get the value for.
  
          return max_devices_per_port of type int
              The maximum number of devices which can be attached to the port for the given
              storage bus.