File: generator.py

package info (click to toggle)
libcamera 0.4.0-7
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 11,904 kB
  • sloc: cpp: 75,318; python: 17,996; ansic: 12,593; sh: 1,258; makefile: 56
file content (15 lines) | stat: -rw-r--r-- 375 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Copyright (C) 2022, Paul Elder <paul.elder@ideasonboard.com>
#
# Base class for a generator to convert dict to tuning file

from pathlib import Path


class Generator(object):
    def __init__(self):
        pass

    def write(self, output_path: Path, output_dict: dict, output_order: list):
        raise NotImplementedError