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,11 +1,11 @@
|
|||
"""``MetadataBlock`` — free-form metadata on a definition. Extra keys allowed."""
|
||||
"""``Metadata`` — free-form metadata on a definition. Extra keys allowed."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from pydantic import BaseModel, ConfigDict, Field
|
||||
|
||||
|
||||
class MetadataBlock(BaseModel):
|
||||
class Metadata(BaseModel):
|
||||
model_config = ConfigDict(extra="allow")
|
||||
|
||||
tags: list[str] = Field(default_factory=list)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue