Skip to content

Commit

Permalink
Merge pull request #244 from gescheit/fix_pb
Browse files Browse the repository at this point in the history
chore: allow search by device_type
  • Loading branch information
gescheit authored Feb 10, 2025
2 parents 66f660d + fc25ad0 commit 8508ac2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion annet/adapters/netbox/common/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@
from annet.storage import Query

FIELD_VALUE_SEPARATOR = ":"
ALLOWED_GLOB_GROUPS = ["site", "tag", "role"]
ALLOWED_GLOB_GROUPS = ["site", "tag", "role", "device_type"]


class Filter(TypedDict, total=False):
site: list[str]
tag: list[str]
role: list[str]
name: list[str]
device_type: list[str]


@dataclass
Expand Down

0 comments on commit 8508ac2

Please sign in to comment.