Skip to content

Commit

Permalink
Add typing information for error_map init argument
Browse files Browse the repository at this point in the history
  • Loading branch information
m-lundberg committed Nov 17, 2020
1 parent c44adfb commit fba4eae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions simple_pid/PID.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class PID(object):
output_limits: _Limits = ...,
auto_mode: bool = ...,
proportional_on_measurement: bool = ...,
error_map: Optional[Callable[[float], float]] = ...,
) -> None: ...
def __call__(self, input_: float, dt: Optional[float] = ...) -> Optional[float]: ...
def __repr__(self) -> str: ...
Expand Down

0 comments on commit fba4eae

Please sign in to comment.