Global formatting fix
This commit is contained in:
parent
700ef25358
commit
324938133f
5 changed files with 7 additions and 3 deletions
|
|
@ -1,6 +1,7 @@
|
|||
from dataclasses import dataclass, field
|
||||
from typing import Type
|
||||
|
||||
|
||||
# TODO: unnecessary?
|
||||
|
||||
@dataclass
|
||||
|
|
@ -8,6 +9,7 @@ class PathItem:
|
|||
name: str
|
||||
t: Type
|
||||
|
||||
|
||||
@dataclass
|
||||
class Path:
|
||||
path: list[PathItem] = field(default_factory=list)
|
||||
|
|
@ -43,7 +45,8 @@ class Password:
|
|||
def path(self):
|
||||
return self.group.path.append(self.name, type(self))
|
||||
|
||||
|
||||
class UnencryptedPassword(Password):
|
||||
def __init__(self, name: str, value: str, group: Group):
|
||||
def __init__(self, name: str, value: str, group: Group):
|
||||
super().__init__(name, group)
|
||||
self.value = value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue