Files
wg-backend-django/dell-env/lib/python3.11/site-packages/sqlparse/__pycache__/cli.cpython-311.pyc

53 lines
7.9 KiB
Plaintext
Raw Normal View History

2023-10-30 14:40:43 +07:00
<EFBFBD>
<06>]dP<00><00>N<00>dZddlZddlZddlmZddlZddlmZd<05>Zd<06>Z dd<07>Z
dS) aeModule that contains the command line app.
Why does this file exist, and why not put this in __main__?
You might be tempted to import things from __main__ later, but that will
cause problems: the code will get executed twice:
- When you run `python -m sqlparse` python will execute
``__main__.py`` as a script. That means there won't be any
``sqlparse.__main__`` in ``sys.modules``.
- When you import __main__ it will get executed again (as a module) because
there's no ``sqlparse.__main__`` in ``sys.modules``.
Also see (1) from http://click.pocoo.org/5/setuptools/#setuptools-integration
<EFBFBD>N)<01> TextIOWrapper)<01> SQLParseErrorc <00><><00>gd<01>}tjddd<04><05><00>}|<01>d<06><00>|<01>ddd d
d <0B> <0C><00>|<01>d dtj<00><0F><00>|<01>d<10><00>}|<02>dddd|d<15>d<16>d<17>|D<00><00><00><00><00><00><00><18><00>|<02>dddd|d<1C>d<16>d<1D>|D<00><00><00><00><00><00><00><18><00>|<02>ddd d!d"d#gd$<24><18><00>|<02>d%d&d'd(d)<29>*<2A><00>|<02>d+d,d-d'd(d.<2E>*<2A><00>|<02>d/d0d1td2<64>3<EFBFBD><00>|<02>d4d5d'd(d6<64>*<2A><00>|<02>d7d8d'd(d9<64>*<2A><00>|<02>d:d;d'd(d<<3C>=<3D><00>|<02>d>d?d'd(d@<40>=<3D><00>|<02>dAdBdCtdD<64>3<EFBFBD><00>|<02>dEdFd(tdG<64>3<EFBFBD><00>|<02>dHdIdJdK<64>L<EFBFBD><00>|S)MN)<03>upper<65>lower<65>
capitalize<EFBFBD> sqlformatzEFormat FILE according to OPTIONS. Use "-" as FILE to read from stdin.z%(prog)s [OPTIONS] FILE, ...)<03>prog<6F> description<6F>usage<67>filenamez-oz --outfile<6C>outfile<6C>FILEz)write output to FILE (defaults to stdout))<03>dest<73>metavar<61>helpz --version<6F>version)<02>actionrzFormatting Optionsz-kz
--keywords<64>CHOICE<43> keyword_casez,change case of keywords, CHOICE is one of {}z, c3<00>@K<00>|]}d<00>|<01><00>V<00><00>dS<00>z"{}"N<><01>format<61><02>.0<EFBFBD>xs <20>e/home/infidel/Sync/TIP/WireGuard/ocp-wg-backend/dell-env/lib/python3.11/site-packages/sqlparse/cli.py<70> <genexpr>z create_parser.<locals>.<genexpr>?<00>.<00><00><00><00>><3E>><3E>1<EFBFBD>f<EFBFBD>m<EFBFBD>m<EFBFBD>A<EFBFBD>&<26>&<26>><3E>><3E>><3E>><3E>><3E>><3E>)rr<00>choicesrz-iz --identifiers<72>identifier_casez/change case of identifiers, CHOICE is one of {}c3<00>@K<00>|]}d<00>|<01><00>V<00><00>dSrrrs rrz create_parser.<locals>.<genexpr>Gr r!z-lz
--language<67>LANG<4E> output_format<61>python<6F>phpzJoutput a snippet in programming language LANG, choices are "python", "php"z--strip-comments<74>strip_comments<74>
store_trueFzremove comments)rr<00>defaultrz-rz
--reindent<6E>reindentzreindent statementsz--indent_width<74> indent_width<74>z(indentation width (defaults to 2 spaces))rr+<00>typerz--indent_after_first<73>indent_after_firstz2indent after first line of statement (e.g. SELECT)z--indent_columns<6E>indent_columnsz<indent all columns by indent_width instead of keyword lengthz-az--reindent_alignedz%reindent statements to aligned format)rr+rz-sz--use_space_around_operatorsz*place spaces around mathematical operatorsz --wrap_after<65>
wrap_afterrz*Column after which lists should be wrappedz --comma_first<73> comma_firstz-Insert linebreak before comma (default False)z
--encoding<6E>encodingzutf-8z*Specify the input encoding (default utf-8))rr+r)
<EFBFBD>argparse<73>ArgumentParser<65> add_argument<6E>sqlparse<73> __version__<5F>add_argument_groupr<00>join<69>int<6E>bool)<03> _CASE_CHOICES<45>parser<65>groups r<00> create_parserrA s<><00><00>4<>4<>4<>M<EFBFBD> <15> $<24> <18>*<2A>-<2D> <06><06><06>F<EFBFBD> <0B><17><17>
<EFBFBD>#<23>#<23>#<23>
<EFBFBD><17><17> <0C>k<EFBFBD> <16><16> 8<> <18>:<3A>:<3A>:<3A>  <0B><17><17><13><18><18>$<24><18>&<26>&<26>&<26>
<13> %<25> %<25>&:<3A> ;<3B> ;<3B>E<EFBFBD> <09><16><16> <0C>l<EFBFBD><18> <1B><1D> ;<3B> B<> B<> <10>I<EFBFBD>I<EFBFBD>><3E>><3E> <0A>><3E>><3E>><3E> ><3E> ><3E>@<01>@<01> <17>A<01>A<01>A<01>
<EFBFBD><16><16> <0C>o<EFBFBD><18> <1E><1D> ><3E> E<> E<> <10>I<EFBFBD>I<EFBFBD>><3E>><3E> <0A>><3E>><3E>><3E> ><3E> ><3E>@<01>@<01> <17>A<01>A<01>A<01>
<EFBFBD><16><16> <0C>l<EFBFBD><16> <1C><19>5<EFBFBD>!<21>+<2B> <17>,<2C>,<2C>,<2C>
<EFBFBD><16><16><1A> <1D><1B><15> <1E> <17> <20> <20> <20>
<EFBFBD><16><16> <0C>l<EFBFBD> <17><1B><15> "<22> <17>$<24>$<24>$<24>
<EFBFBD><16><16><18> <1B><11> <10> 7<> <17>9<>9<>9<>
<EFBFBD><16><16><1E> !<21><1B><15> A<> <17>C<01>C<01>C<01>
<EFBFBD><16><16><1A> <1D><1B><15> K<> <17>M<01>M<01>M<01>
<EFBFBD><16><16> <0C>"<22><1B><15> 4<> <17>6<>6<>6<> 
<EFBFBD><16><16> <0C>,<2C><1B><15> 9<> <17>;<3B>;<3B>;<3B> 
<EFBFBD><16><16><16> <19><11> <10> 9<> <17>;<3B>;<3B>;<3B>
<EFBFBD><16><16><17> <1A><15> <11> <<3C> <17>><3E>><3E>><3E>
<EFBFBD><16><16><14> <17><17> 9<> <17>;<3B>;<3B>;<3B> <12>Mr!c<00>j<00>tj<00>d<01>|<00><00><00><00>dS)z5Print msg and optionally exit with return code exit_.z [ERROR] {}
<EFBFBD>)<04>sys<79>stderr<72>writer)<01>msgs r<00>_errorrH<00>s+<00><00><07>J<EFBFBD><14><14>^<5E>*<2A>*<2A>3<EFBFBD>/<2F>/<2F>0<>0<>0<> <0C>1r!c<00><><00>t<00><00>}|<01>|<00><00>}|jdkrhttjj|j<00><02><00>} |<02><00><00>}|<02> <00><00>n<>#|<02> <00><00>wxYw t|j|j<00><02><00>5}d<03> |<04> <00><00><00><00>}ddd<00><00>n #1swxYwYn?#t$r2}td<04>|j|<05><00><00><00>cYd}~Sd}~wwxYwd}|jr_ t|jd|j<00><02><00>}d}nK#t$r2}td<08>|j|<05><00><00><00>cYd}~Sd}~wwxYwtj}t%|<00><00>} t&j<00>|<08><00>}n9#t,$r,}td <09>|<05><00><00><00>cYd}~Sd}~wwxYwt'j|fi|<08><01>} |<07>| <09><00>|<07><00><00>|r|<07><00><00>d
S) N<>-)r4<00>zFailed to read {}: {}F<>wTzFailed to open {}: {}zInvalid options: {}r)rA<00>
parse_argsr rrD<00>stdin<69>bufferr4<00>read<61>detach<63>openr;<00> readlines<65>OSErrorrHrr<00>stdout<75>varsr8<00> formatter<65>validate_optionsrrF<00>flush<73>close)
<EFBFBD>argsr?<00>wrapper<65>data<74>f<>e<> close_stream<61>stream<61>formatter_opts<74>ss
r<00>mainrd<00>s<><00><00> <1A>_<EFBFBD>_<EFBFBD>F<EFBFBD> <11> <1C> <1C>T<EFBFBD> "<22> "<22>D<EFBFBD> <0B>}<7D><03><1B><1B><1F><03> <09> 0<>4<EFBFBD>=<3D>I<>I<>I<><07> <1D><1A><<3C><<3C>><3E>><3E>D<EFBFBD> <13>N<EFBFBD>N<EFBFBD> <1C> <1C> <1C> <1C><>G<EFBFBD>N<EFBFBD>N<EFBFBD> <1C> <1C> <1C> <1C><><EFBFBD><EFBFBD> B<01><15>d<EFBFBD>m<EFBFBD>d<EFBFBD>m<EFBFBD><<3C><<3C><<3C> .<2E><01><19>w<EFBFBD>w<EFBFBD>q<EFBFBD>{<7B>{<7B>}<7D>}<7D>-<2D>-<2D><04> .<2E> .<2E> .<2E> .<2E> .<2E> .<2E> .<2E> .<2E> .<2E> .<2E> .<2E><><EFBFBD><EFBFBD> .<2E> .<2E> .<2E> .<2E><><EFBFBD><16> B<01> B<01> B<01><19>'<27>.<2E>.<2E>t<EFBFBD>}<7D>a<EFBFBD>@<40>@<40>B<01>B<01> B<01> B<01> B<01> B<01> B<01> B<01><><EFBFBD><EFBFBD><EFBFBD> B<01><><EFBFBD><EFBFBD><19>L<EFBFBD> <0B>|<7C><1C> K<01><19>$<24>,<2C><03>d<EFBFBD>m<EFBFBD>D<>D<>D<>F<EFBFBD><1F>L<EFBFBD>L<EFBFBD><4C><16> K<01> K<01> K<01><19>1<>8<>8<><14><1C>q<EFBFBD>I<>I<>J<>J<> J<> J<> J<> J<> J<> J<><4A><EFBFBD><EFBFBD><EFBFBD> K<01><><EFBFBD><EFBFBD><15><1A><06><19>$<24>Z<EFBFBD>Z<EFBFBD>N<EFBFBD>7<>!<21>+<2B><<3C><<3C>^<5E>L<>L<><0E><0E><> <18>7<>7<>7<><15>+<2B>2<>2<>1<EFBFBD>5<>5<>6<>6<>6<>6<>6<>6<>6<>6<><36><EFBFBD><EFBFBD><EFBFBD>7<><37><EFBFBD><EFBFBD> <11><0F><04>/<2F>/<2F><0E>/<2F>/<2F>A<EFBFBD>
<EFBFBD>L<EFBFBD>L<EFBFBD><11>O<EFBFBD>O<EFBFBD>O<EFBFBD>
<EFBFBD>L<EFBFBD>L<EFBFBD>N<EFBFBD>N<EFBFBD>N<EFBFBD><13><17><0E> <0C> <0C><0E><0E><0E> <0C>1s<31><00>A><00>>B<03>C3<00>3(C'<03> C3<00>'C+<07>+C3<00>.C+<07>/C3<00>3
D/<03>='D*<03>$D/<03>*D/<03><E<00>
F<03>%'F<03> F<03>F<03>6G<00>
H <03> !H<03>H <03>H )N) <0B>__doc__r5rD<00>iorr8<00>sqlparse.exceptionsrrArHrd<00>r!r<00><module>ris<><00><01> <04> <04><10><0F><0F><0F>
<EFBFBD>
<EFBFBD>
<EFBFBD>
<EFBFBD><1C><1C><1C><1C><1C><1C><0F><0F><0F><0F>-<2D>-<2D>-<2D>-<2D>-<2D>-<2D>
t<12>t<12>t<12>n <0A> <0A> <0A> ' <0A>' <0A>' <0A>' <0A>' <0A>' r!