2bi%LSSKJr SSKrSSKJrJrJrJrJrJr SSK J r J r J r J r JrJrJr SSKJrJr SSKJr SSKJr SS KJr SS KJr SS KJr SS KJr SS K J!r!J"r" S\#S\#4Sjr$"SS\5r%S\\&\\ 4S\\'S44Sjr(S\&S\ \#4Sjr)S\&S\ \#S\*4Sjr+g))absolute_importN)cleandocgetdocgetfileisclassismodule signature)Any CollectionIterableOptionalTupleTypeUnion)GroupRenderableType)escape_control_codes)ReprHighlighter) JupyterMixin)Panel)Pretty)Table)TextTextTypedocreturnc0URS5un nU$)z)Get the first paragraph from a docstring.z ) partition)r paragraph_s ڋ/builddir/build/BUILDROOT/alt-python313-pip-23.3.1-3.el8.x86_64/opt/alt/python313/lib/python3.13/site-packages/pip/_vendor/rich/_inspect.py_first_paragraphr#smmF+OIq! c\rSrSrSrSSSSSSSSSS. S\S\\S \S \S \S \S \S\S\S\SS4Sjjr S\S\ 4Sjr S\ 4Sjr S\S\S\\ 4SjrS\\4SjrS\S\\4SjrSrg)InspectaYA renderable to inspect any Python Object. Args: obj (Any): An object to inspect. title (str, optional): Title to display over inspect result, or None use type. Defaults to None. help (bool, optional): Show full help text rather than just first paragraph. Defaults to False. methods (bool, optional): Enable inspection of callables. Defaults to False. docs (bool, optional): Also render doc strings. Defaults to True. private (bool, optional): Show private attributes (beginning with underscore). Defaults to False. dunder (bool, optional): Show attributes starting with double underscore. Defaults to False. sort (bool, optional): Sort attributes alphabetically. Defaults to True. all (bool, optional): Show all attributes. Defaults to False. value (bool, optional): Pretty print value of object. Defaults to True. NFT) titlehelpmethodsdocsprivatedundersortallvalueobjr(r)r*r+r,r-r.r/r0rc [5UlXlU=(d URU5UlU (aS=n=pgX0lX@lU=(d UUlU=(d UUlXpl Xl Xl g)NT) r highlighterr1 _make_titler(r)r*r+r,r-r.r0) selfr1r(r)r*r+r,r-r.r/r0s r"__init__Inspect.__init__'sk+,3d..s3 )- -G -g  LD (&    r$c[U5(d [U5(d[U5(a [U5O[[ U55nUR U5nU$)zMake a default title.)rcallablerstrtyper3)r5r1 title_str title_texts r"r4Inspect._make_titleBsN  # HT#Y  %%i0 r$cl[R"[UR56URSSS9$)Nz scope.borderrr)r( border_stylepadding)rfitr_renderr()r5s r"__rich__Inspect.__rich__Ls.yy 4<<> "**'   r$namec0[[U55S-nSn[ U5n[ USS9nU(aURSU35 URU5nU=(d [USU5n[R"U5(aSnO [R"U5(aS nOS n[ R"US 3S URS S 534US4U5n U $![a SnN[a gf=f![ [4a Nf=f)zGet a signature for a callable.:z(...)Nzinspect.callablestylez link file:// __qualname__classz async defdef zinspect.r!)r:r ValueError TypeErrorrOSErrorrstylizer3getattrinspectriscoroutinefunctionassemblereplace) r5rGr1 _signaturesource_filename callable_namesignature_textqualnameprefixqual_signatures r"_get_signatureInspect._get_signatureTs( Ys^,s2J *. %clO T);<   ! !L0A"B C))*5=73= ??3  F  ( ( - - FFxq\XfnnS#&>%?@ A ) *   C ! J   #   s(C% D% C?3 C?>C?DDc #^# S[[[4S[[[44SjnS[S[[[44U4SjjnURm[ T5n[ U5nUR(d)UVs/sHoURS5(aMUPM nnUR(d)UVs/sHoURS5(aMUPM nnU[ U5- nUVs/sH oUU"U54PM nnUR(aURUS9 [R"S S S 9nURS S 9 URn URn [!T5(aUR#ST5n U bU v Sv UR$(a.UR'T5n U b[)U SS9n U "U 5n U v Sv UR*(aJ[-T5(d:[!T5(d*[/T5(d[1[3TSSSS9SS9v Sv UGHEunup[(R4"UURS5(aSOS4S5nUb;UR75nUR9S5 U "UU "[;U555 Mx[!U5(aUR<(dMUR#X_5nUcU "U[3XS95 MUR$(aWUR'U5nUbCUR?SU;aSOS5 U "U5nUR9S5 UR?U5 U "UU5 GM5U "U[3XS95 GMH UR@(aUv gU(a[(RB"S US!35v ggs snfs snfs snf7f)"zRender object.itemrcdUunup#[U5URS5R54$)Nr!)r9striplower)rckey_errorr0s r" sort_items#Inspect._render..sort_items~s.#' C&UOSYYs^%9%9%;< S[TU54$![anUS4sSnA$SnAff=f)zGet attribute or any exception.N)rT Exception)rkerrorr1s r" safe_getattr%Inspect._render..safe_getattrs4 %gc9566 %t}$ %s  )$))__r!)rgr@F)rBexpandright)justifyNz inspect.helprJT <) indent_guides max_length max_stringzinspect.value.border)rAzinspect.attr.dunderz inspect.attr)z =zinspect.equalsz inspect.error)r3 rOz inspect.docz[b cyan]za[/][i] attribute(s) not shown.[/i] Run [b][magenta]inspect[/]([not b]inspect[/])[/b] for options.)"rr:r boolr1dirlenr- startswithr,r.rgrid add_columnadd_rowr3r9r`r+_get_formatted_docrr0rrrrrWcopyrSreprr*append row_count from_markup)r5rirokeys total_itemsrgnot_shown_countitems items_tablerr3r _docdoc_textrnr0key_textwarning_signature_textr+rr1s @r"rDInspect._render{s8 =U38_ =tSy1A = %C %E#s(O %hh3x$i {{#'D4C~~d/CC4DD||#'C4C~~c/BC4DC%D 159:Tc|C()T: 99 JJ:J &jj> w/%%&& C==++B4I$ 99**3/DN;&x0 ::ws||x}} s$2"M3 H#( C%}}-0^^D-A-A)~) H "--/0T%[!9:||"&"5"5c"A"*HfU&LMyy#66u=++2244<4SQ"-d"3CKK 6+2237Ho6&"HIA$)B    ""?+,QR KEC:s7BON7$N7*ON<N<$O8O J;Oobject_c[U5nUcg[U5R5nUR(d [ U5n[ U5$)at Extract the docstring of an object, process it and returns it. The processing consists in cleaning up the doctring's indentation, taking only its 1st paragraph if `self.help` is not True, and escape its control codes. Args: object_ (Any): the object to get the docstring from. Returns: Optional[str]: the processed docstring, or None if no docstring was found. N)rrrer)r#r)r5rr+s r"rInspect._get_formatted_docsCg <~##%yy#D)D#D))r$) r+r-r)r3r*r1r,r.r(r0)__name__ __module__rL__firstlineno____doc__r r rr|r6rr4rrEr:r`r rrDr__static_attributes__r$r"r&r&s &%) !      6st % %3%S%Xd^%N[.1[z*#*(3-*r$r&r1.cT[US5(d [U5n[USS5$)zNReturns the MRO of an object's class, or of the object itself if it's a class.__mro__r)hasattrr;rT)r1s r"get_object_types_mrors) 3 " "3i 3 2 &&r$c z[U5Vs/sH n[USS5S[USS53PM" sn$s snf)z Returns the MRO of an object's class as full qualified names, or of the object itself if it's a class. Examples: `object_types_mro_as_strings(JSONDecoder)` will return `['json.decoder.JSONDecoder', 'builtins.object']` rru.rL)rrT)r1type_s r"get_object_types_mro_as_stringsrsM*#. .E 5, + ,Age^R.P-QR.  s'8fully_qualified_types_namesc6[U5H nX!;dM g g)z Returns `True` if the given object's class (or the object itself, if it's a class) has one of the fully qualified names in its MRO. TF)r)r1r type_names r"is_object_one_of_typesrs!5S9  3: r$), __future__rrUrrrrrr typingr r r r rrrconsolerrcontrolrr3rjupyterrpanelrprettyrtablertextrrr:r#r&objectr;rrr|rrr$r"rs&KKJJJ*)(! ## T*lT*n'eFDI$56'5s;K'  JsO    .8o   r$