Skip to content

Commit f75623f

Browse files
committed
Linting 7
1 parent f22e41b commit f75623f

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

sebs/azure/function_app.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def serialize(self) -> dict:
2222
}
2323

2424
@staticmethod
25-
def deserialize(cached_config: dict) -> FunctionApp:
25+
def deserialize(cached_config: dict) -> "FunctionApp":
2626
ret = FunctionApp(
2727
cached_config["name"],
2828
cached_config["code_package"],
@@ -40,11 +40,11 @@ def deserialize(cached_config: dict) -> FunctionApp:
4040

4141
class AzureFunction(Function, FunctionApp):
4242
@staticmethod
43-
def deserialize(cached_config: dict) -> AzureFunction:
43+
def deserialize(cached_config: dict) -> "AzureFunction":
4444
return cast(AzureFunction, FunctionApp.deserialize(cached_config))
4545

4646

4747
class AzureWorkflow(Workflow, FunctionApp):
4848
@staticmethod
49-
def deserialize(cached_config: dict) -> AzureWorkflow:
49+
def deserialize(cached_config: dict) -> "AzureWorkflow":
5050
return cast(AzureWorkflow, FunctionApp.deserialize(cached_config))

sebs/gcp/gcp.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,10 @@ def create_workflow(self, code_package: CodePackage, workflow_name: str) -> "GCP
418418

419419
full_workflow_name = GCP.get_full_workflow_name(project_name, location, workflow_name)
420420
get_req = (
421-
self.workflow_client.projects().locations().workflows().get(name=full_workflow_name) # type: ignore
421+
self.workflow_client.projects() # type: ignore
422+
.locations()
423+
.workflows()
424+
.get(name=full_workflow_name)
422425
)
423426

424427
try:

0 commit comments

Comments
 (0)