Currently using pydantic-settings for with_attrs_docs decorator to retrieve doc strings as descriptions. Should be replaced with vendored utility.
13 lines
390 B
Python
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] = []
|