Files
OctoPrint/src/octoprint/schema/config/printer_parameters.py
T
Gina Häußge 8a8c0b16a2 ♻️ Migrate default settings to pydantic model
Currently using pydantic-settings for with_attrs_docs decorator
to retrieve doc strings as descriptions. Should be replaced with
vendored utility.
2022-06-09 12:43:22 +02:00

13 lines
390 B
Python

__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2022 The OctoPrint Project - Released under terms of the AGPLv3 License"
from typing import List
from pydantic import BaseModel
from pydantic_settings import with_attrs_docs
@with_attrs_docs
class PrinterParametersConfig(BaseModel):
pauseTriggers: List[str] = []