original_docstring: Create a new Parameters object from cast values. This is useful
          primarily for testing
  
          >>> Parameters.from_cast_values(time_target=1.0, fake_data=True)
          
docstring: Create a new Parameters object from cast values. This is useful
  primarily for testing
  
  
docstring_tokens: Create a new Parameters object from cast values . This is useful primarily for testing
code: def from_cast_values(cls, **kwargs):
          """Create a new Parameters object from cast values. This is useful
          primarily for testing
  
          >>> Parameters.from_cast_values(time_target=1.0, fake_data=True)
          """
          params = Parameters(source=None, cast_values=True)
          for key, val in kwargs.items():
              value_type = type(val).__name__
              value_str = str(val).lower() if value_type == 'bool' else str(val)
              params.add_entry(
                  key, {
                      'value': value_str,
                      'section': '',
                      'readableName': '',
                      'helpTip': '',
                      'recommended_values': '',
                      'type': value_type
                  })
          return params
code_tokens: def from_cast_values ( cls , ** kwargs ) : params = Parameters ( source = None , cast_values = True ) for key , val in kwargs . items ( ) : value_type = type ( val ) . __name__ value_str = str ( val ) . lower ( ) if value_type == 'bool' else str ( val ) params . add_entry ( key , { 'value' : value_str , 'section' : '' , 'readableName' : '' , 'helpTip' : '' , 'recommended_values' : '' , 'type' : value_type } ) return params
short_docstring: Create a new Parameters object from cast values.
short_docstring_tokens: Create a new Parameters object from cast values .
comment: """Create a new Parameters object from cast values. This is useful
          primarily for testing
  
          >>> Parameters.from_cast_values(time_target=1.0, fake_data=True)
          """