chg: added type ignores and type hint on false negatives
This commit is contained in:
Родитель
79eb50aeff
Коммит
1d72bc5ee8
|
@ -74,11 +74,13 @@ class BlobStorage(BaseStorage):
|
|||
retention_days: The maximum number of days a report should be allowed to have before
|
||||
being cleaned up
|
||||
'''
|
||||
self._container_client = client = ContainerClient.from_connection_string(
|
||||
client: ContainerClient = ContainerClient.from_connection_string(
|
||||
connection_string,
|
||||
container_name=container_name
|
||||
)
|
||||
|
||||
self._container_client = client
|
||||
|
||||
self.max_retention_days = retention_days
|
||||
try:
|
||||
if not client.exists():
|
||||
|
|
|
@ -24,7 +24,7 @@ class OutputValueStep(BaseStep, BaseStepFactory):
|
|||
]
|
||||
|
||||
@classmethod
|
||||
def from_dict(
|
||||
def from_dict( # type: ignore
|
||||
cls,
|
||||
ctx: Context,
|
||||
action_dict: Dict,
|
||||
|
|
|
@ -66,7 +66,7 @@ class TestStep(BaseStep, BaseStepFactory):
|
|||
]
|
||||
|
||||
@classmethod
|
||||
def from_dict(
|
||||
def from_dict( # type: ignore
|
||||
cls,
|
||||
ctx: Context,
|
||||
action_dict,
|
||||
|
|
|
@ -34,7 +34,7 @@ class Validation(BaseStepFactory):
|
|||
}
|
||||
|
||||
@classmethod
|
||||
def from_dict(
|
||||
def from_dict( # type: ignore
|
||||
cls,
|
||||
ctx: Context,
|
||||
validation_dict: ValidationDictionary,
|
||||
|
|
Загрузка…
Ссылка в новой задаче