hello, I am trying to understand
the following code from sqlalchemy-drill:
|
from sqlalchemy.dialects import registry |
|
|
| registry.register("drill", "sqlalchemy_drill.sadrill", "DrillDialect_sadrill") |
| registry.register("drill.sadrill", "sqlalchemy_drill.sadrill", "DrillDialect_sadrill") |
|
|
| registry.register("drill.jdbc", "sqlalchemy_drill.jdbc", "DrillDialect_jdbc") |
|
and in looking over
sqlalchemy.dialects one can see that registry is an instance of util.PluginLoader:
|
registry = util.PluginLoader("sqlalchemy.dialects", auto_fn=_auto_fn) |
|
However, none of that makes it clear to me what the 3 arguments to .register() above represent.
If there is documentation on this subject, I would appreciate being pointed to it.
If there is documentation in the code on this subject please point me to it and accept my apologies.