MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _get_plugin_class_for_plugin

Method _get_plugin_class_for_plugin

lib/sqlalchemy/sql/base.py:814–822  ·  view source on GitHub ↗
(
        cls, statement: Executable, plugin_name: str
    )

Source from the content-addressed store, hash-verified

812
813 @classmethod
814 def _get_plugin_class_for_plugin(
815 cls, statement: Executable, plugin_name: str
816 ) -> Optional[Type[CompileState]]:
817 try:
818 return cls.plugins[
819 (plugin_name, statement._effective_plugin_target)
820 ]
821 except KeyError:
822 return None
823
824 @classmethod
825 def plugin_for(

Callers 3

_execute_internalMethod · 0.80
_compile_stateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected