@@ -134,7 +134,6 @@ def get_key_cache(self) -> Any:
134134
135135 def close (self ):
136136 """Close resources associated with KAS interface."""
137- pass
138137
139138 def __exit__ (self , exc_type , exc_val , exc_tb ):
140139 self .close ()
@@ -219,7 +218,6 @@ def kas(self) -> KAS:
219218
220219 def close (self ):
221220 """Close resources associated with the services."""
222- pass
223221
224222 def __exit__ (self , exc_type , exc_val , exc_tb ):
225223 self .close ()
@@ -377,23 +375,15 @@ def is_tdf(data: bytes | BinaryIO) -> bool:
377375 class SplitKeyException (SDKException ):
378376 """Throw when SDK encounters error related to split key operations."""
379377
380- pass
381-
382378 class DataSizeNotSupported (SDKException ):
383379 """Throw when user attempts to create TDF larger than maximum size."""
384380
385- pass
386-
387381 class KasInfoMissing (SDKException ):
388382 """Throw during TDF creation when no KAS information is present."""
389383
390- pass
391-
392384 class KasPublicKeyMissing (SDKException ):
393385 """Throw during encryption when SDK cannot retrieve public key for KAS."""
394386
395- pass
396-
397387 class TamperException (SDKException ):
398388 """Base class for exceptions related to signature mismatches."""
399389
@@ -407,18 +397,12 @@ class RootSignatureValidationException(TamperException):
407397 class SegmentSignatureMismatch (TamperException ):
408398 """Throw when segment signature does not match expected value."""
409399
410- pass
411-
412400 class KasBadRequestException (SDKException ):
413401 """Throw when KAS returns bad request response."""
414402
415- pass
416-
417403 class KasAllowlistException (SDKException ):
418404 """Throw when KAS allowlist check fails."""
419405
420- pass
421-
422406 class AssertionException (SDKException ):
423407 """Throw when an assertion validation fails."""
424408
0 commit comments