Skip to content

Commit

Permalink
fix: Pylint W0201 attribute-defined-outside-init (#717)
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentame authored Nov 3, 2024
1 parent fc7b703 commit b39c682
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions src/freebox_api/aiofreepybox.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,34 @@ def __init__(
self._session: ClientSession
self._access: Access

# Define modules
self.tv: Tv
self.system: System
self.dhcp: Dhcp
self.airmedia: Airmedia
self.player: Player
self.switch: Switch
self.lan: Lan
self.storage: Storage
self.lcd: Lcd
self.wifi: Wifi
self.phone: Phone
self.ftp: Ftp
self.fs: Fs
self.fw: Fw
self.freeplug: Freeplug
self.call: Call
self.connection: Connection
self.download: Download
self.home: Home
self.parental: Parental
self.netshare: Netshare
self.notifications: Notifications
self.remote: Remote
self.rrd: Rrd
self.upnpav: Upnpav
self.upnpigd: Upnpigd

async def open(self, host: str, port: str) -> None:
"""
Open a session to the freebox, get a valid access module
Expand Down

0 comments on commit b39c682

Please sign in to comment.