Skip to content

Commit f850017

Browse files
MagicRBmergify[bot]
authored andcommitted
Fix being unable to declare custom PostBuildSteps from Nix
Signed-off-by: magic_rb <[email protected]>
1 parent f36faa9 commit f850017

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

buildbot_nix/models.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from collections.abc import Mapping
22
from enum import Enum
33
from pathlib import Path
4+
from typing import Any
45

56
from buildbot.plugins import steps, util
67
from pydantic import BaseModel, ConfigDict, Field, TypeAdapter
@@ -32,7 +33,7 @@ class Interpolate(BaseModel):
3233
nix_type: str = Field(alias="_type")
3334
value: str
3435

35-
def __init__(self, value: str) -> None:
36+
def __init__(self, value: str, **kwargs: Any) -> None:
3637
super().__init__(nix_type="interpolate", value=value)
3738

3839

0 commit comments

Comments
 (0)