Files
OctoPrint/src/octoprint/schema/__init__.py
T
Gina Häußge d0bcd544aa 🐛 Fix some issues with the schema
Enums could not be yaml'd for the docs build. Also
fixed some use of strings where enum values were
meant.
2022-10-27 15:37:51 +02:00

10 lines
332 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 pydantic import BaseModel as PydanticBaseModel
class BaseModel(PydanticBaseModel):
class Config:
use_enum_values = True