diff --git a/librouteros/api.py b/librouteros/api.py index a2c135a..7bcc8d7 100644 --- a/librouteros/api.py +++ b/librouteros/api.py @@ -222,8 +222,7 @@ def __init__(self, path: str, api: AsyncApi): self.path = path self.api = api - def select(self, key: query.Key, *other: query.Key) -> query.AsyncQuery: - keys = (key,) + other + def select(self, *keys: query.Key) -> query.AsyncQuery: return query.AsyncQuery(path=self, keys=keys, api=self.api) def __str__(self) -> str: