Skip to content

Commit

Permalink
only access vehicle_types through kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
1kastner committed Aug 20, 2024
1 parent 9a8fe70 commit 9fe21d4
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ def __init__(self):

def get_report_as_text(
self,
vehicle_types: ModeOfTransport | str | typing.Collection = "scheduled vehicles",
**kwargs
) -> str:
"""
Expand Down Expand Up @@ -99,7 +98,10 @@ def _get_analysis(self, kwargs: dict) -> (list, list):

return plain_table, vehicle_types

def get_report_as_graph(self, **kwargs) -> matplotlib.figure.Figure:
def get_report_as_graph(
self,
**kwargs
) -> matplotlib.figure.Figure:
"""
Keyword Args:
vehicle_types (typing.Collection[ModeOfTransport]): A collection of vehicle types, e.g., passed as a
Expand Down

0 comments on commit 9fe21d4

Please sign in to comment.