Python: extend aiohttp model

This commit is contained in:
Taus
2023-10-10 14:48:11 +00:00
committed by Rasmus Wriedt Larsen
parent b5bffb2220
commit aa3f1cf3e1
2 changed files with 8 additions and 0 deletions

View File

@@ -32,6 +32,8 @@ module AiohttpWebModel {
/** Gets a reference to the `aiohttp.web.View` class or any subclass. */
API::Node subclassRef() {
result = API::moduleImport("aiohttp").getMember("web").getMember("View").getASubclass*()
or
result = ModelOutput::getATypeNode("aiohttp.web.View~Subclass").getASubclass*()
}
}