Files
ServerSync/lib/jeepney/__pycache__/wrappers.cpython-314.pyc

118 lines
15 KiB
Plaintext
Raw Normal View History

2026-02-19 00:55:27 +02:00
+
<00>;<3B>i<EFBFBD>%<00><00><><00>^RIt^RIHt^RIHt^RI5.R Ot]P!R
4tR t ]P!R 4t
R t ]P!R4t Rt !RR4t!RR]4tRtR!RltR!RltR!RltR!Rlt!RR4t!RR4t!RR4t!RR]4t!RR ]4tRRltR#)"<22>N)<01>Union)<01>warn)<01>*<2A> DBusAddress<73>MessageGenerator<6F>
Properties<EFBFBD>Introspectable<6C>DBusErrorResponsezZ([A-Za-z_-][A-Za-z0-9_-]*(\.[A-Za-z_-][A-Za-z0-9_-]*)+|:[A-Za-z0-9_-]+(\.[A-Za-z0-9_-]+))$c<00><><00>\V4^<5E>8<EFBFBD>d!VR,R,p\RV: R24h\PV4'g\RV: R24hR#)<07><><00>N<EFBFBD>N<>...z
Bus name (<28> ) is too long (> 255 characters)<29>) is not validN)<04>len<65>
ValueError<EFBFBD> bus_name_pat<61>match<63><02>name<6D>abbrs& <20>7/tmp/pip-target-ugtna5l2/lib/python/jeepney/wrappers.py<70>check_bus_namersZ<00><00>
<EFBFBD>4<EFBFBD>y<EFBFBD>3<EFBFBD><EFBFBD><13>B<EFBFBD>x<EFBFBD>%<25><1F><04><18>:<3A>d<EFBFBD>X<EFBFBD>-M<>N<>O<>O<> <17> <1D> <1D>d<EFBFBD> #<23> #<23><18>:<3A>d<EFBFBD>X<EFBFBD>^<5E><<3C>=<3D>=<3D> $<24>z2[A-Za-z_][A-Za-z0-9_]*(\.[A-Za-z_][A-Za-z0-9_]*)+$c<00><><00>\V4^<5E>8<EFBFBD>d!VR,R,p\RV: R24h\PV4'g\RV: R24hR#)r r rzInterface name (rrN)rr<00> interface_patrrs& r<00>check_interfacer!s\<00><00>
<EFBFBD>4<EFBFBD>y<EFBFBD>3<EFBFBD><EFBFBD><13>B<EFBFBD>x<EFBFBD>%<25><1F><04><18>+<2B>D<EFBFBD>8<EFBFBD>3S<33>T<>U<>U<> <18> <1E> <1E>t<EFBFBD> $<24> $<24><18>+<2B>D<EFBFBD>8<EFBFBD>><3E>B<>C<>C<> %rz[A-Za-z_][A-Za-z0-9_]*$c<00><><00>\V4^<5E>8<EFBFBD>d!VR,R,p\RV: R24h\PV4'g\RV: R24hR#)r r rz Member name (rz is not validN)rr<00>member_name_patrrs& r<00>check_member_namer!*sZ<00><00>
<EFBFBD>4<EFBFBD>y<EFBFBD>3<EFBFBD><EFBFBD><13>B<EFBFBD>x<EFBFBD>%<25><1F><04><18>=<3D><14><08>0P<30>Q<>R<>R<> <1A> <20> <20><14> &<26> &<26><18>=<3D><14><08> <0A>><3E>?<3F>?<3F> 'rc<00>:a<00>]tRt^2toRtRRltRtRtRtVt R#)ra-This identifies the object and interface a message is for.
e.g. messages to display desktop notifications would have this address::
DBusAddress('/org/freedesktop/Notifications',
bus_name='org.freedesktop.Notifications',
interface='org.freedesktop.Notifications')
Nc<08><><00>\4PV4WnVe \V4W nVe \ V4W0nR#<00>N)<07>ObjectPathType<70>
check_data<EFBFBD> object_pathr<00>bus_namer<00> interface)<04>selfr'r(r)s&&&&r<00>__init__<5F>DBusAddress.__init__;s?<00><00><16><18>#<23>#<23>K<EFBFBD>0<>&<26><18> <13> <1F> <1A>8<EFBFBD> $<24> <20> <0A> <14> <20> <1B>I<EFBFBD> &<26>"<22>rc<08><><00>RP\V4PVPVPVP
4#)z'{}({!r}, bus_name={!r}, interface={!r}))<06>format<61>type<70>__name__r'r(r)<00>r*s&r<00>__repr__<5F>DBusAddress.__repr__Gs8<00><00>8<>?<3F>?<3F><04>T<EFBFBD>
<EFBFBD>@S<>@S<><18>$<24>$<24>d<EFBFBD>m<EFBFBD>m<EFBFBD>T<EFBFBD>^<5E>^<5E>E<01> Erc<08>f<00>\V4\V4!VPVPV4#r$)rr/r'r()r*r)s&&r<00>with_interface<63>DBusAddress.with_interfaceKs'<00><00><17> <09>"<22><13>D<EFBFBD>z<EFBFBD>$<24>*<2A>*<2A>D<EFBFBD>M<EFBFBD>M<EFBFBD>9<EFBFBD>E<>Er)r(r)r'<00>NN)
r0<00>
__module__<EFBFBD> __qualname__<5F>__firstlineno__<5F>__doc__r+r2r5<00>__static_attributes__<5F>__classdictcell__<5F><01> __classdict__s@rrr2s!<00><><00><00><08>
#<23>E<01>F<01>Frc<00>6aa<01>]tRt^OtoRV3RlltRtVtV;t#)<04>
DBusObjectc<08>B<<01>\SV`WV4\R^R7R#)z)Deprecated alias, use DBusAddress instead)<01>
stacklevelN)<03>superr+r)r*r'r(r)<00> __class__s&&&&<26>rr+<00>DBusObject.__init__Ps<00><><00> <0A><07><18><1B> <09>:<3A> <0C> 8<>Q<EFBFBD>Gr<00>r7)r0r8r9r:r+r<r=<00> __classcell__)rEr?s@@rrArAOs<00><><00><00>H<01>HrrAc
<00>B<00>\\PV^^RR/R7#)r)<05>flags<67>protocol_version<6F> body_length<74>serial<61>fields<64><73><EFBFBD><EFBFBD><EFBFBD>)<03>Header<65>
Endianness<EFBFBD>little)<01>msg_types&r<00>
new_headerrTTs$<00><00> <11>*<2A>#<23>#<23>X<EFBFBD>Q<EFBFBD><11> <20><12>B<EFBFBD> 8<>8rc<04><00>\V4\\P4pVPVP
\ P&VPf \R4hVPVP
\ P&VPe(VPVP
\ P&WP
\ P&VeW$P
\ P&\WC4#)a<>Construct a new method call message
This is a relatively low-level method. In many cases, this will be called
from a :class:`MessageGenerator` subclass which provides a more convenient
API.
:param DBusAddress remote_obj: The object to call a method on
:param str method: The name of the method to call
:param str signature: The DBus signature of the body data
:param tuple body: Body data (i.e. method parameters)
z3remote_obj.bus_name cannot be None for method calls)r!rT<00> MessageType<70> method_callr'rN<00> HeaderFields<64>pathr(r<00> destinationr)<00>member<65> signature<72>Message)<05>
remote_obj<EFBFBD>methodr\<00>body<64>headers&&&& r<00>new_method_callrbXs<><00><00><16>f<EFBFBD><1D> <17> <0B>/<2F>/<2F> 0<>F<EFBFBD>'1<>'=<3D>'=<3D>F<EFBFBD>M<EFBFBD>M<EFBFBD>,<2C>#<23>#<23>$<24><11><1A><1A>"<22><18>N<>O<>O<>.8<EFBFBD>.A<>.A<>F<EFBFBD>M<EFBFBD>M<EFBFBD>,<2C>*<2A>*<2A>+<2B><11><1B><1B>'<27>0:<3A>0D<30>0D<30><06> <0A> <0A>l<EFBFBD>,<2C>,<2C>-<2D>)/<2F>M<EFBFBD>M<EFBFBD>,<2C>%<25>%<25>&<26><10><1C>09<30> <0A> <0A>l<EFBFBD>,<2C>,<2C>-<2D> <12>6<EFBFBD> <20> rc<04><><00>\\P4pVPPVP
\ P&VPP
P\ PR4pVeWCP
\ P&VeWP
\ P&\W24#)z<>Construct a new response message
:param Message parent_msg: The method call this is a reply to
:param str signature: The DBus signature of the body data
:param tuple body: Body data
N) rTrV<00> method_returnrarMrNrX<00> reply_serial<61>get<65>senderrZr\r])<05>
parent_msgr\r`rargs&&& r<00>new_method_returnrirs<><00><00><18> <0B>1<>1<> 2<>F<EFBFBD>/9<>/@<40>/@<40>/G<>/G<>F<EFBFBD>M<EFBFBD>M<EFBFBD>,<2C>+<2B>+<2B>,<2C> <17> <1E> <1E> %<25> %<25> )<29> )<29>,<2C>*=<3D>*=<3D>t<EFBFBD> D<>F<EFBFBD> <0A><19>28<32> <0A> <0A>l<EFBFBD>.<2E>.<2E>/<2F><10><1C>09<30> <0A> <0A>l<EFBFBD>,<2C>,<2C>-<2D> <12>6<EFBFBD> <20> rc<04><><00>\\P4pVPPVP
\ P&WP
\ P&VPP
P\ PR4pVeWTP
\ P&VeW$P
\ P&\WC4#)z<>Construct a new error response message
:param Message parent_msg: The method call this is a reply to
:param str error_name: The name of the error
:param str signature: The DBus signature of the body data
:param tuple body: Body data
N)rTrV<00>errorrarMrNrXre<00>
error_namerfrgrZr\r])rhrlr\r`rargs&&&& r<00> new_errorrm<00>s<><00><00><18> <0B>)<29>)<29> *<2A>F<EFBFBD>/9<>/@<40>/@<40>/G<>/G<>F<EFBFBD>M<EFBFBD>M<EFBFBD>,<2C>+<2B>+<2B>,<2C>-7<>M<EFBFBD>M<EFBFBD>,<2C>)<29>)<29>*<2A> <17> <1E> <1E> %<25> %<25> )<29> )<29>,<2C>*=<3D>*=<3D>t<EFBFBD> D<>F<EFBFBD> <0A><19>28<32> <0A> <0A>l<EFBFBD>.<2E>.<2E>/<2F><10><1C>09<30> <0A> <0A>l<EFBFBD>,<2C>,<2C>-<2D> <12>6<EFBFBD> <20> rc<04><><00>\V4\\P4pVPVP
\ P&VPf \R4hVPVP
\ P&WP
\ P&VeW$P
\ P&\WC4#)z<>Construct a new signal message
:param DBusAddress emitter: The object sending the signal
:param str signal: The name of the signal
:param str signature: The DBus signature of the body data
:param tuple body: Body data
z,emitter.interface cannot be None for signals) r!rTrV<00>signalr'rNrXrYr)rr[r\r])<05>emitterror\r`ras&&&& r<00>
new_signalrq<00>s<><00><00><16>f<EFBFBD><1D> <17> <0B>*<2A>*<2A> +<2B>F<EFBFBD>'.<2E>':<3A>':<3A>F<EFBFBD>M<EFBFBD>M<EFBFBD>,<2C>#<23>#<23>$<24><0E><18><18> <20><18>G<>H<>H<>,3<>,=<3D>,=<3D>F<EFBFBD>M<EFBFBD>M<EFBFBD>,<2C>(<28>(<28>)<29>)/<2F>M<EFBFBD>M<EFBFBD>,<2C>%<25>%<25>&<26><10><1C>09<30> <0A> <0A>l<EFBFBD>,<2C>,<2C>-<2D> <12>6<EFBFBD> <20> rc<00>@a<00>]tRt^<5E>toRtRtRtRtV3RltRt Vt
R#)rz<>Subclass this to define the methods available on a DBus interface.
jeepney.bindgen can automatically create subclasses using introspection.
Nc<08><><00>\4PV4\V4VPe\ VP4WnW nR#r$)r%r&rr)rr'r()r*r'r(s&&&rr+<00>MessageGenerator.__init__<5F>s<<00><00><16><18>#<23>#<23>K<EFBFBD>0<><16>x<EFBFBD> <20> <0F>><3E>><3E> %<25> <1B>D<EFBFBD>N<EFBFBD>N<EFBFBD> +<2B>&<26><18> <20> rc<08>v<00>RP\V4PVPVP4#)z{}({!r}, bus_name={!r}))r.r/r0r'r(r1s&rr2<00>MessageGenerator.__repr__<5F>s2<00><00>(<28>/<2F>/<2F><04>T<EFBFBD>
<EFBFBD>0C<EFBFBD>0C<EFBFBD>04<EFBFBD>0@<40>0@<40>$<24>-<2D>-<2D>Q<01> Qrc<00>6<<01>V^8<>dQh/S[S[,;R&#)<02>r))<02>Optional<61>str)r.r?s"<22>r<00> __annotate__<5F>MessageGenerator.__annotate__<5F>s<00><><00><00>
<18><03>}<7D>#<23> r)r(r') r0r8r9r:r;r)r+r2<00>__annotate_func__r<r=r>s@rrr<00>s#<00><><00><00><08> $<24>I<EFBFBD>!<21>Q<01>!<01>rc<00>6a<00>]tRt^<5E>toRtRtRtRtRtVt R#)<07> ProxyBasez<65>A proxy is an IO-aware wrapper around a MessageGenerator
Calling methods on a proxy object will send a message and wait for the
reply. This is a base class for proxy implementations in jeepney.io.
c<08><00>WnR#r$<00><01>_msggen)r*<00>msggens&&rr+<00>ProxyBase.__init__<5F>s<00><00><1D> rc<08><><00>VPR4'd \V4h\VPVR4p\ V4'dVP V4#\V4h)<02>__N)<06>
startswith<EFBFBD>AttributeError<6F>getattrr<72><00>callable<6C> _method_call)r*<00>item<65>make_msgs&& r<00> __getattr__<5F>ProxyBase.__getattr__<5F>sU<00><00> <0F>?<3F>?<3F>4<EFBFBD> <20> <20> <20><14>&<26> &<26><1A>4<EFBFBD><<3C><<3C><14>t<EFBFBD>4<><08> <13>H<EFBFBD> <1D> <1D><17>$<24>$<24>X<EFBFBD>.<2E> .<2E><1C>T<EFBFBD>"<22>"rc<08><00>\R4h)z#Needs to be implemented in subclass)<01>NotImplementedError)r*r<>s&&rr<><00>ProxyBase._method_call<6C>s<00><00>!<21>"G<>H<>Hrr<>N)
r0r8r9r:r;r+r<>r<>r<r=r>s@rrr<00>s <00><><00><00><08>
<1E>#<23>I<01>Irrc<00>Ha<00>]tRt^<5E>toRtV3RlRltRtRtRtRt Vt
R#) rz<>Build messages for accessing object properties
If a D-Bus object has multiple interfaces, each interface has its own
set of properties.
This uses the standard DBus interface ``org.freedesktop.DBus.Properties``
c<00>6<<01>V^8<>dQhRS[S[S[3,/#)rx<00>obj)rrr)r.r?s"<22>rr{<00>Properties.__annotate__<5F>s"<00><><00>Q<01>Q<01>E<EFBFBD>+<2B>/?<3F>"?<3F>@<40>Qrc<08>`<00>Wn\VPVPRR7VnR#)zorg.freedesktop.DBus.Properties)r(r)N)r<>rr'r(<00>props_if)r*r<>s&&rr+<00>Properties.__init__<5F>s#<00><00><16><08>#<23>C<EFBFBD>O<EFBFBD>O<EFBFBD>c<EFBFBD>l<EFBFBD>l<EFBFBD>.O<>Q<01><04> rc <0C>^<00>\VPRRVPPV34#)z$Get the value of the property *name*<2A>Get<65>ss<73>rbr<>r<>r))r*rs&&rrf<00>Properties.get<65>s+<00><00><1E>t<EFBFBD>}<7D>}<7D>e<EFBFBD>T<EFBFBD><18>H<EFBFBD>H<EFBFBD>&<26>&<26><04>-<2D>/<2F> /rc <0C>\<00>\VPRRVPP34#)z*Get all property values for this interface<63>GetAll<6C>sr<73>r1s&r<00>get_all<6C>Properties.get_all<6C>s)<00><00><1E>t<EFBFBD>}<7D>}<7D>h<EFBFBD><03> $<24><08><08> 2<> 2<>4<>6<> 6rc  <0C>b<00>\VPRRVPPWV334#)z?Set the property *name* to *value* (with appropriate signature)<29>Set<65>ssvr<76>)r*rr\<00>values&&&&r<00>set<65>Properties.set<65>s2<00><00><1E>t<EFBFBD>}<7D>}<7D>e<EFBFBD>U<EFBFBD><18>H<EFBFBD>H<EFBFBD>&<26>&<26><04>%<25>.@<40>A<>C<01> Cr)r<>r<>N) r0r8r9r:r;r+rfr<>r<>r<r=r>s@rrr<00>s,<00><><00><00><08>Q<01>Q<01>
/<2F>
6<>
C<01>Crc<00>*a<00>]tRt^<5E>toRtRtRtVtR#)r z#org.freedesktop.DBus.Introspectablec <0C><00>\VR4#)z3Request D-Bus introspection XML for a remote object<63>
Introspect)rbr1s&rr<><00>Introspectable.Introspect<63>s<00><00><1E>t<EFBFBD>\<5C>2<>2rrGN)r0r8r9r:r)r<>r<r=r>s@rr r <00>s<00><><00><00>5<>I<EFBFBD>3<>3rc<00>0a<00>]tRt^<5E>toRtRtRtRtVtR#)r
z?Raised by proxy method calls when the reply is an error messagec<08><><00>VPPP\P4VnVP VnR#r$)rarNrfrXrlrr`<00>data)r*<00>msgs&&rr+<00>DBusErrorResponse.__init__<5F>s/<00><00><17>J<EFBFBD>J<EFBFBD>%<25>%<25>)<29>)<29>,<2C>*A<>*A<>B<><04> <09><17>H<EFBFBD>H<EFBFBD><04> rc<08>N<00>RPVPVP4#)z[{}] {})r.rr<>r1s&r<00>__str__<5F>DBusErrorResponse.__str__<5F>s<00><00><18><1F><1F><04> <09> <09>4<EFBFBD>9<EFBFBD>9<EFBFBD>5<>5r)r<>rN) r0r8r9r:r;r+r<>r<r=r>s@rr
r
<00>s<00><><00><00>I<><1D>6<>6rc<00>$<00>V^8<>dQhR\/#)rxr<>)r])r.s"rr{r{s<00><00> <14> <14>G<EFBFBD> rc<04><><00>VPP\P8Xd \ V4hVP
#)z<>Get the body of a message, raising DBusErrorResponse for error messages
This is to be used with replies to method_call messages, which may be
method_return or error.
)ra<00> message_typerVrkr
r`)r<>s&r<00>
unwrap_msgr<EFBFBD>s0<00><00>  <0B>z<EFBFBD>z<EFBFBD><1E><1E>+<2B>"3<>"3<>3<><1F><03>$<24>$<24> <0E>8<EFBFBD>8<EFBFBD>Or) rrbrirmrqrrr r
)NrG)<1C>re<72>typingr<00>warningsr<00> low_level<65>__all__<5F>compilerrrrr r!rrArTrbrirmrqrrrr <00> Exceptionr
r<>rGrr<00><module>r<>s<><00><01> <09><18><19><18>
<02><07><12>z<EFBFBD>z<EFBFBD>,<2C><02> <0C>
><3E><13>
<EFBFBD>
<EFBFBD>P<>Q<> <0A>D<01><15>*<2A>*<2A>7<>8<><0F>@<01>F<01>F<01>:H<01><1B>H<01>
8<>!<21>4!<21> !<21>$!<21>(Q<01>Q<01>*I<01>I<01>,C<01>C<01>83<>%<25>3<>6<> <09>6<> r