Files
ServerSync/lib/invoke/__pycache__/tasks.cpython-314.pyc

251 lines
24 KiB
Plaintext
Raw Normal View History

2026-02-12 02:28:23 +02:00
+
t<10>i<EFBFBD>M<00><00><00>Rt^RIt^RIt^RIHt^RIHt^RIHtH t H
t
H t H t H t HtHtHtHtHtHtHt^RIHt^RIHtHt]'d ^RIHt^RIHt]!R ]
R
7t!R R ] ],4tR Rlt!RR4t RRlt!R#)zb
This module contains the core `.Task` class & convenience decorators used to
generate new tasks.
N)<01>deepcopy)<01>update_wrapper) <0A> TYPE_CHECKING<4E>Any<6E>Callable<6C>Dict<63>List<73>Generic<69>Iterable<6C>Optional<61>Set<65>Tuple<6C>Type<70>TypeVar<61>Union<6F><01>Context)<02>Argument<6E>translate_underscores)<01> Signature)<01>Config<69>T)<01>boundc<00>a<00>]tRt^$toRtRV3RlRllt]V3RlRl4tV3RlRltV3R lR
lt V3R lR lt
V3R lRlt ]V3RlRl4t V3RlRlt V3RlRltV3RlRltRV3RlRlltRtVtR#)<1C>Taska/
Core object representing an executable task & its argument specification.
For the most part, this object is a clearinghouse for all of the data that
may be supplied to the `@task <invoke.tasks.task>` decorator, such as
``name``, ``aliases``, ``positional`` etc, which appear as attributes.
In addition, instantiation copies some introspection/documentation friendly
metadata off of the supplied ``body`` object, such as ``__doc__``,
``__name__`` and ``__module__``, allowing it to "appear as" ``body`` for
most intents and purposes.
.. versionadded:: 1.0
Nc<00><><<01>V^8<>dQhRS[RS[S[,RS[S[,RS[S[S[,,RS[S[,RS[RS[RS[S[S[S[3,,R S[S[S[S[,S[3,,R
S[S[S[S[,S[3,,R S[R S[S[S[,,R S[S[S[,,RR/#)<10><00>body<64>name<6D>aliases<65>
positional<EFBFBD>optional<61>default<6C>auto_shortflags<67>help<6C>pre<72>post<73> autoprint<6E>iterable<6C> incrementable<6C>returnN) rr <00>strr
<00>boolrrrr)<02>format<61> __classdict__s"<22><>3/tmp/pip-target-zhdecbcm/lib/python/invoke/tasks.py<70> __annotate__<5F>Task.__annotate__;s<><00><><00>)#<23>)#<23><16>)#<23><17>s<EFBFBD>m<EFBFBD>)#<23><1A>#<23><1D> )#<23>
<1D>X<EFBFBD>c<EFBFBD>]<5D>+<2B> )#<23> <1B>3<EFBFBD>-<2D> )#<23><16>)#<23><1E>)#<23><17>t<EFBFBD>C<EFBFBD><13>H<EFBFBD>~<7E>&<26>)#<23><16>e<EFBFBD>D<EFBFBD><13>I<EFBFBD>s<EFBFBD>N<EFBFBD>+<2B> ,<2C>)#<23><17>u<EFBFBD>T<EFBFBD>#<23>Y<EFBFBD><03>^<5E>,<2C>-<2D>)#<23><18>)#<23><1B>8<EFBFBD>C<EFBFBD>=<3D>)<29>)#<23> <20><08><13> <0A>.<2E>)#<23>
<0E>)#<23>c<08><00>Wn\WP4\VRR4Vn\VRR4Vn\VRR4VnW nW0nW`nVPV4Vn
\V4Vn T ;'g.Vn T ;'g.VnWpnT;'g/P!4VnT ;'g.VnT
;'g.Vn^VnW<>nR#)<05>__doc__<5F><00>__name__<5F>
__module__N)rr<00>getattrr4r6r7<00>_namer<00>
is_default<EFBFBD>fill_implicit_positionalsr <00>tupler!r(r)r#<00>copyr$r%r&<00> times_calledr')<0E>selfrrrr r!r"r#r$r%r&r'r(r)s&&&&&&&&&&&&&&r/<00>__init__<5F> Task.__init__;s<><00><00>"<19> <09><16>t<EFBFBD>Y<EFBFBD>Y<EFBFBD>'<27><1F>t<EFBFBD>Y<EFBFBD><02>3<><04> <0C><1F><04>j<EFBFBD>"<22>5<><04> <0A>!<21>$<24> <0C>b<EFBFBD>9<><04><0F><1A>
<EFBFBD><1E> <0C>!<21><0F><1E>8<>8<><1A>D<><04><0F><1D>h<EFBFBD><0F><04> <0A> <20><0E><0E>B<EFBFBD><04> <0A>*<2A>0<>0<>b<EFBFBD><04><1A>.<2E><1C><19>Z<EFBFBD>Z<EFBFBD>R<EFBFBD>%<25>%<25>'<27><04> <09><16>9<EFBFBD>9<EFBFBD>"<22><04><08><18>J<EFBFBD>J<EFBFBD>B<EFBFBD><04> <09><1D><04><19>"<22>r2c<00> <<01>V^8<>dQhRS[/#<00>rr*<00>r+)r-r.s"<22>r/r0r1gs<00><><00>+<2B>+<2B>c<EFBFBD>+r2c<08>B<00>VP;'g VP#<00>N)r9r6<00>r?s&r/r<00> Task.namefs<00><00><13>z<EFBFBD>z<EFBFBD>*<2A>*<2A>T<EFBFBD>]<5D>]<5D>*r2c<00> <<01>V^8<>dQhRS[/#rCrD)r-r.s"<22>r/r0r1js<00><><00>:<3A>:<3A>#<23>:r2c<08><><00>RpVP'd+RPRPVP44pRPVPV4#)r5z ({})z, z <Task {!r}{}>)rr-<00>joinr)r?rs& r/<00>__repr__<5F> Task.__repr__jsB<00><00><14><07> <0F><<3C><<3C><<3C><1D>n<EFBFBD>n<EFBFBD>T<EFBFBD>Y<EFBFBD>Y<EFBFBD>t<EFBFBD>|<7C>|<7C>%<<3C>=<3D>G<EFBFBD><1E>%<25>%<25>d<EFBFBD>i<EFBFBD>i<EFBFBD><17>9<>9r2c<00>&<<01>V^8<>dQhRS[RS[/#<00>r<00>otherr*<00><02>objectr,)r-r.s"<22>r/r0r1ps<00><><00> <1D> <1D>F<EFBFBD> <1D>t<EFBFBD> r2c<08>"<00>\V\4'dVPVP8wdR#VPVP8XdR#VPPVPP8H# \
dR#i;i)FT)<06>
isinstancerrr<00>__code__<5F>AttributeError)r?rPs&&r/<00>__eq__<5F> Task.__eq__psl<00><00><19>%<25><14>&<26>&<26>$<24>)<29>)<29>u<EFBFBD>z<EFBFBD>z<EFBFBD>*A<><18> <10>9<EFBFBD>9<EFBFBD><05>
<EFBFBD>
<EFBFBD> "<22><17> <1D><1B>y<EFBFBD>y<EFBFBD>)<29>)<29>U<EFBFBD>Z<EFBFBD>Z<EFBFBD>-@<40>-@<40>@<40>@<40><>!<21> <1D><1C> <1D>s<00>,A?<00>? B<03> Bc<00> <<01>V^8<>dQhRS[/#rC)<01>int)r-r.s"<22>r/r0r1~s<00><><00>1<>1<>#<23>1r2c<08>`<00>\VP4\VP4,#rF)<03>hashrrrGs&r/<00>__hash__<5F> Task.__hash__~s<00><00><14>D<EFBFBD>I<EFBFBD>I<EFBFBD><EFBFBD><14>d<EFBFBD>i<EFBFBD>i<EFBFBD><1F>0<>0r2c<00>,<<01>V^8<>dQhRS[RS[RS[/#<00>r<00>args<67>kwargsr*)rr)r-r.s"<22>r/r0r1<00>s"<00><><00><16><16>c<EFBFBD><16>S<EFBFBD><16>Q<EFBFBD>r2c<08><><00>\V^,\4'g-Rp\VP\ V^,444hVP
!V/VBpV;P ^, unV#)<02>z9Task expected a Context as its first arg, got {} instead!)rTr<00> TypeErrorr-<00>typerr>)r?rarb<00>err<72>results&*, r/<00>__call__<5F> Task.__call__<5F>s]<00><00><19>$<24>q<EFBFBD>'<27>7<EFBFBD>+<2B>+<2B>M<>C<EFBFBD><1B>C<EFBFBD>J<EFBFBD>J<EFBFBD>t<EFBFBD>D<EFBFBD><11>G<EFBFBD>}<7D>5<>6<> 6<><15><19><19>D<EFBFBD>+<2B>F<EFBFBD>+<2B><06> <0C><19><19>Q<EFBFBD><1E><19><15> r2c<00> <<01>V^8<>dQhRS[/#rC)r,)r-r.s"<22>r/r0r1<00>s<00><><00>%<25>%<25><04>%r2c<08> <00>VP^8<>#)rd)r>rGs&r/<00>called<65> Task.called<65>s<00><00><13> <20> <20>1<EFBFBD>$<24>$r2c<00>$<<01>V^8<>dQhRS[RR/#)rrr*r)r)r-r.s"<22>r/r0r1<00>s<00><><00>2<>2<>H<EFBFBD>2<><1B>2r2c <0C>:<00>\V\P4'dTM VPp\P
!V4p\ VPP44p\V4'g \R4hVPVR,R7#)a<>
Returns a modified `inspect.Signature` based on that of ``body``.
:returns:
an `inspect.Signature` matching that of ``body``, but with the
initial context argument removed.
:raises TypeError:
if the task lacks an initial positional `.Context` argument.
.. versionadded:: 1.0
.. versionchanged:: 2.0
Changed from returning a two-tuple of ``(arg_names, spec_dict)`` to
returning an `inspect.Signature`.
z,Tasks must have an initial Context argument!:<3A>NN)<01>
parameters) rT<00>types<65> FunctionTyperi<00>inspect<63> signature<72>listrr<00>values<65>lenre<00>replace)r?r<00>func<6E>sig<69>paramss&& r/<00>argspec<65> Task.argspec<65>s}<00><00>$<1A>$<24><05> 2<> 2<>3<>3<> <11><15><1D><1D> <0A> <16><1F><1F><04>%<25><03><15>c<EFBFBD>n<EFBFBD>n<EFBFBD>+<2B>+<2B>-<2D>.<2E><06><13>6<EFBFBD>{<7B>{<7B><1B>J<>K<> K<><12>{<7B>{<7B>f<EFBFBD>R<EFBFBD>j<EFBFBD>{<7B>1<>1r2c<00>V<<01>V^8<>dQhRS[S[S[,,RS[S[,/#)rr r*)r r
r+)r-r.s"<22>r/r0r1<00>s*<00><><00> <1A> <1A>"<22>8<EFBFBD>C<EFBFBD>=<3D>1<> <1A> <11>#<23><1D> r2c<08><00>VfwVPVP4PP4Uu.uF9pVP\
P PJgK-VPNK; ppV#uupirF) r~rrrrxr"rur<00>emptyr)r?r <00>xs&& r/r;<00>Task.fill_implicit_positionals<6C>ss<00><00>
<16> <1D><1E><1C><1C>d<EFBFBD>i<EFBFBD>i<EFBFBD>0<>;<3B>;<3B>B<>B<>D<><0E>D<>A<EFBFBD><14>9<EFBFBD>9<EFBFBD><07> 1<> 1<> 7<> 7<>7<><17><01><06><06>D<> <17><0E>
<1A><19><> s <00>*A=<04>)A=c
<00>X<<01>V^8<>dQhRS[RS[RS[S[,RS[S[S[3,/#)rrr"<00> taken_namesr*)r+r rr)r-r.s"<22>r/r0r1<00>s9<00><><00>/<14>/<14><17>/<14>"%<25>/<14>47<34><03>H<EFBFBD>/<14> <0A>c<EFBFBD>3<EFBFBD>h<EFBFBD><1E>/r2c<08><><00>/pWP9VR&WP9VR&WP9d\VR&VeTM.VR&WP9dRVR&TpRV9dWR&\ V4pV.pVP 'd+VF$pWq8XdK Ws9dKVPV4M WdR &VR\PP39d-\V4pVR,'d V\JgW<>R&W$R&W3F4p W<>P9gKVPPV 4VR
&V# V#) r r!<00>kindNr"Tr)<00>_<> attr_name<6D>namesr$)r r!r(rwr)rr#<00>appendrurr<>rfr,r$<00>pop)
r?rr"r<><00>opts<74> original_namer<65><00>charr<72><00> possibilitys
&&&& r/<00>arg_opts<74> Task.arg_opts<74>sD<00><00> "<22><04>!<21>_<EFBFBD>_<EFBFBD>4<><04>\<5C><1A><1F>=<3D>=<3D>0<><04>Z<EFBFBD><18> <0F>=<3D>=<3D> <20><1F>D<EFBFBD><16>L<EFBFBD>*1<>)<<3C>g<EFBFBD>"<22>D<EFBFBD><19>O<EFBFBD> <0F>%<25>%<25> %<25>$(<28>D<EFBFBD><1F> !<21><1D> <0A> <0E>$<24>;<3B> $<24><1B> <1D>(<28><14>.<2E>D<EFBFBD><15><06><05> <0F> <1F> <1F> <1F><1C><04><1C> <0C><04>(;<3B><19>L<EFBFBD>L<EFBFBD><14>&<26><19><1D><1E>W<EFBFBD> <0A> <12>4<EFBFBD><17>!2<>!2<>!8<>!8<>9<> 9<>
<18><07>=<3D>D<EFBFBD><18><1A>$<24>$<24><14><14><1C>#<23>V<EFBFBD> <0C>%<25><19>O<EFBFBD><1F>.<2E>K<EFBFBD><1A>i<EFBFBD>i<EFBFBD>'<27>#<23>y<EFBFBD>y<EFBFBD>}<7D>}<7D>[<5B>9<><04>V<EFBFBD> <0C><15><13> <0B> /<2F><14> r2c<00>F<<01>V^8<>dQhRS[S[,RS[S[,/#)r<00>ignore_unknown_helpr*)r r,rr)r-r.s"<22>r/r0r1<00>s%<00><><00>/<14>/<14>#+<2B>D<EFBFBD>><3E>/<14> <0A>h<EFBFBD><1E>/r2c
 <0C><00>VPVP4p\VPP 44p.pVPP 4Fhp\ R/VPVPVPV4BpVPV4VP\VP44Kj VP'dDV'g<\RP\!VPP 4444h\#\!VP$44FLp\'V4F:wr<>V PV8XgKVP)^VP+V44KJ KN V#)a3
Return a list of Argument objects representing this task's signature.
:param bool ignore_unknown_help:
Controls whether unknown help flags cause errors. See the config
option by the same name for details.
.. versionadded:: 1.0
.. versionchanged:: 1.7
Added the ``ignore_unknown_help`` kwarg.
z4Help field was set for param(s) that don't exist: {}<7D>)r~r<00>setrr<00>keysrxrr<>rr"r<><00>updater<65>r$<00>
ValueErrorr-rw<00>reversedr <00> enumerate<74>insertr<74>)
r?r<>r|r<>ra<00>param<61>new_arg<72>posarg<72>i<>args
&& r/<00> get_arguments<74>Task.get_arguments<74>s-<00><00><13>l<EFBFBD>l<EFBFBD>4<EFBFBD>9<EFBFBD>9<EFBFBD>%<25><03><1A>#<23>.<2E>.<2E>-<2D>-<2D>/<2F>0<> <0B><12><04><18>^<5E>^<5E>*<2A>*<2A>,<2C>E<EFBFBD><1E><0E><16>-<2D>-<2D><05>
<EFBFBD>
<EFBFBD>E<EFBFBD>M<EFBFBD>M<EFBFBD>;<3B>G<><0E>G<EFBFBD> <11>K<EFBFBD>K<EFBFBD><07> <20> <18> <1E> <1E>s<EFBFBD>7<EFBFBD>=<3D>=<3D>1<> 2<>-<2D> <10>9<EFBFBD>9<EFBFBD>9<EFBFBD>0<><1C>F<>M<>M<><18><14><19><19><1E><1E>)<29>*<2A><12><0E> <0E><1F>t<EFBFBD>D<EFBFBD>O<EFBFBD>O<EFBFBD>4<>5<>F<EFBFBD>#<23>D<EFBFBD>/<2F><06><01><16>8<EFBFBD>8<EFBFBD>v<EFBFBD>%<25><18>K<EFBFBD>K<EFBFBD><01>4<EFBFBD>8<EFBFBD>8<EFBFBD>A<EFBFBD>;<3B>/<2F><19>*<2A>6<>
<14> r2)r4r7r6r9rr#r'rr$r)r:r(r!r r&r%r>) Nr<4E>Nr<4E>FTNNNFNNrF)r6r7<00> __qualname__<5F>__firstlineno__r4r@<00>propertyrrLrWr]rirmr~r;r<>r<><00>__static_attributes__<5F>__classdictcell__<5F>r.s@r/rr$s<><00><><00><00> <08>,)#<23>)#<23>V<0E>+<2B><0E>+<2B>:<3A>:<3A> <1D> <1D>1<>1<> <16><16><0E>%<25><0E>%<25>2<>2<>> <1A> <1A>/<14>/<14>b/<14>/<14>/r2rc<00><<00>V^8<>dQhR\R\R\/#r`)rr)r-s"r/r0r0!s&<00><00>G<11>G<11><03>G<11>s<EFBFBD>G<11>x<EFBFBD>Gr2c<04>2aa<03>SPR\4o\V4^8XdF\V^,4'd.\ V^,\4'gS!V^,3/SB#V'dRS9d \ R4hVSR&RVV3RllpV#)a<>
Marks wrapped callable object as a valid Invoke task.
May be called without any parentheses if no extra options need to be
specified. Otherwise, the following keyword arguments are allowed in the
parenthese'd form:
* ``name``: Default name to use when binding to a `.Collection`. Useful for
avoiding Python namespace issues (i.e. when the desired CLI level name
can't or shouldn't be used as the Python level name.)
* ``aliases``: Specify one or more aliases for this task, allowing it to be
invoked as multiple different names. For example, a task named ``mytask``
with a simple ``@task`` wrapper may only be invoked as ``"mytask"``.
Changing the decorator to be ``@task(aliases=['myothertask'])`` allows
invocation as ``"mytask"`` *or* ``"myothertask"``.
* ``positional``: Iterable overriding the parser's automatic "args with no
default value are considered positional" behavior. If a list of arg
names, no args besides those named in this iterable will be considered
positional. (This means that an empty list will force all arguments to be
given as explicit flags.)
* ``optional``: Iterable of argument names, declaring those args to
have :ref:`optional values <optional-values>`. Such arguments may be
given as value-taking options (e.g. ``--my-arg=myvalue``, wherein the
task is given ``"myvalue"``) or as Boolean flags (``--my-arg``, resulting
in ``True``).
* ``iterable``: Iterable of argument names, declaring them to :ref:`build
iterable values <iterable-flag-values>`.
* ``incrementable``: Iterable of argument names, declaring them to
:ref:`increment their values <incrementable-flag-values>`.
* ``default``: Boolean option specifying whether this task should be its
collection's default task (i.e. called if the collection's own name is
given.)
* ``auto_shortflags``: Whether or not to automatically create short
flags from task options; defaults to True.
* ``help``: Dict mapping argument names to their help strings. Will be
displayed in ``--help`` output. For arguments containing underscores
(which are transformed into dashes on the CLI by default), either the
dashed or underscored version may be supplied here.
* ``pre``, ``post``: Lists of task objects to execute prior to, or after,
the wrapped task whenever it is executed.
* ``autoprint``: Boolean determining whether to automatically print this
task's return value to standard output when invoked directly via the CLI.
Defaults to False.
* ``klass``: Class to instantiate/return. Defaults to `.Task`.
If any non-keyword arguments are given, they are taken as the value of the
``pre`` kwarg for convenience's sake. (It is an error to give both
``*args`` and ``pre`` at the same time.)
.. versionadded:: 1.0
.. versionchanged:: 1.1
Added the ``klass`` keyword argument.
<EFBFBD>klassr%z2May not give *args and 'pre' kwarg simultaneously!c<00>F<00>V^8<>dQhR\R\\,/#)rrr*)rrr)r-s"r/r0<00>task.<locals>.__annotate__cs<00><00><15><15>H<EFBFBD><15><14>a<EFBFBD><17>r2c<00><<02>S!V3/SBpV#rFr<>)r<00>_taskr<6B>rbs& <20><>r/<00>inner<65>task.<locals>.innercs<00><><00><15>d<EFBFBD>%<25>f<EFBFBD>%<25><05><14> r2)r<>rry<00>callablerTre)rarbr<>r<>s*l @r/<00>taskr<6B>!s<><00><><00>l<1F>
<EFBFBD>
<EFBFBD>7<EFBFBD>D<EFBFBD>1<>E<EFBFBD>
<EFBFBD>4<EFBFBD>y<EFBFBD>A<EFBFBD>~<7E>(<28>4<EFBFBD><01>7<EFBFBD>+<2B>+<2B>J<EFBFBD>t<EFBFBD>A<EFBFBD>w<EFBFBD><04>4M<34>4M<34><14>T<EFBFBD>!<21>W<EFBFBD>'<27><06>'<27>'<27> <0B> <10>F<EFBFBD>?<3F><1B>D<><0E> <0E><1D><06>u<EFBFBD> <0A><15><15>
<11>Lr2c<00><>a<00>]tRtRtoRtRV3RlRlltV3RlRltV3RlR ltV3R
lR ltV3R lR lt V3RlRlt
V3RlRlt RV3RlRllt Rt VtR#)<17>Callikz<>
Represents a call/execution of a `.Task` with given (kw)args.
Similar to `~functools.partial` with some added functionality (such as the
delegation to the inner task, and optional tracking of the name it's being
called by.)
.. versionadded:: 1.0
Nc <00><><<01>V^8<>dQhRRRS[S[,RS[S[S[R3,,RS[S[S[S[3,,RR/#) rr<>r<00> called_asra.rbr*N)r r+r rr)r-r.s"<22>r/r0<00>Call.__annotate__vs[<00><><00>'<27>'<27><14>'<27><1C>C<EFBFBD>=<3D>'<27><17>u<EFBFBD>S<EFBFBD>#<23>X<EFBFBD><EFBFBD>'<27> '<27>
<19><14>c<EFBFBD>3<EFBFBD>h<EFBFBD><1E>(<28> '<27>
<0E> 'r2c <0C><><00>WnW nT;'g \4VnT;'g \ 4VnR#)a<>
Create a new `.Call` object.
:param task: The `.Task` object to be executed.
:param str called_as:
The name the task is being called as, e.g. if it was called by an
alias or other rebinding. Defaults to ``None``, aka, the task was
referred to by its default name.
:param tuple args:
Positional arguments to call with, if any. Default: ``None``.
:param dict kwargs:
Keyword arguments to call with, if any. Default: ``None``.
N)r<>r<>r<ra<00>dictrb)r?r<>r<>rarbs&&&&&r/r@<00> Call.__init__vs.<00><00>.<19> <09>"<22><0E><18>O<EFBFBD>O<EFBFBD>E<EFBFBD>G<EFBFBD><04> <09><1C>&<26>&<26><04><06><04> r2c<00>&<<01>V^8<>dQhRS[RS[/#)rrr*)r+r)r-r.s"<22>r/r0r<><00>s<00><><00>(<28>(<28><03>(<28><03>(r2c<08>.<00>\VPV4#rF)r8r<>)r?rs&&r/<00> __getattr__<5F>Call.__getattr__<5F>s<00><00><16>t<EFBFBD>y<EFBFBD>y<EFBFBD>$<24>'<27>'r2c<00>$<<01>V^8<>dQhRS[RR/#)r<00>memor*r<>)rR)r-r.s"<22>r/r0r<><00>s<00><><00><1C><1C><16><1C>F<EFBFBD>r2c<08>"<00>VP4#rF)<01>clone)r?r<>s&&r/<00> __deepcopy__<5F>Call.__deepcopy__<5F>s<00><00><13>z<EFBFBD>z<EFBFBD>|<7C>r2c<00> <<01>V^8<>dQhRS[/#rCrD)r-r.s"<22>r/r0r<><00>s<00><><00>

<EFBFBD>

<EFBFBD>#<23>

r2c<08>D<00>RpVPeAVPVPP8wdRPVP4pRPVPP
VPPVVP VP4#)r5z (called as: {!r})z%<{} {!r}{}, args: {!r}, kwargs: {!r}>)r<>r<>rr-<00> __class__r6rarb)r?<00>akas& r/rL<00> Call.__repr__<5F>st<00><00><10><03> <0F>><3E>><3E> %<25>$<24>.<2E>.<2E>D<EFBFBD>I<EFBFBD>I<EFBFBD>N<EFBFBD>N<EFBFBD>*J<>&<26>-<2D>-<2D>d<EFBFBD>n<EFBFBD>n<EFBFBD>=<3D>C<EFBFBD>6<>=<3D>=<3D> <10>N<EFBFBD>N<EFBFBD> #<23> #<23> <10>I<EFBFBD>I<EFBFBD>N<EFBFBD>N<EFBFBD> <0F> <10>I<EFBFBD>I<EFBFBD> <10>K<EFBFBD>K<EFBFBD> 
<EFBFBD>
r2c<00>&<<01>V^8<>dQhRS[RS[/#rOrQ)r-r.s"<22>r/r0r<><00>s<00><><00><14><14>F<EFBFBD><14>t<EFBFBD>r2c<08>l<00>RP4Fp\W4\W48wgKR# R#)ztask args kwargsFT)<02>splitr8)r?rP<00>attrs&& r/rW<00> Call.__eq__<5F>s1<00><00>
'<27>,<2C>,<2C>.<2E>D<EFBFBD><16>t<EFBFBD>"<22>g<EFBFBD>e<EFBFBD>&:<3A>:<3A><1C>/<2F>r2c<00>$<<01>V^8<>dQhRRRS[/#)r<00>configrr*r)r-r.s"<22>r/r0r<><00>s<00><><00>&<26>&<26>8<EFBFBD>&<26><07>&r2c <0C><00>\VR7#)z\
Generate a `.Context` appropriate for this call, with given config.
.. versionadded:: 1.0
)r<>r)r?r<>s&&r/<00> make_context<78>Call.make_context<78>s<00><00> <17>f<EFBFBD>%<25>%r2c<00>6<<01>V^8<>dQhRS[S[S[3,/#rC)rr+r)r-r.s"<22>r/r0r<><00>s<00><><00> 
<EFBFBD> 
<EFBFBD>D<EFBFBD><13>c<EFBFBD><18>N<EFBFBD> 
r2c <0C><><00>\VPVP\VP4\VP
4R7#)zY
Return keyword args suitable for cloning this call into another.
.. versionadded:: 1.1
)r<>r<>rarb)r<>r<>r<>rrarbrGs&r/<00>
clone_data<EFBFBD>Call.clone_data<74>s7<00><00> <14><15><19><19><1A>n<EFBFBD>n<EFBFBD><19>$<24>)<29>)<29>$<24><1B>D<EFBFBD>K<EFBFBD>K<EFBFBD>(<28> 
<EFBFBD>
r2c<00>n<<01>V^8<>dQhRS[S[R,,RS[S[S[S[3,,RR/#)r<00>intor<6F><00>with_r*)r rrr+r)r-r.s"<22>r/r0r<><00>s?<00><><00><1D><1D><16>t<EFBFBD>F<EFBFBD>|<7C>$<24><1D><18><04>S<EFBFBD>#<23>X<EFBFBD><0E>'<27><1D>
<10> r2c <0C><><00>VeTM VPpVP4pVeVPV4V!R/VB#)a<>
Return a standalone copy of this Call.
Useful when parameterizing task executions.
:param into:
A subclass to generate instead of the current class. Optional.
:param dict with_:
A dict of additional keyword arguments to use when creating the new
clone; typically used when cloning ``into`` a subclass that has
extra args on top of the base class. Optional.
.. note::
This dict is used to ``.update()`` the original object's data
(the return value from its `clone_data`), so in the event of
a conflict, values in ``with_`` will win out.
.. versionadded:: 1.0
.. versionchanged:: 1.1
Added the ``with_`` kwarg.
r<EFBFBD>)r<>r<>r<>)r?r<>r<>r<><00>datas&&& r/r<><00>
Call.clone<6E>s><00><00>6<1D>(<28><04>d<EFBFBD>n<EFBFBD>n<EFBFBD><05><13><EFBFBD><EFBFBD> <20><04> <10> <1C> <10>K<EFBFBD>K<EFBFBD><05> <1E><14>}<7D>t<EFBFBD>}<7D>r2)rar<>rbr<>)NNN)NN)r6r7r<>r<>r4r@r<>r<>rLrWr<>r<>r<>r<>r<>r<>s@r/r<>r<>ks_<00><><00><00><08>'<27>'<27>:(<28>(<28><1C><1C>

<EFBFBD>

<EFBFBD><14><14>&<26>&<26> 
<EFBFBD> 
<EFBFBD><1D><1D>r2r<>c<00>8<00>V^8<>dQhRRR\R\RR/#)rr<>rrarbr*r<>)r)r-s"r/r0r0<00>s(<00><00>!0<>!0<>v<EFBFBD>!0<>c<EFBFBD>!0<>S<EFBFBD>!0<>V<EFBFBD>!0r2c<04><00>\WVR7#)a 
Describes execution of a `.Task`, typically with pre-supplied arguments.
Useful for setting up :ref:`pre/post task invocations
<parameterizing-pre-post-tasks>`. It's actually just a convenient wrapper
around the `.Call` class, which may be used directly instead if desired.
For example, here's two build-like tasks that both refer to a ``setup``
pre-task, one with no baked-in argument values (and thus no need to use
`.call`), and one that toggles a boolean flag::
@task
def setup(c, clean=False):
if clean:
c.run("rm -rf target")
# ... setup things here ...
c.run("tar czvf target.tgz target")
@task(pre=[setup])
def build(c):
c.run("build, accounting for leftover files...")
@task(pre=[call(setup, clean=True)])
def clean_build(c):
c.run("build, assuming clean slate...")
Please see the constructor docs for `.Call` for details - this function's
``args`` and ``kwargs`` map directly to the same arguments as in that
method.
.. versionadded:: 1.0
)rarb)r<>)r<>rarbs&*,r/<00>callr<6C><00>s<00><00>B <10><04><06> /<2F>/r2)"r4rursr=r<00> functoolsr<00>typingrrrrrr r
r r r rrr<00>contextr<00>parserrrrr<>rrrr<>r<>r<>r<>r2r/<00><module>r<>su<00><01><04>
<0F> <0C><19>$<24><02><02><02><02> <1D>3<><10>!<21><1E> <0B>C<EFBFBD>x<EFBFBD> <20><01>z<14>7<EFBFBD>1<EFBFBD>:<3A>z<14>zG<11>Tx<1D>x<1D>v!0r2