Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
ó
±EYc@süddlmZddlmZddlmZejjeƒdejfd„ƒYƒZ	ejj
de	fd„ƒYƒZejjeƒde	fd	„ƒYƒZejj
d
e	fd„ƒYƒZ
ejjeƒde	fd
„ƒYƒZd„ZdS(iÿÿÿÿ(tbase(tfields(trpctNotificationObjectcBseZdZdZd„ZRS(s;Base class for every notification related versioned object.s1.0cKs*tt|ƒj||jdtƒdS(Nt	recursive(tsuperRt__init__tobj_reset_changestFalse(tselftkwargs((sT/home/tvault/.virtenv/lib/python2.7/site-packages/nova/notifications/objects/base.pyRs(t__name__t
__module__t__doc__tVERSIONR(((sT/home/tvault/.virtenv/lib/python2.7/site-packages/nova/notifications/objects/base.pyRst	EventTypecBsVeZdZiejdeƒd6ejdeƒd6ejdeƒd6Zd„Z	RS(s1.3tnullabletobjecttactiontphasecCs=d|j|jf}|jdƒr9|d|j7}n|S(s(Serialize the object to the wire format.s%s.%sRs.%s(RRtobj_attr_is_setR(R	ts((sT/home/tvault/.virtenv/lib/python2.7/site-packages/nova/notifications/objects/base.pyt to_notification_event_type_field2s(
RRRRtStringFieldRtNotificationActionFieldtNotificationPhaseFieldtTrueR(((sT/home/tvault/.virtenv/lib/python2.7/site-packages/nova/notifications/objects/base.pyR#stNotificationPayloadBasecBs,eZdZiZdZd„Zd„ZRS(s6Base class for the payload of versioned notifications.s1.0cKs'tt|ƒj||j|_dS(N(RRRtSCHEMAt	populated(R	R
((sT/home/tvault/.virtenv/lib/python2.7/site-packages/nova/notifications/objects/base.pyRSscKsxxX|jjƒD]G\}\}}||}|j|ƒrt||t||ƒƒqqWt|_|jdtƒdS(s¹Populate the object based on the SCHEMA and the source objects

        :param kwargs: A dict contains the source object at the key defined in
                       the SCHEMA
        RN(	RtitemsRtsetattrtgetattrRRRR(R	R
tkeytobjtfieldtsource((sT/home/tvault/.virtenv/lib/python2.7/site-packages/nova/notifications/objects/base.pytpopulate_schemaWs"
 	(RRR
RRRR%(((sT/home/tvault/.virtenv/lib/python2.7/site-packages/nova/notifications/objects/base.pyR:s
	tNotificationPublishercBsIeZdZiejdeƒd6ejdeƒd6Zed„ƒZRS(s1.0RthosttbinarycCs|d|jd|jƒS(NR'R((R'R((tclstservice((sT/home/tvault/.virtenv/lib/python2.7/site-packages/nova/notifications/objects/base.pytfrom_service_objrs(RRRRRRtclassmethodR+(((sT/home/tvault/.virtenv/lib/python2.7/site-packages/nova/notifications/objects/base.pyR&hs
tNotificationBasecBsYeZdZdZiejƒd6ejdƒd6ejdƒd6Zd„Zd„ZRS(	s`Base class for versioned notifications.

    Every subclass shall define a 'payload' field.
    s1.0tpriorityRt
event_typeR&t	publishercCs;tj|ƒ}t||jƒ}||d|d|ƒdS(NR/tpayload(Rtget_versioned_notifierR R.(R	tcontextR/tpublisher_idR1tnotifiertnotify((sT/home/tvault/.virtenv/lib/python2.7/site-packages/nova/notifications/objects/base.pyt_emit†scCsp|jjst‚|jjdtƒ|j|d|jjƒdd|jj	|jj
fd|jjƒƒdS(sSend the notification.RR/R4s%s:%sR1N(R1RtAssertionErrorRRR7R/RR0R(R'tobj_to_primitive(R	R3((sT/home/tvault/.virtenv/lib/python2.7/site-packages/nova/notifications/objects/base.pytemit‹s	(	RRR
RRtNotificationPriorityFieldtObjectFieldR7R:(((sT/home/tvault/.virtenv/lib/python2.7/site-packages/nova/notifications/objects/base.pyR-ws
	cs‡fd†}|S(s4Class decorator to attach the notification sample information
    to the notification object for documentation generation purposes.

    :param sample: the path of the sample json file relative to the
                   doc/notification_samples/ directory in the nova repository
                   root.
    cs5t|ddƒs!ˆg|_n|jjˆƒ|S(Ntsamples(R tNoneR=tappend(R)(tsample(sT/home/tvault/.virtenv/lib/python2.7/site-packages/nova/notifications/objects/base.pytwrap¥s((R@RA((R@sT/home/tvault/.virtenv/lib/python2.7/site-packages/nova/notifications/objects/base.pytnotification_samplesN(tnova.objectsRRtnovaRtNovaObjectRegistrytregister_ifRt
NovaObjectRtregister_notificationRRR&R-RB(((sT/home/tvault/.virtenv/lib/python2.7/site-packages/nova/notifications/objects/base.pyt<module>s-%