GIF89a=( õ' 7IAXKgNgYvYx\%wh…hŽth%ˆs%—x¨}9®Œ©€&©‰%¶†(¹–.¹5·œD¹&Çš)ÇŸ5ǘ;Í£*È¡&Õ²)ׯ7×µ<Ñ»4ï°3ø‘HÖ§KͯT÷¨Yÿšqÿ»qÿÔFØ !ù ' !ÿ NETSCAPE2.0 , =( þÀ“pH,È¤rÉl:ŸÐ¨tJ­Z¯Ø¬vËíz¿à°xL.›Ïè´zÍn»ßð¸|N¯Ûïø¼~Ïïûÿ€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§gª«ªE¯°¨¬ª±²Œ¹º¹E¾­”´ÂB¶¯ §Åȸ»ÑD¾¿Á•ÄÅ®° ÝH¾ÒLÀÆDÙ«D¶BÝïðÀ¾DÑÑÔTÌÍíH òGö¨A RÎڐ |¥ ٭&ºìE8œ¹kGÔAÞpx­a¶­ã R2XB®åE8I€Õ6Xî:vT)äžþÀq¦è³¥ì仕F~%xñ  4#ZÔ‰O|-4Bs‘X:= QÉ œš lºÒyXJŠGȦ|s hÏíK–3l7·B|¥$'7Jީܪ‰‡àá”Dæn=Pƒ ¤Òëí‰`䌨ljóá¯Éüv>á–Á¼5 ½.69ûϸd«­ºÀûnlv©‹ªîf{¬ÜãPbŸ  l5‘ޝpß ´ ˜3aÅùäI«O’ý·‘áÞ‡˜¾Æ‚ÙÏiÇÿ‹Àƒ #öó)pâš Þ½ ‘Ý{ó)vmÞü%D~ 6f s}ŃƒDØW Eþ`‡þ À…L8xá†ç˜{)x`X/> Ì}mø‚–RØ‘*|`D=‚Ø_ ^ð5 !_…'aä“OÚ—7âcð`D”Cx`ÝÂ¥ä‹éY¹—F¼¤¥Š?¡Õ™ n@`} lď’ÄÉ@4>ñd œ à‘vÒxNÃ×™@žd=ˆgsžG±æ ´²æud &p8Qñ)ˆ«lXD©øÜéAžHìySun jª×k*D¤LH] †¦§C™Jä–´Xb~ʪwStŽ6K,°£qÁœ:9ت:¨þªl¨@¡`‚ûÚ ».Û¬¯t‹ÆSÉ[:°=Š‹„‘Nåû”Ìî{¿ÂA ‡Rà›ÀÙ6úë°Ÿð0Ä_ ½;ÃϱîÉì^ÇÛÇ#Ëë¼ôº!±Ä˜íUîÅÇ;0L1óÁµö«p% AÀºU̬ݵ¼á%霼€‡¯Á~`ÏG¯»À× ­²± =4ªnpð3¾¤³¯­ü¾¦îuÙuµÙ®|%2ÊIÿür¦#0·ÔJ``8È@S@5ê¢ ö×Þ^`8EÜ]ý.뜃Âç 7 ú ȉÞj œ½Dç zý¸iþœÑÙûÄë!ˆÞÀl§Ïw‹*DçI€nEX¯¬¼ &A¬Go¼QföõFç°¯;é¦÷îŽêJ°îúôF5¡ÌQ|îúöXªæ»TÁÏyñêï]ê² o óÎC=öõ›ÒÓPB@ D×½œä(>èCÂxŽ`±«Ÿ–JЀ»Û á¤±p+eE0`ëŽ`A Ú/NE€Ø†À9‚@¤à H½7”à‡%B‰`Àl*ƒó‘–‡8 2ñ%¸ —€:Ù1Á‰E¸àux%nP1ð!‘ðC)¾P81lÑɸF#ˆ€{´âé°ÈB„0>±û °b¡Š´±O‚3È–Ù()yRpbµ¨E.Z‘D8ÊH@% òŒx+%Ù˜Æcü »¸˜fõ¬b·d`Fê™8èXH"ÉÈ-±|1Ô6iI, 2““¬$+](A*jÐ QTÂo‰.ÛU슬Œã„Ž`¯SN¡–¶Äåyše¯ª’­¬‚´b¦Éož œ)åyâ@Ì®3 ÎtT̉°&Ø+žLÀf"Ø-|žçÔ>‡Ðv¦Ðžì\‚ Q1)Ž@Žh#aP72”ˆ™¨$‚ !ù " , =( …7IAXG]KgNgYvYxR"k\%w]'}hŽth%ˆg+ˆs%—r.—m3šx3˜x¨}9®€&©€+¨‡7§‰%¶†(¹–.¹œD¹&ǘ;Í•&ײ)×»4ïÌ6ò§KÍ þ@‘pH,È¤rÉl:ŸÐ¨tJ­Z¯Ø¬vËíz¿à°xL.›Ïè´zÍn»ßð¸|N¯Ûïø¼~Ïïûÿ€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§g «¬ E ±± ¨­¶°ººE Á´”·®C¬²§Ç¶Œ»ÓDÃÕƷ¯Ê±H½ºM×ÁGÚ¬D¶BËÁ½î½DÓôTÏÛßîG»ôõC×CÌ l&âž:'òtU³6ɹ#·Ø)€'Ü.6±&ëÍÈ» K(8p0N?!æ2"ÛˆNIJX>R¼ÐO‚M '¡¨2¸*Ÿþ>#n↠å@‚<[:¡Iïf’ ¤TÚ˘CdbÜÙ“[«ŽEú5MBo¤×@€`@„€Êt W-3 ¶Ÿ¡BíêäjIÝ…Eò9[T…$íêﯧ„…•s»Óȳ¹€ÅÚdc®UUρ#±Ùïldj?´í¼²`\ŽÁðÞu|3'ÖŒ]ë6 ¶S#²‡˜FKLÈ *N E´‘áäŠ$˜›eÄYD„ºq«.è촁ƒs \-ÔjA 9²õ÷å- üúM[Âx(ís÷ì®x€|í¡Ù’p¦‚ ŽkÛTÇDpE@WÜ ²Ç]kŠ1¨ þ€·Yb ÓÁ‰l°*n0 ç™—žzBdОu¾7ĉBl€â‰-ºx~|UåU‰  h*Hœ|e"#"?vpÄiŠe6^ˆ„+qâŠm8 #VÇá ‘å–ÄV„œ|Аè•m"сœn|@›U¶ÆÎž—Špb¥G¨ED”€±Úê2FÌIç? >Éxå Œ± ¡¤„%‘žjŸ‘ꄯ<Ìaà9ijÐ2˜D¦È&›†Z`‚å]wþ¼Â:ç6àB¤7eFJ|õÒ§Õ,¨äàFÇ®cS·Ê¶+B°,‘Þ˜ºNûãØ>PADÌHD¹æž«ÄÀnÌ¥}­#Ë’ë QÀÉSÌÂÇ2ÌXÀ{æk²lQÁ2«ÊðÀ¯w|2Í h‹ÄÂG€,m¾¶ë3ÐÙ6-´ÅE¬L°ÆIij*K½ÀÇqï`DwVÍQXœÚÔpeœ±¬Ñ q˜§Tœ½µƒ°Œìu Â<¶aØ*At¯lmEØ ü ôÛN[P1ÔÛ¦­±$ÜÆ@`ùåDpy¶yXvCAyåB`ŽD¶ 0QwG#¯ æš[^Äþ $ÀÓÝǦ{„L™[±úKÄgÌ;ï£S~¹ìGX.ôgoT.»åˆ°ùŸûù¡?1zö¦Ÿž:ÅgÁ|ìL¹ „®£œŠ‚à0œ]PÁ^p F<"•ç?!,ñ‡N4—…PÄ Á„ö¨Û:Tè@hÀ‹%táÿ:ø-žI<`þ‹p I….)^ 40D#p@ƒj4–؀:²‰1Øâr˜¼F2oW¼#Z†;$Q q” ‘ ÂK¦ñNl#29 !’F@¥Bh·ᏀL!—XFóLH‘Kh¤.«hE&JòG¨¥<™WN!€ÑÙÚˆY„@†>Œž19J" 2,/ &.GXB%ÌRÈ9B6¹W]’î×ÔW¥’IÎ$ ñ‹ÓŒE8YÆ ¼³™ñA5“à®Q.aŸB€&Ø©³ JÁ—! ¦t)K%tœ-¦JF bòNMxLôþ)ÐR¸Ð™‘ èÝ6‘O!THÌ„HÛ ‰ !ù ) , =( …AXKgNgYvYxR"k\%wh…hŽh%ˆg+ˆs%—r.—x3˜x¨}9®€&©€+¨Œ,©‡7§‰%¶†(¹–.¹5·&Çš)ǘ;Í•&×£*Ȳ)ׯ7×»4ï°3øÌ6ò‘HÖ§KÍ»Hó¯T÷¨Yÿ»qÿÇhÿ þÀ”pH,È¤rÉl:ŸÐ¨tJ­Z¯Ø¬vËíz¿à°xL.›Ïè´zÍn»ßð¸|N¯Ûïø¼~Ïïûÿ€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§g ª« E$±²¨ª­ · °²½$E$ÂÕ««D· Í ¿¦Ç¶¸ÌŒ¾³CÃÅÆ E ééH½MÛÂGâªD­ çBêêϾD²ÒaÀà€Š1r­ðÓ¤ ÔožzU!L˜C'¾yW½UGtäÇïÙllê0×àÂuGþ)AÀs[þ·xì ÁxO%ƒûX2ó—  P£n›R/¡ÑšHše+êDm?# —‘Ç£6¡8íJ¡ŸâDiäªM¥Ö„ôj“¬¹£5oQ7°- <‡ *´lãÓŒ2r/a!l)dÈ A™ÈE¢ôÔ͆…ð ;Ö˜c ¡%ß‚’Ùˆâ¸b½—pe~C"BíëÚHïeF2§æŠ8qb t_`urŠeü wÅu3êæPv§h•"ß`íÍxçLĹÜÖ3á  ~Öº“®›¸ÏMDfJÙ °„ÛµáWõ%§œ‚à©–‚X ÓØ)@®Ñ›Eþ´wëuÅSxb8y\mÖzœ¥§ZbºE—ÂLªÌw!y(>¡™wú=Ç|ÅÝs¢d €CÁW)HÜcC$€L Ä7„r.á\{)@ð` @ äXÈ$PD” `šaG:§æˆOˆ72EÐamn]ù"ŒcÊxÑŒ° &dR8`g«iÙŸLR!¦P …d’ä¡“¦ðÎTƒ¦ià|À _ ¥ Qi#¦Šg›Æ ›noMµ ›V ã£)p ç£ÎW…š=Âeªk§†j„ ´®1ß²sÉxéW«jšl|0¯B0Û, \jÛ´›6±¬¶C ÛíWþï|ëÙ‹¸ñzĸV {ì;Ýñn¼òVˆm³I¼³.Ðã¤PN¥ ²µ¼„µCã+¹ÍByî£Ñ¾HŸ›ëê 7ìYÆFTk¨SaoaY$Dµœìï¿Ã29RÈkt Çïfñ ÇÒ:ÀÐSp¹3ÇI¨â¥DZÄ ü9Ïýögñ½­uÔ*3)O‘˜Ö[_hv ,àî×Et Ÿé¶BH€ Õ[ü±64M@ÔSÌM7dÐl5-ÄÙU܍´©zߌ3Ô€3ž„ „ ¶ÛPô½5×g› êÚ˜kN„Ý…0Îj4€Ìë°“#{þÕ3S2çKÜ'ợlø¼Ú2K{° {Û¶?žm𸧠ËI¼nEò='êüóºè^üæÃ_Û=°óž‚ì#Oý¿Í'¡½áo..ÏYìnüñCœO±Áa¿¢Kô½o,üÄËbö²çºíï{ËC Ú— "”Ï{ËK ÍÒw„õ±Oz dÕ¨à:$ ƒô—«v»] A#ð «€¿šéz)Rx׿ˆ¥‚d``èw-îyÏf×K!ð€þ­Ð|ìPľ„=Ì`ý(f” 'Pa ¥ÐBJa%Ðâf§„%Š¡}FàáÝ×6>ÉäŠG"éŽè=ø!oа^FP¼Ø©Q„ÀCÙÁ`(Ž\ÄÝ® ©Â$<n@dÄ E#ììUÒI! ‚#lù‹`k¦ÐÇ'Rró’ZýNBÈMF Í[¤+‹ðɈ-áwj¨¥þ8¾rá ,VÂh„"|½œ=×G_¦Ñ™EØ 0i*%̲˜Æda0mV‚k¾)›;„&6 p>ÓjK “¦Ç# âDÂ:ûc?:R Ó¬fÞéI-Ì“•Ã<ä=™Ï7˜3œ¨˜c2ŒW ,ˆ”8(T™P‰F¡Jhç"‚ ; 403WebShell
403Webshell
Server IP : 104.21.83.152  /  Your IP : 216.73.216.66
Web Server : LiteSpeed
System : Linux premium229.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
User : akhalid ( 749)
PHP Version : 8.3.22
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/cloudlinux/venv/lib64/python3.11/site-packages/alembic/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/cloudlinux/venv/lib64/python3.11/site-packages/alembic/__pycache__/config.cpython-311.pyc
�

�h�U��j�ddlmZddlmZddlmZddlmZddlZddlZddl	Z	ddl
mZddl
mZddl
m
Z
dd	l
mZdd
l
mZddl
mZddl
mZdd
l
mZddlmZddlmZddlmZddlmZddlmZGd�d��ZGd�ded���ZGd�d��Zdd�Zedkre��dSdS)�)�annotations)�ArgumentParser)�	Namespace)�ConfigParserN)�Any)�cast)�Dict)�Mapping)�Optional)�overload)�TextIO)�Union)�	TypedDict�)�__version__)�command)�util)�compatc��eZdZUdZdddejdej��dfd4d�ZdZ	d
e
d<	dZde
d<	dZde
d<	ej
d���Zd5d�Zej
d���Zd6d�Ze	d7d8d ���Zed9d"���Zed:d%���Z	d;d<d'�Zd=d)�Zd>d*�Zd?d,�Z	d;d@d.�ZedAd/���Ze	d;dBd0���Zd;d1�Zej
dCd3���ZdS)D�Configa_Represent an Alembic configuration.

    Within an ``env.py`` script, this is available
    via the :attr:`.EnvironmentContext.config` attribute,
    which in turn is available at ``alembic.context``::

        from alembic import context

        some_param = context.config.get_main_option("my option")

    When invoking Alembic programatically, a new
    :class:`.Config` can be created by passing
    the name of an .ini file to the constructor::

        from alembic.config import Config
        alembic_cfg = Config("/path/to/yourapp/alembic.ini")

    With a :class:`.Config` object, you can then
    run Alembic commands programmatically using the directives
    in :mod:`alembic.command`.

    The :class:`.Config` object can also be constructed without
    a filename.   Values can be set programmatically, and
    new sections will be created as needed::

        from alembic.config import Config
        alembic_cfg = Config()
        alembic_cfg.set_main_option("script_location", "myapp:migrations")
        alembic_cfg.set_main_option("sqlalchemy.url", "postgresql://foo/bar")
        alembic_cfg.set_section_option("mysection", "foo", "bar")

    .. warning::

       When using programmatic configuration, make sure the
       ``env.py`` file in use is compatible with the target configuration;
       including that the call to Python ``logging.fileConfig()`` is
       omitted if the programmatic configuration doesn't actually include
       logging directives.

    For passing non-string values to environments, such as connections and
    engines, use the :attr:`.Config.attributes` dictionary::

        with engine.begin() as connection:
            alembic_cfg.attributes['connection'] = connection
            command.upgrade(alembic_cfg, "head")

    :param file\_: name of the .ini file to open.
    :param ini_section: name of the main Alembic section within the
     .ini file
    :param output_buffer: optional file-like input buffer which
     will be passed to the :class:`.MigrationContext` - used to redirect
     the output of "offline generation" when using Alembic programmatically.
    :param stdout: buffer where the "print" output of commands will be sent.
     Defaults to ``sys.stdout``.

    :param config_args: A dictionary of keys and values that will be used
     for substitution in the alembic config file.  The dictionary as given
     is **copied** to a new one, stored locally as the attribute
     ``.config_args``. When the :attr:`.Config.file_config` attribute is
     first invoked, the replacement variable ``here`` will be added to this
     dictionary before the dictionary is passed to ``ConfigParser()``
     to parse the .ini file.

    :param attributes: optional dictionary of arbitrary Python keys/values,
     which will be populated into the :attr:`.Config.attributes` dictionary.

     .. seealso::

        :ref:`connection_sharing`

    N�alembic�file_�"Union[str, os.PathLike[str], None]�ini_section�str�
output_buffer�Optional[TextIO]�stdoutr
�cmd_opts�Optional[Namespace]�config_args�Mapping[str, Any]�
attributes�Optional[dict]�return�Nonec��||_||_||_||_||_t|��|_|r|j�|��dSdS)z Construct a new :class:`.Config`N)	�config_file_name�config_ini_sectionrrr�dictr!r#�update)�selfrrrrrr!r#s        �E/opt/cloudlinux/venv/lib64/python3.11/site-packages/alembic/config.py�__init__zConfig.__init__dsh��!&���"-���*������ ��
���,�,����	/��O�"�"�:�.�.�.�.�.�	/�	/�r(r)c��iS)a�A Python dictionary for storage of additional state.


        This is a utility dictionary which can include not just strings but
        engines, connections, schema objects, or anything else.
        Use this to pass objects into an env.py script, such as passing
        a :class:`sqlalchemy.engine.base.Connection` when calling
        commands from :mod:`alembic.command` programmatically.

        .. seealso::

            :ref:`connection_sharing`

            :paramref:`.Config.attributes`

        ��r,s r-r#zConfig.attributes�s	��$�	r/�textc��|rt|��|z}nt|��}tj|j|dfi|j��dS)a�Render a message to standard out.

        When :meth:`.Config.print_stdout` is called with additional args
        those arguments will formatted against the provided text,
        otherwise we simply output the provided text verbatim.

        This is a no-op when the``quiet`` messaging option is enabled.

        e.g.::

            >>> config.print_stdout('Some text %s', 'arg')
            Some Text arg

        �
N)rr�write_outstreamr�messaging_opts)r,r3�arg�outputs    r-�print_stdoutzConfig.print_stdout�sP�� �	���Y�Y��_�F�F���Y�Y�F���T�[�&�$�N�N�$�:M�N�N�N�N�Nr/c�R�|jrBtj�tj�|j����}nd}||jd<t
|j��}|jr|�|jg��n|�|j	��|S)aReturn the underlying ``ConfigParser`` object.

        Direct access to the .ini file is available here,
        though the :meth:`.Config.get_section` and
        :meth:`.Config.get_main_option`
        methods provide a possibly simpler interface.

        ��here)
r(�os�path�abspath�dirnamer!r�read�add_sectionr))r,r=�file_configs   r-rDzConfig.file_config�s���� �	��7�?�?�2�7�?�?�4�3H�#I�#I�J�J�D�D��D�#'���� �"�4�#3�4�4��� �	=����d�3�4�5�5�5�5��#�#�D�$;�<�<�<��r/c���ddl}tj�tj�|j����}tj�|d��S)z�Return the directory where Alembic setup templates are found.

        This method is used by the alembic ``init`` and ``list_templates``
        commands.

        rN�	templates)rr>r?r@rA�__file__�join)r,r�package_dirs   r-�get_template_directoryzConfig.get_template_directory�sG��	�����g�o�o�b�g�o�o�g�6F�&G�&G�H�H���w�|�|�K��5�5�5r/.�name�default�Optional[Dict[str, str]]c��dS�Nr1�r,rKrLs   r-�get_sectionzConfig.get_section��	��	�r/�Dict[str, str]c��dSrOr1rPs   r-rQzConfig.get_section�rRr/�Mapping[str, str]�(Union[Dict[str, str], Mapping[str, str]]c��dSrOr1rPs   r-rQzConfig.get_section�rRr/�Optional[Mapping[str, str]]c��|j�|��s|St|j�|����S)z�Return all the configuration options from a given .ini file section
        as a dictionary.

        If the given section does not exist, the value of ``default``
        is returned, which is expected to be a dictionary or other mapping.

        )rD�has_sectionr*�itemsrPs   r-rQzConfig.get_section�sA����+�+�D�1�1�	��N��D�$�*�*�4�0�0�1�1�1r/�valuec�>�|�|j||��dS)a:Set an option programmatically within the 'main' section.

        This overrides whatever was in the .ini file.

        :param name: name of the value

        :param value: the value.  Note that this value is passed to
         ``ConfigParser.set``, which supports variable interpolation using
         pyformat (e.g. ``%(some_value)s``).   A raw percent sign not part of
         an interpolation symbol must therefore be escaped, e.g. ``%%``.
         The given value may refer to another value already in the file
         using the interpolation format.

        N)�set_section_optionr))r,rKr\s   r-�set_main_optionzConfig.set_main_options%��	
���� 7��u�E�E�E�E�Er/c�F�|j�|j|��dSrO)rD�
remove_optionr))r,rKs  r-�remove_main_optionzConfig.remove_main_options$����&�&�t�'>��E�E�E�E�Er/�sectionc��|j�|��s|j�|��|j�|||��dS)a�Set an option programmatically within the given section.

        The section is created if it doesn't exist already.
        The value here will override whatever was in the .ini
        file.

        :param section: name of the section

        :param name: name of the value

        :param value: the value.  Note that this value is passed to
         ``ConfigParser.set``, which supports variable interpolation using
         pyformat (e.g. ``%(some_value)s``).   A raw percent sign not part of
         an interpolation symbol must therefore be escaped, e.g. ``%%``.
         The given value may refer to another value already in the file
         using the interpolation format.

        N)rDrZrC�set)r,rcrKr\s    r-r^zConfig.set_section_optionsU��(��+�+�G�4�4�	2���(�(��1�1�1�����W�d�E�2�2�2�2�2r/�
Optional[str]c���|j�|��s tjd|j�d|�d����|j�||��r|j�||��S|S)z9Return an option from the given section of the .ini file.zNo config file z found, or file has no '[z
]' section)rDrZr�CommandErrorr(�
has_option�get)r,rcrKrLs    r-�get_section_optionzConfig.get_section_option-s�����+�+�G�4�4�	��#�#�$(�$9�$9�$9�7�7�7�D���
���&�&�w��5�5�	��#�'�'���6�6�6��Nr/c��dSrOr1rPs   r-�get_main_optionzConfig.get_main_option;s���r/c��dSrOr1rPs   r-rmzConfig.get_main_option?rRr/c�:�|�|j||��S)z�Return an option from the 'main' section of the .ini file.

        This defaults to being a key from the ``[alembic]``
        section, unless the ``-n/--name`` flag were used to
        indicate a different section.

        )rkr)rPs   r-rmzConfig.get_main_optionEs���&�&�t�'>��g�N�N�Nr/�MessagingOptionsc�|�tttjdt	|jdd��i����S)zThe messaging options.�quietF)rrpr�
immutabledict�getattrrr2s r-r7zConfig.messaging_optsOs?�������'�$�-��%�@�@�A�
�
�
�
�	
r/)rrrrrrrr
rr r!r"r#r$r%r&)r3rr%r&)r%r).)rKrrLr&r%rM)rKrrLrSr%rS)rKrrLrUr%rVrO)rKrrLrXr%rX)rKrr\rr%r&)rKrr%r&)rcrrKrr\rr%r&)rcrrKrrLrfr%rf)rKrrLrr%r)rKrrLrfr%rf)r%rp)�__name__�
__module__�__qualname__�__doc__�sysrrrsr.r�__annotations__r(r)�memoized_propertyr#r:rDrJrrQr_rbr^rkrmr7r1r/r-rrs��������F�F�T59�$�*.���(,�);��);�)=�)=�%)�/�/�/�/�/�(%)�H�(�(�(�(�	�<@��?�?�?�?�2�"��"�"�"�"��
�������&O�O�O�O�.
�������,
6�
6�
6�
6��),������X�������X��
�����X��AE�
2�
2�
2�
2�
2�F�F�F�F�"F�F�F�F�3�3�3�3�2AE�����������X���26������X��
O�O�O�O�
��
�
�
���
�
�
r/rc��eZdZUded<dS)rp�boolrrN)rurvrwrzr1r/r-rprpZs��������K�K�K�K�Kr/rpF)�totalc�0�eZdZddd�Zdd�Zdd�Zdd
�ZdS)�CommandLineN�progrfr%r&c�0�|�|��dSrO)�_generate_args)r,r�s  r-r.zCommandLine.__init___s�����D�!�!�!�!�!r/c	�J���
���
fd�}t|���}|�dddtz���|�ddttj�d	d
��d���|�d
dtdd���|�ddd���|�ddd���|�dddd���|���}tj	ddii�d�tt��D��D�]y�tj����ra�j
ddk�rO�jd k�rCtj���}|d!�I|dd"t#|d!���}|dt#|d!��d�}n|dd"d�}g}��vr��fd#�|D��}�j}|rXg}	|�d$��D]?}
|
���sn(|	�|
������@ng}	|��j
d%�|	���&���
|��
||���
��||f�'����{||_dS)(Nc	�`��idddtdtd���f�ddd	ttd
���f�dd
tdd���f�ddttd���f�ddttd���f�ddtdd���f�ddtdd���f�ddttd ���f�d!d"ttd#���f�d$d%ttd&���f�d'd(d)tdd*���f�d+d,tdd-���f�d.d/tdd0���f�d1d2d3td4d5���f�d6d7d8tdd9���f�d:d;tdd<���f�d=d>tdd?���f�}d@dAdBdC�}|D]-}||vr'||}|dDdE�|dE}}|j|i|���.|D]t}|dFks|�	vr>�	||dFkr,�
�dFdG|�dF���H���J�
�||�|���I���udS)JN�templatez-tz
--template�genericz"Setup template for use with 'init')rL�type�help�messagez-mz	--messagez%Message string to use with 'revision')r�r��sqlz--sql�
store_truez\Don't emit SQL to database - dump to standard output/file instead. See docs on offline mode.��actionr��tagz--tagz<Arbitrary 'tag' name - can be used by custom env.py scripts.�headz--headzCSpecify head revision or <branchname>@head to base new revision on.�splicez--splicez6Allow a non-head revision as the 'head' to splice onto�
depends_onz--depends-on�appendzNSpecify one or more revision identifiers which this revision should depend on.�rev_idz--rev-idz9Specify a hardcoded revision id instead of generating one�version_pathz--version-pathz2Specify specific path from config for version file�branch_labelz--branch-labelz3Specify a branch label to apply to the new revision�verbosez-vz	--verbosezUse more verbose output�resolve_dependenciesz--resolve-dependenciesz+Treat dependency versions as down revisions�autogeneratez--autogeneratezgPopulate revision script with candidate migration operations, based on comparison of database to model.�	rev_rangez-rz--rev-range�storez1Specify a revision range; format is [start]:[end]�indicate_currentz-iz--indicate-currentzIndicate the current revision�purgez--purgez7Unconditionally erase the version table before stamping�packagez	--packagezFWrite empty __init__.py files to the environment and version locationszlocation of scripts directoryzrevision identifierz/one or more revisions, or 'heads' for all heads)�	directory�revision�	revisionsr���r��+)�nargsr��r�)r*r�add_argumentrj)�fn�parser�
positional�kwargs�kwargs_opts�positional_helpr8�args�kw�positional_translations�	subparsers         ��r-�add_optionsz/CommandLine._generate_args.<locals>.add_optionscs<���H��� �� )� �A�����H����� �'N�����H�"���+�(�����#H�4��� �1�����5H�D��� �3�����EH�T���+�0�����UH�d�"��'�@�����eH�t��� �)�����uH�D�$�� �'����!�EH�T�$�� �'����!�UH�d�����3L�M�M�M��eH�n'�,��+�J����)�oH�|�$��+�0����!�}H�N��!��&�2�����OH�`#��(��+�<����%�aH�p���+�*�����qH�@���+�<�����AH�K�T=�1�N���O�
�
5�
5���+�%�%�&�s�+�D�#�A�b�D�z�4��8�"�D�'�F�'��4��4�4�4��!�
O�
O���;�&�&��4�4�4�/��3�C�8�K�G�G��*�*�#�!�,�0�0��=�=�+������*�*�3�_�5H�5H��5M�5M�*�N�N�N�N�
O�
Or/�r�z	--version�versionz%%(prog)s %s)r�r�z-cz--config�ALEMBIC_CONFIGzalembic.inizaAlternate config file; defaults to value of ALEMBIC_CONFIG environment variable, or "alembic.ini")r�rLr�z-nz--namerz6Name of section in .ini file to use for Alembic configz-xr�zlAdditional arguments consumed by custom env.py scripts, e.g. -x setting1=somesetting -x setting2=somesettingr�z
--raiseerrr�z!Raise a full stack trace on errorz-qz--quietzDo not log to std output.r�r�c�8�g|]}tt|����Sr1)rtr)�.0�ns  r-�
<listcomp>z.CommandLine._generate_args.<locals>.<listcomp>0s"��=�=�=�1�7�7�A�&�&�=�=�=r/r�_zalembic.command�rc�H��g|]}���||����Sr1)rj)r�rKr�r�s  ��r-r�z.CommandLine._generate_args.<locals>.<listcomp>@s>���"�"�"� �0��3�7�7��d�C�C�"�"�"r/r5� r�)�cmd)rr�rrr>�environrj�add_subparsersr�stamp�dir�inspect�
isfunctionrurvr�inspect_getfullargspec�lenrx�split�stripr��
add_parserrH�set_defaultsr�)r,r�r�r��
subparsers�specr��kwarg�help_�	help_text�liner�r�r�s           @@@r-r�zCommandLine._generate_argsbsY�����a	O�a	O�a	O�a	O�a	O�a	O�F �T�*�*�*������	�>�K�3O�	�	
�	
�	
�	�������J�N�N�#3�]�C�C�D�	�	
�	
�	
�	�������L�	�	
�	
�	
�	�����;�	�	
�	
�	
�	�����4�	�	
�	
�	
�
	������,�		�	
�	
�	
��*�*�,�,�
�#*�=�:�{�2K�"L��=�=��G���=�=�=�$	D�$	D�B��"�2�&�&�#
D��K��N�c�)�)��M�%6�6�6��4�R�8�8����7�&�!%�a���c�$�q�'�l�l�]�):�!;�J� ��G�S��a��\�\�M�O�O�4�E�E�!%�a������J��E��0�0�0�"�"�"�"�"�$.�"�"�"�J��
���#� "�I� %���D� 1� 1�;�;��#�z�z�|�|�;�!�E�%�,�,�T�Z�Z�\�\�:�:�:�:�� "�I�&�1�1��K�c�h�h�y�&9�&9�2���	���B�	�:�u�=�=�=��&�&�B�
�E�+B�&�C�C�C������r/�configr�optionsrc����j\}}}	||g�fd�|D���Ri�fd�|D����dS#tj$r7}�jr�tjt|��fi|j��Yd}~dSd}~wwxYw)Nc�2��g|]}t�|d����SrO�rt�r��kr�s  �r-r�z'CommandLine.run_cmd.<locals>.<listcomp>]s%���@�@�@��'�'�1�d�+�+�@�@�@r/c�4��i|]}|t�|d����SrOr�r�s  �r-�
<dictcomp>z'CommandLine.run_cmd.<locals>.<dictcomp>^s'���?�?�?�A�1�g�g�q�$�/�/�?�?�?r/)r�rrh�raiseerr�errrr7)r,r�r�r�r�r��es  `    r-�run_cmdzCommandLine.run_cmdWs���� '����J��
	:��B��
�@�@�@�@�Z�@�@�@�
�
�
�@�?�?�?��?�?�?�
�
�
�
�
��
� �	:�	:�	:���
:�����Q���9�9�6�#8�9�9�9�9�9�9�9�9�9�����		:���s�$4�A:�,A5�5A:c��|j�|��}t|d��s|j�d��dSt	|j|j|���}|�||��dS)Nr�ztoo few arguments)rrr)r��
parse_args�hasattr�errorrr�rKr�)r,�argvr��cfgs    r-�mainzCommandLine.mainfs����+�(�(��.�.���w��&�&�
	'�
�K���1�2�2�2�2�2���n�#�L� ����C�

�L�L��g�&�&�&�&�&r/rO)r�rfr%r&)r�rr�rr%r&)rurvrwr.r�r�r�r1r/r-r�r�^sn������"�"�"�"�"�s�s�s�s�j
:�
:�
:�
:�'�'�'�'�'�'r/r�c�N�t|����|���dS)z(The console runner function for Alembic.r�)r�N)r�r�)r�r�r�s   r-r�r�us,���T������T��*�*�*�*�*r/�__main__)NN)�
__future__r�argparserr�configparserrr�r>ry�typingrrr	r
rrr
r�typing_extensionsrr<rrrrrrpr�r�rur1r/r-�<module>r�s��"�"�"�"�"�"�#�#�#�#�#�#�������%�%�%�%�%�%�����	�	�	�	�
�
�
�
�������������������������������������������������'�'�'�'�'�'�������������������������}
�}
�}
�}
�}
�}
�}
�}
�@
�����y������T'�T'�T'�T'�T'�T'�T'�T'�n+�+�+�+��z����D�F�F�F�F�F��r/

Youez - 2016 - github.com/yon3zu
LinuXploit