Skip to content

Commit

Permalink
Update abstract_service.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mdabrowski1990 authored Dec 16, 2024
1 parent 3b8fb14 commit 77fbab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uds/database/service/abstract_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def decode(self, payload: RawBytesAlias) -> List[DecodedDataRecord]:
:return: Decoded Data Records values from provided diagnostic message.
"""

def encode(self, sid: int, **data_records_values: DataRecordValueAlias) -> RawBytesListAlias:
def encode(self, sid: Union[int, RequestSID, ResponseSID], **data_records_values: DataRecordValueAlias) -> RawBytesListAlias:
"""
Encode diagnostic message payload for this service.
Expand Down

0 comments on commit 77fbab9

Please sign in to comment.