| 20 | |
| 21 | |
| 22 | class Context: |
| 23 | def __init__(self, |
| 24 | engine: Engine, |
| 25 | connection: Connection, |
| 26 | scope: ToolScope, |
| 27 | scope_config: ScopeConfig, |
| 28 | options: dict = None): |
| 29 | self.engine = engine |
| 30 | self.connection = connection |
| 31 | self.scope = scope |
| 32 | self.scope_config = scope_config |
| 33 | self.options = options or {} |
| 34 | self._engine = None |
| 35 | |
| 36 | @property |
| 37 | def incremental(self) -> bool: |
| 38 | return self.options.get('incremental') is True |
no outgoing calls