def delete(self, session_key=None):

        if session_key is None:
            if self.session_key is None:
                return
            session_key = self.session_key

        key = self.table.layer2.build_key_from_values(
            self.table.schema,
            session_key,
            range_key=None
        )
        self.table.layer2.layer1.delete_item(self.table.name, key)
Deletes the current session, or the one specified in ``session_key``.
dataset/ETHPy150Open gtaylor/django-dynamodb-sessions/dynamodb_sessions/backends/dynamodb.py/SessionStore.delete