Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions infrahub_sdk/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1186,7 +1186,7 @@ async def allocate_next_ip_address(
async def allocate_next_ip_address(
self,
resource_pool: CoreNode,
kind: Literal[None] = ...,
kind: None = ...,
identifier: str | None = ...,
prefix_length: int | None = ...,
address_type: str | None = ...,
Expand All @@ -1201,7 +1201,7 @@ async def allocate_next_ip_address(
async def allocate_next_ip_address(
self,
resource_pool: CoreNode,
kind: Literal[None] = ...,
kind: None = ...,
identifier: str | None = ...,
prefix_length: int | None = ...,
address_type: str | None = ...,
Expand All @@ -1216,7 +1216,7 @@ async def allocate_next_ip_address(
async def allocate_next_ip_address(
self,
resource_pool: CoreNode,
kind: Literal[None] = ...,
kind: None = ...,
identifier: str | None = ...,
prefix_length: int | None = ...,
address_type: str | None = ...,
Expand Down Expand Up @@ -1333,7 +1333,7 @@ async def allocate_next_ip_prefix(
async def allocate_next_ip_prefix(
self,
resource_pool: CoreNode,
kind: Literal[None] = ...,
kind: None = ...,
identifier: str | None = ...,
prefix_length: int | None = ...,
member_type: str | None = ...,
Expand All @@ -1349,7 +1349,7 @@ async def allocate_next_ip_prefix(
async def allocate_next_ip_prefix(
self,
resource_pool: CoreNode,
kind: Literal[None] = ...,
kind: None = ...,
identifier: str | None = ...,
prefix_length: int | None = ...,
member_type: str | None = ...,
Expand All @@ -1365,7 +1365,7 @@ async def allocate_next_ip_prefix(
async def allocate_next_ip_prefix(
self,
resource_pool: CoreNode,
kind: Literal[None] = ...,
kind: None = ...,
identifier: str | None = ...,
prefix_length: int | None = ...,
member_type: str | None = ...,
Expand Down Expand Up @@ -2306,7 +2306,7 @@ def allocate_next_ip_address(
def allocate_next_ip_address(
self,
resource_pool: CoreNodeSync,
kind: Literal[None] = ...,
kind: None = ...,
identifier: str | None = ...,
prefix_length: int | None = ...,
address_type: str | None = ...,
Expand All @@ -2321,7 +2321,7 @@ def allocate_next_ip_address(
def allocate_next_ip_address(
self,
resource_pool: CoreNodeSync,
kind: Literal[None] = ...,
kind: None = ...,
identifier: str | None = ...,
prefix_length: int | None = ...,
address_type: str | None = ...,
Expand All @@ -2336,7 +2336,7 @@ def allocate_next_ip_address(
def allocate_next_ip_address(
self,
resource_pool: CoreNodeSync,
kind: Literal[None] = ...,
kind: None = ...,
identifier: str | None = ...,
prefix_length: int | None = ...,
address_type: str | None = ...,
Expand Down Expand Up @@ -2449,7 +2449,7 @@ def allocate_next_ip_prefix(
def allocate_next_ip_prefix(
self,
resource_pool: CoreNodeSync,
kind: Literal[None] = ...,
kind: None = ...,
identifier: str | None = ...,
prefix_length: int | None = ...,
member_type: str | None = ...,
Expand All @@ -2465,7 +2465,7 @@ def allocate_next_ip_prefix(
def allocate_next_ip_prefix(
self,
resource_pool: CoreNodeSync,
kind: Literal[None] = ...,
kind: None = ...,
identifier: str | None = ...,
prefix_length: int | None = ...,
member_type: str | None = ...,
Expand All @@ -2481,7 +2481,7 @@ def allocate_next_ip_prefix(
def allocate_next_ip_prefix(
self,
resource_pool: CoreNodeSync,
kind: Literal[None] = ...,
kind: None = ...,
identifier: str | None = ...,
prefix_length: int | None = ...,
member_type: str | None = ...,
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ ignore = [
"PLW1641", # Object does not implement `__hash__` method
"PTH100", # `os.path.abspath()` should be replaced by `Path.resolve()`
"PTH109", # `os.getcwd()` should be replaced by `Path.cwd()`
"PYI061", # [*] `Literal[None]` can be replaced with `None`
"RET504", # Unnecessary assignment to `data` before `return` statement
"RUF005", # Consider `[*path, str(key)]` instead of concatenation
"RUF015", # Prefer `next(iter(input_data["variables"].keys()))` over single element slice
Expand Down
Loading