mirror of
https://github.com/rommapp/romm.git
synced 2026-02-18 00:27:41 +01:00
initialize field
This commit is contained in:
2
.github/workflows/pytest.yml
vendored
2
.github/workflows/pytest.yml
vendored
@@ -62,7 +62,7 @@ jobs:
|
||||
uv run pytest -vv --maxfail=10 --junitxml=pytest-report.xml --cov --cov-report xml:coverage.xml --cov-config=.coveragerc .
|
||||
|
||||
- name: Publish test results
|
||||
uses: EnricoMi/publish-unit-test-result-action/linux@sha-3a74b29
|
||||
uses: EnricoMi/publish-unit-test-result-action/linux@v2.20.0
|
||||
if: (!cancelled())
|
||||
with:
|
||||
files: |
|
||||
|
||||
@@ -247,6 +247,10 @@ class Rom(BaseModel):
|
||||
back_populates="roms",
|
||||
)
|
||||
|
||||
def __init__(self, *args: Any, **kwargs: Any) -> None:
|
||||
super().__init__(*args, **kwargs)
|
||||
self._is_identifying = False
|
||||
|
||||
@property
|
||||
def platform_slug(self) -> str:
|
||||
return self.platform.slug
|
||||
|
||||
Reference in New Issue
Block a user