grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026+ ”‹—‹Ž”ãó`€^RIHtRR.tR tR t!RR4t!RR]4t!RR4tR#) é)Ú GenericAliasÚTopologicalSorterÚ CycleErrorcó*a€]tRt^ toRtRtRtVtR#)Ú _NodeInfocó.€Wn^Vn.VnR#)rN©ÚnodeÚ npredecessorsÚ successors)Úselfr s&&Ú//opt/alt/python314/lib64/python3.14/graphlib.pyÚ__init__Ú_NodeInfo.__init__ s€àŒ ð ˆÔðˆŽór N)Ú__name__Ú __module__Ú __qualname__Ú__firstlineno__Ú __slots__rÚ__static_attributes__Ú__classdictcell__©Ú __classdict__s@rrr sø‡€Ø5€I÷ ð rrcó€]tRt^tRtRtR#)ra#Subclass of ValueError raised by TopologicalSorter.prepare if cycles exist in the working graph. If multiple cycles exist, only one undefined choice among them will be reported and included in the exception. The detected cycle can be accessed via the second element in the *args* attribute of the exception instance and consists in a list of nodes, such that each node is, in the graph, an immediate predecessor of the next node in the list. In the reported list, the first and the last node will be the same, to make it clear that it is cyclic. ©N)rrrrÚ__doc__rrrrrrs †ñ ó rcóta€]tRt^)toRtRRltRtRtRtRt Rt R t R t R t R t]!]4tR tVtR#)rzFProvides functionality to topologically sort a graph of hashable nodesNcó¤€/VnRVn^Vn^VnVe0VP 4Fwr#VP !V.VO5!K R#R#©N)Ú _node2infoÚ _ready_nodesÚ _npassedoutÚ _nfinishedÚitemsÚadd)r Úgraphr Ú predecessorss&& rrÚTopologicalSorter.__init__,sO€ØˆŒØ ˆÔØˆÔØˆŒà Ò Ø&+§k¡k¦mÑ"�Ø—’˜Ð-  Ö-ó'4ñ rcóx€VPPV4;pf\V4;VPV&pV#r )r!Úgetr)r r Úresults&& rÚ _get_nodeinfoÚTopologicalSorter._get_nodeinfo6s8€Ø—o‘o×)Ñ)¨$Ó/Ð /ˆFÒ 8Ü-6°t«_Ð <ˆD�O‰O˜DÑ ! F؈ rc ó€VPe \R4hVPV4pV;P\ V4, unVF/pVPV4pVP P V4K1 R#)a;Add a new node and its predecessors to the graph. Both the *node* and all elements in *predecessors* must be hashable. If called multiple times with the same node argument, the set of dependencies will be the union of all dependencies passed in. It is possible to add a node with no dependencies (*predecessors* is not provided) as well as provide a dependency twice. If a node that has not been provided before is included among *predecessors* it will be automatically added to the graph with no predecessors of its own. Raises ValueError if called after "prepare". Nz/Nodes cannot be added after a call to prepare())r"Ú ValueErrorr-r Úlenr Úappend)r r r(ÚnodeinfoÚpredÚ pred_infos&&* rr&ÚTopologicalSorter.add;st€ð × Ñ Ò (ÜÐNÓOÐ Oð×%Ñ% dÓ+ˆØ×Ò¤# lÓ"3Õ3Õó!ˆDØ×*Ñ*¨4Ó0ˆIØ × Ñ × 'Ñ '¨Ö -ó!rc óB€VP^8”d \R4hVPfLVPP 4Uu.uF!qP ^8XgKVP NK# upVnVP4pV'd \RV4hR#uupi)a˜Mark the graph as finished and check for cycles in the graph. If any cycle is detected, "CycleError" will be raised, but "get_ready" can still be used to obtain as many nodes as possible until cycles block more progress. After a call to this function, the graph cannot be modified and therefore no more nodes can be added using "add". Raise ValueError if nodes have already been passed out of the sorter. z$cannot prepare() after starting sortNznodes are in a cycle) r#r0r"r!Úvaluesr r Ú _find_cycler)r ÚiÚcycles& rÚprepareÚTopologicalSorter.prepareVsŽ€ð × Ñ ˜aÔ ÜÐCÓDÐ Dà × Ñ Ò $à $§¡× 6Ñ 6Ô 8ó!Ù 8˜1¿O¹OÈqÑÐ >ô�t×(Ñ(Ó)ˆØ�o‰oˆÛˆDÜ&/ˆC�IÖ #ñð ×Ñ×ÑÔ!Ø ×ÒœC ›KÕ'Õàˆ rc ó €VPf \R4hVPVP8;'g\ VP4#)aReturn ``True`` if more progress can be made and ``False`` otherwise. Progress can be made if cycles do not block the resolution and either there are still nodes ready that haven't yet been returned by "get_ready" or the number of nodes marked "done" is less than the number that have been returned by "get_ready". Raises ValueError if called without calling "prepare" previously. r?)r"r0r$r#Úbool©r s&rÚ is_activeÚTopologicalSorter.is_activeŠsD€ð × Ñ Ò $ÜÐ=Ó>Ð >Ø�‰ ×!1Ñ!1Ñ1×LÐL´T¸$×:KÑ:KÓ5LÐLrcó"€VP4#r )rIrHs&rÚ__bool__ÚTopologicalSorter.__bool__˜s€Ø�~‰~ÓÐrc ój€VPf \R4hVPpVEFpVPV4;pf\RV: R24hVPpV\ 8wdAV^8¼d\RV: R24hV\ 8Xd\RV: R24hQRT: RT 24h\ VnVPFRpW&,pV;P^,unVP^8XgK7VPPV4KT V;P^, un EK R#)a¿Marks a set of nodes returned by "get_ready" as processed. This method unblocks any successor of each node in *nodes* for being returned in the future by a call to "get_ready". Raises ValueError if any node in *nodes* has already been marked as processed by a previous call to this method, if a node was not added to the graph by using "add" or if called without calling "prepare" previously or if node has not yet been returned by "get_ready". Nr?znode z was not added using add()z% was not passed out (still not ready)z was already marked donez: unknown status ) r"r0r!r+r rAÚ _NODE_DONEr r2r$)r ÚnodesrCr r3ÚstatÚ successorÚsuccessor_infos&* rÚdoneÚTopologicalSorter.done›s.€ð × Ñ Ò $ÜÐ=Ó>Ð >à�o‰oˆäˆDð ŸG™G D›MÐ)�Ò2Ü  5¨©Ð0JÐ!KÓLÐLð×)Ñ)ˆDØ”yÔ Ø˜1”9Ü$Ø ™xÐ'LÐMóððœZÔ'Ü$ u¨T©HÐ4LÐ%MÓNÐNàI E¨$©Ð1BÀ4À&Ð"IÓI˜5ô&0ˆHÔ "ð&×0Ô0� Ø!$¥�Ø×,Ò,°Õ1Õ,Ø!×/Ñ/°1Ö4Ø×%Ñ%×,Ñ,¨YÖ7ñ 1ð �OŠO˜qÕ �OˆOó9rcó€VPp.p.p\4p/pVFªpWd9dK Wd9dWe9dW%V,RV.,u#McVPV4VP\ W,P 4P 4\V4WV&VPV4V'dVR,!4pKŸK¬ R# \d%YRP4TP4KMi;i)TNéÿÿÿÿ) r!Úsetr&r2Úiterr Ú__next__r1Ú StopIterationÚpop)r rCÚstackÚitstackÚseenÚ node2stackir s& rr9ÚTopologicalSorter._find_cycleÊsì€Ø�o‰oˆØˆØˆÜ‹uˆØˆ ãˆDØŒ|ÙàØ”<ðÔ*Ø$°Õ%6Ð%8Ð9¸T¸FÕBÒBð+ð—H‘H˜T”NØ—N‘N¤4¨­ ×(<Ñ(<Ó#=×#FÑ#FÔGÜ(+¨E« �KÑ%Ø—L‘L Ô&÷ð&Ø& rž{›}˜Ùñ ñ7ñ8øô )ô&Ø'¯ © « Ð4ØŸ ™ Ÿ ð&úsÂ9CÃ+C>Ã=C>c# ó¶"€VP4VP4'd-VP4pTRjx€L VP!V!KBR#L5i)a)Returns an iterable of nodes in a topological order. The particular order that is returned may depend on the specific order in which the items were inserted in the graph. Using this method does not require to call "prepare" or "done". If any cycle is detected, :exc:`CycleError` will be raised. N)r<rIrDrT)r Ú node_groups& rÚ static_orderÚTopologicalSorter.static_orderïsFé€ð � ‰ ŒØ�n‰n×ÒØŸ™Ó)ˆJØ!× !Ð !Ø �IŠI�zÔ "ñá !ùs‚&A©A¾A¿A)r$r!r#r"r )rrrrrrr-r&r<rDrIrLrTr9rdÚ classmethodrÚ__class_getitem__rrrs@rrr)sJø‡€ÙPô.òò .ò6<ò4ò4 Mò ò-!ò^#òJ #ñ$ LÓ1ÖrNrWéþÿÿÿ) ÚtypesrÚ__all__rArOrr0rrrrrÚrks>ðÝà   Ð -€à € Ø € ÷ñô"  �ô  ÷U2óU2r