python_modules/dagster/dagster/core/definitions/decorators.py
def from_dict(result_dict):
        '''Create a new ``MultipleResults`` object from a dictionary.
        
        Keys of the dictionary are unpacked into result names.
        
        Args:
            result_dict (dict) - The dictionary to unpack.
        
        Returns:
            (:py:class:`MultipleResults <dagster.MultipleResults>`) A new ``MultipleResults`` object

        '''
        check.dict_param(result_dict, 'result_dict', key_type=str)
        results = []
        for name, value in result_dict.items():
            results.append(Result(value, name))
        return MultipleResults(*results)
def from_dict(result_dict):
        '''Create a new ``MultipleResults`` object from a dictionary.
        
        Keys of the dictionary are unpacked into result names.
        
        Args:
            result_dict (dict) - The dictionary to unpack.
        
        Returns:
            (:py:class:`MultipleResults <dagster.MultipleResults>`) A new ``MultipleResults`` object

        '''
        check.dict_param(result_dict, 'result_dict', key_type=str)
        results = []
        for name, value in result_dict.items():
            results.append(Result(value, name))
        return MultipleResults(*results)
def from_dict ( result_dict ) : check . dict_param ( result_dict , 'result_dict' , key_type = str ) results = [ ] for name , value in result_dict . items ( ) : results . append ( Result ( value , name ) ) return MultipleResults ( * results )
Create a new ``MultipleResults`` object from a dictionary.
        
        Keys of the dictionary are unpacked into result names.
        
        Args:
            result_dict (dict) - The dictionary to unpack.
        
        Returns:
            (:py:class:`MultipleResults <dagster.MultipleResults>`) A new ``MultipleResults`` object
Create a new MultipleResults object from a dictionary . Keys of the dictionary are unpacked into result names . Args : result_dict ( dict ) - The dictionary to unpack . Returns : ( : py : class : MultipleResults <dagster . MultipleResults > ) A new MultipleResults object