MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _init_path

Method _init_path

lib/sqlalchemy/orm/strategy_options.py:1681–1691  ·  view source on GitHub ↗

Apply ORM attributes and/or wildcard to an existing path, producing a new path. This method is used within the :meth:`.create` method to initialize a :class:`._LoadElement` object.

(
        self, path, attr, wildcard_key, attr_group, raiseerr, extra_criteria
    )

Source from the content-addressed store, hash-verified

1679 return effective_path
1680
1681 def _init_path(
1682 self, path, attr, wildcard_key, attr_group, raiseerr, extra_criteria
1683 ):
1684 """Apply ORM attributes and/or wildcard to an existing path, producing
1685 a new path.
1686
1687 This method is used within the :meth:`.create` method to initialize
1688 a :class:`._LoadElement` object.
1689
1690 """
1691 raise NotImplementedError()
1692
1693 def _prepare_for_compile_state(
1694 self,

Callers 1

createMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected