You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tag argument to .filter() can be a list of strings as well as a string.
Example:-
importpynetboxnb=pynetbox.api(
NETBOX_URL,
token=NETBOX_TOKEN
)
# Argument of type "list[str]" cannot be assigned to parameter "tag" of type "str | None" in function "filter"prefixes=nb.ipam.prefixes.filter(tag=["apple", "banana", "cherry"])
The text was updated successfully, but these errors were encountered:
The
tag
argument to.filter()
can be a list of strings as well as a string.Example:-
The text was updated successfully, but these errors were encountered: