3188f796f9deed2310ba372b2e8d0ad35dc1e3ef,homeassistant/components/cast/config_flow.py,FlowHandler,async_step_confirm,#FlowHandler#Any#,76

Before Change


    async def async_step_confirm(self, user_input=None):
        Confirm the setup.

        data = {CONF_KNOWN_HOSTS: self._known_hosts}

        if user_input is not None:
            return self.async_create_entry(title="Google Cast", data=data)

After Change


    async def async_step_confirm(self, user_input=None):
        Confirm the setup.

        data = self._get_data()

        if user_input is not None:
            return self.async_create_entry(title="Google Cast", data=data)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: home-assistant/home-assistant
Commit Name: 3188f796f9deed2310ba372b2e8d0ad35dc1e3ef
Time: 2021-03-25
Author: erik@montnemery.com
File Name: homeassistant/components/cast/config_flow.py
Class Name: FlowHandler
Method Name: async_step_confirm


Project Name: sony/nnabla
Commit Name: ffdd950970c5953e351fa88795fe916b3465d813
Time: 2018-06-13
Author: Yukio.Oobuchi@sony.com
File Name: python/src/nnabla/utils/data_source_implements.py
Class Name: CacheDataSource
Method Name: _get_data


Project Name: dmlc/gluon-nlp
Commit Name: 297e14732849f2b8025de6e2bf80ac05cab82b44
Time: 2019-11-27
Author: lausen@amazon.com
File Name: src/gluonnlp/data/corpora/google_billion_word.py
Class Name: GBWStream
Method Name: __init__


Project Name: home-assistant/home-assistant
Commit Name: 3188f796f9deed2310ba372b2e8d0ad35dc1e3ef
Time: 2021-03-25
Author: erik@montnemery.com
File Name: homeassistant/components/cast/config_flow.py
Class Name: FlowHandler
Method Name: async_step_import