<s> """<STR_LIT>""" <EOL> from cafe . engine . http . client import AutoMarshallingHTTPClient <EOL> from cloudcafe . networking . networks . extensions . model import NeutronExtensions <EOL> content_type_fmt = '<STR_LIT>' <EOL> class ExtensionsClient ( AutoMarshallingHTTPClient ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , url , auth_token , serialize_format = None , <EOL> deserialize_format = None , tenant_id = None ) : <EOL> """<STR_LIT>""" <EOL> super ( ExtensionsClient , self ) . __init__ ( serialize_format , <EOL> deserialize_format ) <EOL> self . auth_token = auth_token <EOL> self . default_headers [ '<STR_LIT>' ] = auth_token <EOL> self . default_headers [ '<STR_LIT:Content-Type>' ] = content_type_fmt . format ( <EOL> content_type = '<STR_LIT>' , <EOL> content_subtype = self . serialize_format ) <EOL> self . default_headers [ '<STR_LIT>' ] = content_type_fmt . format ( <EOL> content_type = '<STR_LIT>' , <EOL> content_subtype = self . deserialize_format ) <EOL> if tenant_id : <EOL> self . default_headers [ '<STR_LIT>' ] = tenant_id <EOL> self . url = url <EOL> self . extensions_url = '<STR_LIT>' . format ( url = self . url ) <EOL> def get_deployed_extensions ( self , requestslib_kwargs = None ) : <EOL> """<STR_LIT>""" <EOL> return self . request ( '<STR_LIT:GET>' , self . extensions_url , <EOL> response_entity_type = NeutronExtensions , <EOL> requestslib_kwargs = requestslib_kwargs ) </s>
