Marks the given extension as absent for the given driver instance. This API is designed for private usage. Args: ext_name: extension name Returns: self instance for chaining
(self, ext_name: str)
| 456 | return self |
| 457 | |
| 458 | def mark_extension_absence(self, ext_name: str) -> Self: |
| 459 | """ |
| 460 | Marks the given extension as absent for the given driver instance. |
| 461 | This API is designed for private usage. |
| 462 | |
| 463 | Args: |
| 464 | ext_name: extension name |
| 465 | |
| 466 | Returns: |
| 467 | self instance for chaining |
| 468 | """ |
| 469 | logger.debug(f'Marking driver extension "{ext_name}" as absent for the current instance') |
| 470 | self._absent_extensions.add(ext_name) |
| 471 | return self |
| 472 | |
| 473 | def _add_commands(self) -> None: |
| 474 | # call the overridden command binders from all mixin classes except for |
no outgoing calls
no test coverage detected