def get_credentials(self, *args, **kwargs):
        """
            Retrieves the users from elastic.
        """
        arguments, _ = self.argparser.parse_known_args()
        if self.is_pipe and self.use_pipe:
            return self.get_pipe(self.object_type)
        elif arguments.tags or arguments.type or arguments.search or arguments.password or arguments.cracked or arguments.range or arguments.domain:
            return self.argument_search()
        else:
            return self.search(*args, **kwargs)
def get_credentials(self, *args, **kwargs):
        """
            Retrieves the users from elastic.
        """
        arguments, _ = self.argparser.parse_known_args()
        if self.is_pipe and self.use_pipe:
            return self.get_pipe(self.object_type)
        elif arguments.tags or arguments.type or arguments.search or arguments.password or arguments.cracked or arguments.range or arguments.domain:
            return self.argument_search()
        else:
            return self.search(*args, **kwargs)
def get_credentials ( self , * args , * * kwargs ) : arguments , _ = self . argparser . parse_known_args ( ) if self . is_pipe and self . use_pipe : return self . get_pipe ( self . object_type ) elif arguments . tags or arguments . type or arguments . search or arguments . password or arguments . cracked or arguments . range or arguments . domain : return self . argument_search ( ) else : return self . search ( * args , * * kwargs )
Retrieves the users from elastic.
Retrieves the users from elastic .