libraries/botbuilder-azure/botbuilder/azure/cosmosdb_storage.py
def __create_si(self, result) -> StoreItem:
        """Create a StoreItem from a result out of CosmosDB.

        :param result:
        :return StoreItem:
        """
        # get the document item from the result and turn into a dict
        doc = result.get('document')
        # readd the e_tag from Cosmos
        doc['e_tag'] = result.get('_etag')
        # create and return the StoreItem
        return StoreItem(**doc)
def __create_si(self, result) -> StoreItem:
        # get the document item from the result and turn into a dict
        doc = result.get('document')
        # readd the e_tag from Cosmos
        doc['e_tag'] = result.get('_etag')
        # create and return the StoreItem
        return StoreItem(**doc)
def __create_si ( self , result ) -> StoreItem : # get the document item from the result and turn into a dict doc = result . get ( 'document' ) # readd the e_tag from Cosmos doc [ 'e_tag' ] = result . get ( '_etag' ) # create and return the StoreItem return StoreItem ( * * doc )
Create a StoreItem from a result out of CosmosDB.

        :param result:
        :return StoreItem:
Create a StoreItem from a result out of CosmosDB .