Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure you want to rename?
File Manager
/
ALFA_DATA
/
alfasymlink
/
root
/
opt
/
alt
/
python27
/
lib64
/
python2.7
/
site-packages
/
sqlalchemy
/
engine
:
reflection.pyo
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
� ��4]c @ s� d Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z e j d � � Z d e f d � � YZ d S( s� Provides an abstraction for obtaining database schema information. Usage Notes: Here are some general conventions when accessing the low level inspector methods such as get_table_names, get_columns, etc. 1. Inspector methods return lists of dicts in most cases for the following reasons: * They're both standard types that can be serialized. * Using a dict instead of a tuple allows easy expansion of attributes. * Using a list for the outer structure maintains order and is easy to work with (e.g. list comprehension [d['name'] for d in cols]). 2. Records that contain a name, such as the column name in a column record use the key 'name'. So for most return values, each record will have a 'name' attribute.. i ( t Connectablei ( t exc( t inspection( t sql( t util( t operators( t schema( t TypeEngine( t deprecated( t topologicalc O s� | j d d � } | d k r1 | | | | | � S| j t d � | D� � t d � | j � D� � f } | j | � } | d k r� | | | | | � } | | | <n | S( Nt info_cachec s s'