def resource(self, type_, title, **kwargs):
resources = self.__api.resources(<EOL>type_=type_,<EOL>title=title,<EOL>query=EqualsOperator("<STR_LIT>", self.name),<EOL>**kwargs)<EOL>return next(resource for resource in resources)<EOL>
Get a resource matching the supplied type and title. Additional
        arguments may also be specified that will be passed to the query
        function.