class_docstr: This class defines methods to generate RestartStrategyConfigurations. These configurations are
  used to create RestartStrategies at runtime.
  
  The RestartStrategyConfigurations are used to decouple the core module from the runtime module.
class_docstr_tok: ["This","class","defines","methods","to","generate","RestartStrategyConfigurations",".","These","configurations","are","used","to","create","RestartStrategies","at","runtime",".","The","RestartStrategyConfigurations","are","used","to","decouple","the","core","module","from","the","runtime","module","."]
docstr: Generates NoRestartStrategyConfiguration.
  
  :return: The :class:`NoRestartStrategyConfiguration`.
docstr_tok: ["Generates","NoRestartStrategyConfiguration",".",":","return",":","The",":","class",":","`","NoRestartStrategyConfiguration","`","."]
code: def no_restart() -> "NoRestartStrategyConfiguration":
      """
      Generates NoRestartStrategyConfiguration.
  
      :return: The :class:`NoRestartStrategyConfiguration`.
      """
      return RestartStrategies.NoRestartStrategyConfiguration()
  
file_path: flink/flink-python/pyflink/common/restart_strategy.py
imports: from abc import ABCMeta
  from datetime import timedelta
  from typing import Optional
  from py4j.java_gateway import get_java_class
  from pyflink.java_gateway import get_gateway
  from pyflink.util.java_utils import to_j_flink_time, from_j_flink_time
label_desc: Use image node_id 2 for calling the RestartStrategies obj's underlying member method code with example usage: obj.no_restart() and returns: RestartStrategies