Skip to content

Commit d1ce333

Browse files
committed
Fix format
1 parent e5d56fe commit d1ce333

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

infrahub_sdk/ctl/menu.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ async def load(
6767
raise typer.Exit(1)
6868

6969

70-
7170
@app.command()
7271
@catch_exception(console=console)
7372
async def validate(

infrahub_sdk/spec/object.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,14 @@ async def validate_format(self, client: InfrahubClient, branch: str | None = Non
182182
async def process(self, client: InfrahubClient, branch: str | None = None) -> None:
183183
schema = await client.schema.get(kind=self.kind, branch=branch)
184184
for idx, item in enumerate(self.data):
185-
await self.create_node(client=client, schema=schema, data=item, position=[idx + 1], branch=branch, default_schema_kind=self.kind)
185+
await self.create_node(
186+
client=client,
187+
schema=schema,
188+
data=item,
189+
position=[idx + 1],
190+
branch=branch,
191+
default_schema_kind=self.kind,
192+
)
186193

187194
@classmethod
188195
async def validate_object(

0 commit comments

Comments
 (0)