Skip to content

Commit

Permalink
Use py::typing::List instead of py::List
Browse files Browse the repository at this point in the history
  • Loading branch information
virtuald committed Nov 5, 2023
1 parent 421f6e6 commit fa44c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subprojects/robotpy-apriltag/gen/AprilTagDetector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classes:
py::object py_result = py::cast(c_result);
auto len = c_result->size();
auto get = py_result.attr("get");
py::List<AprilTagDetection> l(len);
py::typing::List<AprilTagDetection> l(len);
for (size_t i = 0; i < len; i++) {
l[i] = get(i);
}
Expand Down

0 comments on commit fa44c26

Please sign in to comment.