def init_for_create()

in remote_settings/client.py [0:0]


    def init_for_create(cls, args):
        """Initializes the RemoteSettingsClient for the create subcommand
        This expects the CLI args to have information regarding creating a
        new record, which populates the _new_records data member.

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

        Returns:
            RemoteSettingsClient: A RemoteSettingsClient that can create new records
        """
        this = cls(args)
        if args.path is not None:
            new_record_info = RemoteSettingsClient._create_record_info(args.path, args.version)
            this._new_records = [new_record_info]
        else:
            paths = this._paths_for_lang_pair(args)
            this._new_records = [
                RemoteSettingsClient._create_record_info(path, args.version) for path in paths
            ]

        return this