def _base_dir()

in remote_settings/client.py [0:0]


    def _base_dir(args):
        """Get the base directory in which to search for record attachments.

        Args:
            args (argparse.Namespace): The arguments passed through the CLI

        Returns:
            str: The base directory for record attachments.
        """
        if args.test:
            return os.path.join("tests", "remote_settings", "attachments")
        else:
            return "models"