%PDF- %PDF-
Direktori : /opt/alt/python27/lib/python2.7/site-packages/alembic/testing/ |
Current File : //opt/alt/python27/lib/python2.7/site-packages/alembic/testing/config.pyo |
� �M!Vc @ s\ d Z d d l Z d Z d a d a d a d Z d a d a d a d e f d � � YZ d S( s� NOTE: copied/adapted from SQLAlchemy master for backwards compatibility; this should be removable when Alembic targets SQLAlchemy 1.0.0 i����Nt Configc B s� e Z d � Z e j � Z i Z e d � � Z e d � � Z e d � � Z e d � � Z e d � � Z e d � � Z e d � � Z RS( c C s: | | _ | | _ | | _ | | _ d | _ d | _ d S( Nt test_schemat test_schema_2( t dbt db_optst optionst file_configR R ( t selfR R R R ( ( sG /opt/alt/python27/lib/python2.7/site-packages/alembic/testing/config.pyt __init__ s c C s[ t | | | | � } | | j | j j <| | j | j j | j j f <| | j | j <| S( s� add a config as one of the global configs. If there are no configs set up yet, this config also gets set as the "_current". ( R t _configsR t namet dialect( t clsR R R R t cfg( ( sG /opt/alt/python27/lib/python2.7/site-packages/alembic/testing/config.pyt register# s c C s: | a | j j a | j a | j a | j a | j a d S( N( t _currentR t urlt db_urlR R R ( R t config( ( sG /opt/alt/python27/lib/python2.7/site-packages/alembic/testing/config.pyt set_as_current1 s c C s) | j t | t j t j t j � � d S( N( t pushR R R R R ( R R ( ( sG /opt/alt/python27/lib/python2.7/site-packages/alembic/testing/config.pyt push_engine; s c C s! | j j t � | j | � d S( N( t _stackt appendR R ( R R ( ( sG /opt/alt/python27/lib/python2.7/site-packages/alembic/testing/config.pyR C s c C s1 | j r- | j | j d � | j j � n d S( Ni ( R R t clear( R ( ( sG /opt/alt/python27/lib/python2.7/site-packages/alembic/testing/config.pyt resetH s c c s) x"