Ñò
;vVc @ sß d Z d d k Z d d k Z d d k l Z d d k l Z d d k l Z d d k l Z d e i f d „ ƒ YZ
d e i f d
„ ƒ YZ d e i f d „ ƒ YZ
d
e i f d „ ƒ YZ d e i f d „ ƒ YZ d S( s Object v1 action implementationsiÿÿÿÿN( t command( t lister( t show( t utilst CreateObjectc B sB e Z d Z e i e d ƒ Z d „ Z e i e ƒ d „ ƒ Z RS( s Upload object to containers
.CreateObjectc C sT t t | ƒ i | ƒ } | i d d d d d ƒ| i d d d d d d d
ƒ| S( Nt containert metavars t helps Container for new objectt objectss
t nargst +s Local filename(s) to upload( t superR t
get_parsert add_argument( t selft prog_namet parser( ( sP /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/object/v1/object.pyR " s c sk g } xB | i D]7 } | i i i i d | i d | ƒ } | i | ƒ q Wd ‰ ˆ ‡ f d † | Dƒ f S( NR t objectt etagc 3 s+ x$ | ] } t i | ˆ d h ƒVq Wd S( t
formattersN( R t get_dict_properties( t .0t s( t columns( sP /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/object/v1/object.pys > s ( R R s etag( R t appt client_managert object_storet
object_createR t append( R t parsed_argst resultst objt data( ( R sP /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/object/v1/object.pyt take_action1 s
(
t __name__t
__module__t __doc__t loggingt getLoggert logR R t
log_methodR! ( ( ( sP /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/object/v1/object.pyR s t DeleteObjectc B sB e Z d Z e i e d ƒ Z d „ Z e i e ƒ d „ ƒ Z RS( s Delete object from containers
.DeleteObjectc C sT t t | ƒ i | ƒ } | i d d d d d ƒ| i d d d d d d d
ƒ| S( NR R s R s! Delete object(s) from R s