Skip to content

Commit 2548d9f

Browse files
committed
MAINT: Type hint for u_height in netbox_create
1 parent 5e197d1 commit 2548d9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Pynetbox_Data_Uploader/lib/netbox_api/netbox_create.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def create_device(self, data: dict | list) -> bool:
2323
return bool(devices)
2424

2525
def create_device_type(
26-
self, model: str, slug: str, manufacturer: str, u_height=1
26+
self, model: str, slug: str, manufacturer: str, u_height: int = 1
2727
) -> bool:
2828
"""
2929
This method creates a new device type in Netbox.

0 commit comments

Comments
 (0)