| 3433 | |
| 3434 | |
| 3435 | class AliasOption(interfaces.LoaderOption): |
| 3436 | inherit_cache = False |
| 3437 | |
| 3438 | @util.deprecated( |
| 3439 | "1.4", |
| 3440 | "The :class:`.AliasOption` object is not necessary " |
| 3441 | "for entities to be matched up to a query that is established " |
| 3442 | "via :meth:`.Query.from_statement` and now does nothing.", |
| 3443 | ) |
| 3444 | def __init__(self, alias: Union[Alias, Subquery]): |
| 3445 | r"""Return a :class:`.MapperOption` that will indicate to the |
| 3446 | :class:`_query.Query` |
| 3447 | that the main table has been aliased. |
| 3448 | |
| 3449 | """ |
| 3450 | |
| 3451 | def process_compile_state(self, compile_state: _ORMCompileState) -> None: |
| 3452 | pass |
| 3453 | |
| 3454 | |
| 3455 | class BulkUD: |