The arguments used for a call to :meth:`InteractiveShell.run_cell` Stores information about what is going to happen.
| 282 | |
| 283 | |
| 284 | class ExecutionInfo(object): |
| 285 | """The arguments used for a call to :meth:`InteractiveShell.run_cell` |
| 286 | |
| 287 | Stores information about what is going to happen. |
| 288 | """ |
| 289 | raw_cell = None |
| 290 | store_history = False |
| 291 | silent = False |
| 292 | shell_futures = True |
| 293 | |
| 294 | def __init__(self, raw_cell, store_history, silent, shell_futures): |
| 295 | self.raw_cell = raw_cell |
| 296 | self.store_history = store_history |
| 297 | self.silent = silent |
| 298 | self.shell_futures = shell_futures |
| 299 | |
| 300 | def __repr__(self): |
| 301 | name = self.__class__.__qualname__ |
| 302 | raw_cell = ((self.raw_cell[:50] + '..') |
| 303 | if len(self.raw_cell) > 50 else self.raw_cell) |
| 304 | return '<%s object at %x, raw_cell="%s" store_history=%s silent=%s shell_futures=%s>' %\ |
| 305 | (name, id(self), raw_cell, self.store_history, self.silent, self.shell_futures) |
| 306 | |
| 307 | |
| 308 | class ExecutionResult(object): |
no outgoing calls
no test coverage detected