def get_memory(self, dialog_context: 'DialogContext') -> object:
    if (not dialog_context):
        raise TypeError(f'Expecting: DialogContext, but received None')
    settings: dict = dialog_context.context.turn_state.get(scope_path.SETTINGS, None)
    if (not settings):
        settings = self._empty_settings
    return settings
def get_memory(self, dialog_context: 'DialogContext') -> object:
    if (not dialog_context):
        raise TypeError(f'Expecting: DialogContext, but received None')
    settings: dict = dialog_context.context.turn_state.get(scope_path.SETTINGS, None)
    if (not settings):
        settings = self._empty_settings
    return settings