/opt/alt/python27/lib/python2.7/site-packages/alembic/testing
Edit: /opt/alt/python27/lib/python2.7/site-packages/alembic/testing/config.pyc (3252B)
Ñò
ŒM!Vc @ s\ d Z d d k 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 i ƒ Z h 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 | | | | ƒ } | | i | i i <| | i | i i | i i f <| | i | i <| 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 | i i a | i a | i a | i a | i 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: t p
t d ‚ | i t | t i t i t i ƒ ƒ d S( Ns* Can't push without a default Config set up( R t AssertionErrort pushR R R R ( R R ( ( sG /opt/alt/python27/lib/python2.7/site-packages/alembic/testing/config.pyt push_engine; s c C s! | i i t ƒ | i | ƒ 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 s3 | i o% | i | i d ƒ | i i ƒ 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" t | i i ƒ ƒ D] } | Vq Wd S( N( t setR t values( R R
( ( sG /opt/alt/python27/lib/python2.7/site-packages/alembic/testing/config.pyt all_configsN s c c s# x | i ƒ D] } | i Vq
Wd S( N( R R ( R R
( ( sG /opt/alt/python27/lib/python2.7/site-packages/alembic/testing/config.pyt all_dbsS s
( t __name__t
__module__R t collectionst dequeR R t classmethodR R R R R R R ( ( ( sG /opt/alt/python27/lib/python2.7/site-packages/alembic/testing/config.pyR s
(
t __doc__R! t Nonet requirementsR R R R R R R t objectR ( ( ( sG /opt/alt/python27/lib/python2.7/site-packages/alembic/testing/config.pyt
s