forked from TrueCloudLab/frostfs-testlib
[#232]Change provide methods
This commit is contained in:
parent
deb2f12bec
commit
d9f4e88f94
1 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ class S3CredentialsProvider(ABC):
|
||||||
self.cluster = cluster
|
self.cluster = cluster
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def provide(self, user: User, cluster_node: ClusterNode, location_constraints: Optional[str] = None) -> S3Credentials:
|
def provide(self, user: User, cluster_node: ClusterNode, location_constraints: Optional[str] = None, **kwargs) -> S3Credentials:
|
||||||
raise NotImplementedError("Directly called abstract class?")
|
raise NotImplementedError("Directly called abstract class?")
|
||||||
|
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ class GrpcCredentialsProvider(ABC):
|
||||||
self.cluster = cluster
|
self.cluster = cluster
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def provide(self, user: User, cluster_node: ClusterNode) -> WalletInfo:
|
def provide(self, user: User, cluster_node: ClusterNode, **kwargs) -> WalletInfo:
|
||||||
raise NotImplementedError("Directly called abstract class?")
|
raise NotImplementedError("Directly called abstract class?")
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue