관리-도구
편집 파일: __init__.cpython-38.pyc
U -?�f� � @ s� d dl mZ d dlmZ d dlmZ d dlmZ d dlmZ ddlmZ erXddl m Z d Zd dd�d d�Zej ded�Ze� d�ZdS )� )�annotations)�Callable)�Optional)�Type)� TYPE_CHECKING� )�util)�Dialect)Zmssql�mysql�oracle� postgresqlZsqlite�strz%Optional[Callable[[], Type[Dialect]]])�name�returnc s� d| kr| � d�\}}n| }d}z@|dkrDtd�jjj� � �|�W S td|f �j� t� |�� W n tk rv Y dS X t� |�r�t� |�� � fdd�S dS dS ) zedefault dialect importer. plugs into the :class:`.PluginLoader` as a first-hit system. �.�base�mariadbz!sqlalchemy.dialects.mysql.mariadbzsqlalchemy.dialects.%sNc s � j S )N)�dialect� ��moduler �L/opt/hc_python/lib64/python3.8/site-packages/sqlalchemy/dialects/__init__.py�<lambda>6 � z_auto_fn.<locals>.<lambda>) �split� __import__Zdialectsr r �loader�getattr�ImportError�hasattr)r r Zdriverr r r �_auto_fn s$ � r zsqlalchemy.dialects)Zauto_fnzsqlalchemy.pluginsN)� __future__r �typingr r r r � r Zengine.interfacesr �__all__r ZPluginLoader�registry�pluginsr r r r �<module> s $