#NEWLINE# def AsOptionsDict( self ) : #NEWLINE# #INDENT# 'Return the current object as an options dict object.' #NEWLINE# bucket_name = ( self . cloud_storage_bucket or '' ) #NEWLINE# if bucket_name . startswith ( 'gs://' ) : #NEWLINE# #INDENT# bucket_name = bucket_name [ 5 : ] #NEWLINE# #UNINDENT# return { #NEWLINE# #INDENT# OPTIONS_STORAGE_KEY : { #NEWLINE# #INDENT# OPTIONS_STORAGE_BUCKET_KEY : bucket_name , #NEWLINE# OPTIONS_STORAGE_PREFIX_KEY : ( self . cloud_storage_prefix or '' ) , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# }