From e7cce53a51d63a9bf1c4244c9e608c44bce88160 Mon Sep 17 00:00:00 2001 From: OMGeeky Date: Thu, 16 May 2024 19:27:34 +0200 Subject: [PATCH] add use for all enums to make the docs build I got no Idea if there is a better way to do this without importing all the enums but since it is only the docs I think it's fine. --- src/generator/templates/api/lib/mbuild.mako | 1 + 1 file changed, 1 insertion(+) diff --git a/src/generator/templates/api/lib/mbuild.mako b/src/generator/templates/api/lib/mbuild.mako index eed433bdd1..5c622972c4 100644 --- a/src/generator/templates/api/lib/mbuild.mako +++ b/src/generator/templates/api/lib/mbuild.mako @@ -345,6 +345,7 @@ ${self._setter_fn(resource, method, m, p, part_prop, ThisType, c)}\ request_value_type = request_value.id %>\ <%block filter="test_block_filter">\ +use ${util.library_name()}::api::enums::*; ${capture(util.test_prelude) | hide_filter}\ % if request_value: use ${util.library_name()}::api::${request_value_type};