Update the session.
(self, **kwargs)
| 35 | self.update(**kwargs) |
| 36 | |
| 37 | def update(self, **kwargs): |
| 38 | """Update the session.""" |
| 39 | self.prompt = kwargs.get('prompt', self.prompt) |
| 40 | self.gen_config = kwargs.get('gen_config', self.gen_config) |
| 41 | self.step = kwargs.get('step', self.step) |
| 42 | |
| 43 | def __repr__(self) -> str: |
| 44 | """Return a string representation of the Session object.""" |