Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xuwx1
LightX2V
Commits
5e74be24
Commit
5e74be24
authored
Jul 18, 2025
by
gaclove
Browse files
Remove commented code
parent
4e735704
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
lightx2v/server/service.py
lightx2v/server/service.py
+0
-1
No files found.
lightx2v/server/service.py
View file @
5e74be24
...
@@ -316,7 +316,6 @@ class VideoGenerationService:
...
@@ -316,7 +316,6 @@ class VideoGenerationService:
async
def
generate_video
(
self
,
message
:
TaskRequest
)
->
TaskResponse
:
async
def
generate_video
(
self
,
message
:
TaskRequest
)
->
TaskResponse
:
try
:
try
:
# 只包含显式设置的字段,排除使用默认值的字段
task_data
=
{
field
:
getattr
(
message
,
field
)
for
field
in
message
.
model_fields_set
if
field
!=
"task_id"
}
task_data
=
{
field
:
getattr
(
message
,
field
)
for
field
in
message
.
model_fields_set
if
field
!=
"task_id"
}
task_data
[
"task_id"
]
=
message
.
task_id
task_data
[
"task_id"
]
=
message
.
task_id
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment