|
| None | __init__ (self, str|IPv4Address|IPv6Address ip_ban, datetime|None banned_at=None) |
| |
Represents banned IP address.
Definition at line 194 of file ban.py.
◆ __init__()
| None homeassistant.components.http.ban.IpBan.__init__ |
( |
|
self, |
|
|
str | IPv4Address | IPv6Address |
ip_ban, |
|
|
datetime | None |
banned_at = None |
|
) |
| |
Initialize IP Ban object.
Definition at line 197 of file ban.py.
◆ banned_at
| homeassistant.components.http.ban.IpBan.banned_at |
◆ ip_address
| homeassistant.components.http.ban.IpBan.ip_address |
The documentation for this class was generated from the following file:
- core/homeassistant/components/http/ban.py