mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-22 19:23:34 +00:00
f6fd898faf
* Add DeviceConfig handling * Update post review * Further update post latest review * Update following latest review * Update docstrings and docs
13 lines
315 B
Python
13 lines
315 B
Python
"""Credentials class for username / passwords."""
|
|
|
|
from dataclasses import dataclass, field
|
|
from typing import Optional
|
|
|
|
|
|
@dataclass
|
|
class Credentials:
|
|
"""Credentials for authentication."""
|
|
|
|
username: Optional[str] = field(default="", repr=False)
|
|
password: Optional[str] = field(default="", repr=False)
|