mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-28 10:02:06 +08:00
58936aa0cb
* str enum * import sort * fix car helpers * fix that * fix static analysis old-commit-hash: 6ae465e4af76e21c6a31c541f37555f6bd0727fc
14 lines
259 B
Python
14 lines
259 B
Python
from enum import StrEnum
|
|
from typing import Dict, List, Optional, Union
|
|
|
|
from openpilot.selfdrive.car.docs_definitions import CarInfo
|
|
|
|
|
|
class CAR(StrEnum):
|
|
MOCK = 'mock'
|
|
|
|
|
|
CAR_INFO: Dict[str, Optional[Union[CarInfo, List[CarInfo]]]] = {
|
|
CAR.MOCK: None,
|
|
}
|