mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-23 03:33:35 +00:00
13 lines
319 B
Python
13 lines
319 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=None, repr=False)
|
||
|
password: Optional[str] = field(default=None, repr=False)
|