Skip to content

Commit

Permalink
path in Server init
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathf committed Jan 7, 2025
1 parent ab0bca9 commit 8529802
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/_vroom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ PYBIND11_MODULE(_vroom, m) {
.def(py::init<vroom::HEURISTIC, vroom::INIT, float>());

py::class_<vroom::Server>(m, "Server")
.def(py::init<std::string &, std::string &>(),
py::arg("host") = "0.0.0.0", py::arg("port") = "5000");
.def(py::init<std::string &, std::string & str::string &>(),
py::arg("host") = "0.0.0.0", py::arg("port") = "5000", py::arg("path") = "");

py::class_<vroom::Violations>(m, "Violations")
.def(py::init<>())
Expand Down

0 comments on commit 8529802

Please sign in to comment.