Skip to content

Commit

Permalink
Delete todo comment in _up_to_3_worker.py.
Browse files Browse the repository at this point in the history
I think I was talking about wanting to move the list loop into pydantic-core, by parsing this through a TypeAdapter(list[Command]) instead of a TypeAdapter(Command). That might be worth trying, but not in this PR.
  • Loading branch information
SyntaxColoring committed Dec 16, 2024
1 parent 53d902d commit d7b1740
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ def migrate_commands_for_run(
_legacy_pickle.loads(old_commands_bytes) if old_commands_bytes else []
)

# TODO Fold the list into this?
parsed_commands: typing.Iterable[commands.Command] = (
commands.CommandAdapter.validate_python(c) for c in old_commands
)
Expand Down

0 comments on commit d7b1740

Please sign in to comment.