Skip to content

Commit

Permalink
fix: remove api from repr logging
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlb committed Jan 12, 2025
1 parent d98c1f5 commit 4317222
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/blueair_api/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async def create_device(cls, api, uuid, name, mac, refresh=False):
_LOGGER.debug(f"create_device blueair device: {device}")
return device

api: HttpBlueair
api: HttpBlueair = field(repr=False)
raw_info : dict[str: any] = field(repr=False, init=False)

uuid: str | None = None
Expand Down
2 changes: 1 addition & 1 deletion src/blueair_api/device_aws.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async def create_device(cls, api, uuid, name, mac, type_name, refresh=False):
_LOGGER.debug(f"create_device blueair device_aws: {device_aws}")
return device_aws

api: HttpAwsBlueair
api: HttpAwsBlueair = field(repr=False)
raw_info : dict[str: any] = field(repr=False, init=False)

uuid : str | None = None
Expand Down

0 comments on commit 4317222

Please sign in to comment.