mirror of
https://github.com/rommapp/romm.git
synced 2026-02-18 00:27:41 +01:00
[HOTFIX] Remove files from model_dump in scan
This commit is contained in:
@@ -26,25 +26,25 @@ lint:
|
||||
- hadolint@2.14.0
|
||||
- markdownlint@0.47.0
|
||||
- eslint@9.39.2
|
||||
- actionlint@1.7.9
|
||||
- actionlint@1.7.10
|
||||
- bandit@1.9.2
|
||||
- black@25.12.0
|
||||
- checkov@3.2.495
|
||||
- checkov@3.2.497
|
||||
- git-diff-check
|
||||
- isort@7.0.0
|
||||
- mypy@1.19.1
|
||||
- osv-scanner@2.3.1
|
||||
- prettier@3.7.4:
|
||||
- osv-scanner@2.3.2
|
||||
- prettier@3.8.0:
|
||||
packages:
|
||||
- "@trivago/prettier-plugin-sort-imports@6.0.0"
|
||||
- "@trivago/prettier-plugin-sort-imports@6.0.2"
|
||||
- "@vue/compiler-sfc@3.5.26"
|
||||
- ruff@0.14.10
|
||||
- ruff@0.14.13
|
||||
- shellcheck@0.11.0
|
||||
- shfmt@3.6.0
|
||||
- taplo@0.10.0
|
||||
- trivy@0.68.1
|
||||
- trufflehog@3.92.1
|
||||
- yamllint@1.37.1
|
||||
- trivy@0.68.2
|
||||
- trufflehog@3.92.5
|
||||
- yamllint@1.38.0
|
||||
ignore:
|
||||
- linters: [ALL]
|
||||
paths:
|
||||
|
||||
@@ -335,7 +335,13 @@ async def _identify_rom(
|
||||
await socket_manager.emit(
|
||||
"scan:scanning_rom",
|
||||
SimpleRomSchema.from_orm_with_factory(_added_rom).model_dump(
|
||||
exclude={"created_at", "updated_at", "rom_user"}
|
||||
exclude={
|
||||
"created_at",
|
||||
"updated_at",
|
||||
"rom_user",
|
||||
"last_modified",
|
||||
"files",
|
||||
}
|
||||
),
|
||||
)
|
||||
|
||||
@@ -440,7 +446,7 @@ async def _identify_rom(
|
||||
await socket_manager.emit(
|
||||
"scan:scanning_rom",
|
||||
SimpleRomSchema.from_orm_with_factory(_added_rom).model_dump(
|
||||
exclude={"created_at", "updated_at", "rom_user"}
|
||||
exclude={"created_at", "updated_at", "rom_user", "last_modified", "files"}
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
@@ -402,7 +402,13 @@ async def scan_rom(
|
||||
"scan:scanning_rom",
|
||||
{
|
||||
**SimpleRomSchema.from_orm_with_factory(_added_rom).model_dump(
|
||||
exclude={"created_at", "updated_at", "rom_user"}
|
||||
exclude={
|
||||
"created_at",
|
||||
"updated_at",
|
||||
"rom_user",
|
||||
"last_modified",
|
||||
"files",
|
||||
}
|
||||
),
|
||||
},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user