Skip to content
Open
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
10 changes: 5 additions & 5 deletions axonius_api_client/api/assets/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def get_by_macs(self, values: List[str], **kwargs) -> GEN_TYPE: # pragma: no co
"""Build a query to get assets where :attr:`FIELD_MAC` in values.

Args:
values: list of mac addresss
values: list of mac addresses
**kwargs: passed to :meth:`get_by_values`
"""
kwargs["field"] = self.FIELD_MAC
Expand All @@ -97,7 +97,7 @@ def get_by_mac_regex(self, value: str, **kwargs) -> GEN_TYPE: # pragma: no cove
"""Build a query to get assets where :attr:`FIELD_MAC` regex matches value.

Args:
value: regex of mac adress to match
value: regex of mac address to match
**kwargs: passed to :meth:`get_by_value_regex`
"""
kwargs["field"] = self.FIELD_MAC
Expand All @@ -109,7 +109,7 @@ def get_by_mac(self, value: str, **kwargs) -> GEN_TYPE: # pragma: no cover
"""Build a query to get assets where :attr:`FIELD_MAC` == value.

Args:
value: mac adress
value: mac address
**kwargs: passed to :meth:`get_by_value`
"""
kwargs["field"] = self.FIELD_MAC
Expand All @@ -121,7 +121,7 @@ def get_by_ips(self, values: List[str], **kwargs) -> GEN_TYPE: # pragma: no cov
"""Build a query to get assets where :attr:`FIELD_IP` in values.

Args:
values: list of ip address
values: list of ip addresses
**kwargs: passed to :meth:`get_by_values`
"""
kwargs["field"] = self.FIELD_IP
Expand All @@ -133,7 +133,7 @@ def get_by_ip_regex(self, value: str, **kwargs) -> GEN_TYPE: # pragma: no cover
"""Build a query to get assets where :attr:`FIELD_IP` regex matches value.

Args:
values: regex of ip address to match
value: regex of ip address to match
**kwargs: passed to :meth:`get_by_value_regex`
"""
kwargs["field"] = self.FIELD_IP
Expand Down
2 changes: 1 addition & 1 deletion axonius_api_client/api/json_api/paging_state.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
"""API for working with adapters."""
"""API for working with paging state."""
import dataclasses
import datetime
import logging
Expand Down
2 changes: 1 addition & 1 deletion axonius_api_client/examples/add_adapter_cnxs_from_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def check_schema(schema: dict, configs: List, ignore_unknown_keys: bool = False)

for i, key in enumerate(configs):
if key not in schema_keys:
# add an execption here for special supported keys
# add an exception here for special supported keys
if key.startswith('*'):
continue
# process the rest like normal
Expand Down