Skip to content

Commit

Permalink
Update baselib and use Optional
Browse files Browse the repository at this point in the history
Signed-off-by: hoangtungdinh <[email protected]>
  • Loading branch information
hoangtungdinh committed Oct 7, 2024
1 parent c48d888 commit 28571ec
Show file tree
Hide file tree
Showing 6 changed files with 87 additions and 91 deletions.
28 changes: 12 additions & 16 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ packages = [

[tool.poetry.dependencies]
python = "^3.10"
asam-qc-baselib = {git = "https://github.com/asam-ev/qc-baselib-py.git", rev = "develop"}
asam-qc-baselib = "^1.0.0rc1"
lxml = "^5.2.2"
numpy = "^1.26.0"
scipy = "^1.14.0"
Expand Down
6 changes: 3 additions & 3 deletions qc_opendrive/base/models.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
from dataclasses import dataclass
from enum import Enum
from lxml import etree
from typing import Union
from typing import Union, Optional

from qc_baselib import Configuration, Result


@dataclass
class CheckerData:
xml_file_path: str
input_file_xml_root: Union[None, etree._ElementTree]
input_file_xml_root: Optional[etree._ElementTree]
config: Configuration
result: Result
schema_version: Union[None, str]
schema_version: Optional[str]


class LinkageTag(str, Enum):
Expand Down
Loading

0 comments on commit 28571ec

Please sign in to comment.