Skip to content

Commit

Permalink
Fix module docstring typeo, include mrc libs with quotes not angle br…
Browse files Browse the repository at this point in the history
…ackets, add MRC version string
  • Loading branch information
dagardner-nv committed Oct 7, 2024
1 parent cef7f0b commit f9950a7
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions python/mrc/core/coro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
*/
#include "pymrc/coro.hpp"

#include "mrc/coroutines/task.hpp"
#include "mrc/version.hpp"

#include <glog/logging.h>
#include <mrc/coroutines/task.hpp>
#include <pybind11/gil.h>
#include <pybind11/pybind11.h>
#include <pybind11/pytypes.h>
Expand All @@ -36,7 +38,7 @@ PYBIND11_MODULE(coro, _module)
{
_module.doc() = R"pbdoc(
-----------------------
.. currentmodule:: morpheus.llm
.. currentmodule:: coro
.. autosummary::
:toctree: _generate
Expand All @@ -61,7 +63,7 @@ PYBIND11_MODULE(coro, _module)
co_return strings[0];
});

// _module.attr("__version__") =
// MRC_CONCAT_STR(morpheus_VERSION_MAJOR << "." << morpheus_VERSION_MINOR << "." << morpheus_VERSION_PATCH);
_module.attr("__version__") = MRC_CONCAT_STR(mrc_VERSION_MAJOR << "." << mrc_VERSION_MINOR << "."
<< mrc_VERSION_PATCH);
}
} // namespace mrc::pymrc::coro

0 comments on commit f9950a7

Please sign in to comment.