<s> from libsaas import http , parsers , port <EOL> from libsaas . services import base <EOL> class Subdomain ( base . HierarchicalResource ) : <EOL> @ base . apimethod <EOL> def get ( self ) : <EOL> """<STR_LIT>""" <EOL> url = '<STR_LIT>' . format ( self . parent . get_url ( ) , <EOL> port . to_u ( self . object_id ) ) <EOL> return http . Request ( '<STR_LIT:GET>' , url ) , parsers . parse_json </s>
