mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-31 19:45:15 +02:00
refactor(automation): drop Block suffix from definition components
This commit is contained in:
parent
7f4c1c25ab
commit
56b3e1bfc4
6 changed files with 25 additions and 25 deletions
|
|
@ -1,4 +1,4 @@
|
|||
"""``InputsBlock`` — JSON Schema for inputs an automation accepts at fire time."""
|
||||
"""``Inputs`` — JSON Schema for inputs an automation accepts at fire time."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
|
@ -7,7 +7,7 @@ from typing import Any
|
|||
from pydantic import BaseModel, ConfigDict, Field
|
||||
|
||||
|
||||
class InputsBlock(BaseModel):
|
||||
class Inputs(BaseModel):
|
||||
model_config = ConfigDict(
|
||||
extra="forbid",
|
||||
populate_by_name=True,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue