def METHOD_NAME(self, extruder_position: int) -> None:
    # Updates the material container to a material that matches the material diameter set for the printer
    self._application.getMachineManager().updateMaterialWithVariant(str(extruder_position))