Skip to content

Commit

Permalink
docs: add type hints for post process Algorithm method in isochrones …
Browse files Browse the repository at this point in the history
…layer proc
  • Loading branch information
merydian committed May 13, 2024
1 parent 8e9a571 commit c8db1d3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ORStools/proc/isochrones_layer_proc.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,9 @@ def processAlgorithm(
return {self.OUT: self.dest_id}

# noinspection PyUnusedLocal
def postProcessAlgorithm(self, context, feedback) -> Dict[str, str]:
def postProcessAlgorithm(
self, context: QgsProcessingContext, feedback: QgsProcessingFeedback
) -> Dict[str, str]:
"""Style polygon layer in post-processing step."""
# processed_layer = self.isochrones.calculate_difference(self.dest_id, context)
processed_layer = QgsProcessingUtils.mapLayerFromString(self.dest_id, context)
Expand Down

0 comments on commit c8db1d3

Please sign in to comment.