lint
This commit is contained in:
parent
092553d25b
commit
05a5dbcff0
|
@ -1,5 +1,6 @@
|
|||
"""Fact_service."""
|
||||
from typing import Any, Optional
|
||||
from typing import Any
|
||||
from typing import Optional
|
||||
|
||||
from SpiffWorkflow import Task as SpiffTask # type: ignore
|
||||
|
||||
|
@ -15,7 +16,11 @@ class FactService(Script):
|
|||
do a basic task."""
|
||||
|
||||
def run(
|
||||
self, task: Optional[SpiffTask], environment_identifier: str, *args: Any, **kwargs: Any
|
||||
self,
|
||||
task: Optional[SpiffTask],
|
||||
environment_identifier: str,
|
||||
*args: Any,
|
||||
**kwargs: Any
|
||||
) -> Any:
|
||||
"""Run."""
|
||||
if "type" not in kwargs:
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
"""Get_env."""
|
||||
from typing import Any, Optional
|
||||
from typing import Any
|
||||
from typing import Optional
|
||||
|
||||
from SpiffWorkflow import Task as SpiffTask # type: ignore
|
||||
|
||||
|
@ -14,7 +15,11 @@ class GetEnv(Script):
|
|||
return """Returns the current environment - ie testing, staging, production."""
|
||||
|
||||
def run(
|
||||
self, task: Optional[SpiffTask], environment_identifier: str, *_args: Any, **kwargs: Any
|
||||
self,
|
||||
task: Optional[SpiffTask],
|
||||
environment_identifier: str,
|
||||
*_args: Any,
|
||||
**kwargs: Any
|
||||
) -> Any:
|
||||
"""Run."""
|
||||
return environment_identifier
|
||||
|
|
Loading…
Reference in New Issue