small corrections
This commit is contained in:
@@ -4,7 +4,6 @@ import os
|
||||
import json
|
||||
import base64
|
||||
import secrets
|
||||
from typing import Tuple
|
||||
|
||||
from .password_provider_interface import PasswordProviderInterface
|
||||
|
||||
@@ -30,7 +29,7 @@ class PasswordProviderExample(PasswordProviderInterface):
|
||||
return url_safe_string
|
||||
|
||||
@classmethod
|
||||
def get_decryption_keys(cls) -> Tuple[str, dict[str, str] | None]:
|
||||
def get_decryption_keys(cls) -> tuple[str, dict[str, str] | None]:
|
||||
"""Placeholder function to get decryption keys. Implement your own logic here.
|
||||
|
||||
Returns:
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
"""Definition of PasswordProviderInterface."""
|
||||
|
||||
from typing import Tuple
|
||||
from abc import ABC, abstractmethod
|
||||
|
||||
|
||||
@@ -18,7 +17,7 @@ class PasswordProviderInterface(ABC):
|
||||
|
||||
@classmethod
|
||||
@abstractmethod
|
||||
def get_decryption_keys(cls) -> Tuple[str, dict[str, str] | None]:
|
||||
def get_decryption_keys(cls) -> tuple[str, dict[str, str] | None]:
|
||||
"""Get decryption keys for decryption.
|
||||
|
||||
Returns:
|
||||
|
||||
Reference in New Issue
Block a user