@resources.command(ignore_defaults=True)<EOL><INDENT>def get(self, pk=None, **kwargs):<DEDENT>
if kwargs.pop('<STR_LIT>', True):<EOL><INDENT>debug.log('<STR_LIT>', header='<STR_LIT>')<EOL><DEDENT>response = self.read(pk=pk, fail_on_no_results=True, fail_on_multiple_results=True, **kwargs)<EOL>return response['<STR_LIT>'][<NUM_LIT:0>]<EOL>
Return one and exactly one object.

        Lookups may be through a primary key, specified as a positional argument, and/or through filters specified
        through keyword arguments.

        If the number of results does not equal one, raise an exception.

        =====API DOCS=====
        Retrieve one and exactly one object.

        :param pk: Primary key of the resource to be read. Tower CLI will only attempt to read *that* object
                   if ``pk`` is provided (not ``None``).
        :type pk: int
        :param `**kwargs`: Keyword arguments used to look up resource object to retrieve if ``pk`` is not provided.
        :returns: loaded JSON of the retrieved resource object.
        :rtype: dict

        =====API DOCS=====