Python: recognize fabric.operations

This commit is contained in:
Rasmus Lerchedahl Petersen
2024-06-24 10:54:59 +02:00
parent 21a0f8af07
commit 00fbada41d
2 changed files with 7 additions and 2 deletions

View File

@@ -29,8 +29,8 @@ private module FabricV1 {
// -------------------------------------------------------------------------
// fabric.api
// -------------------------------------------------------------------------
/** Gets a reference to the `fabric.api` module. */
API::Node api() { result = fabric().getMember("api") }
/** Gets a reference to the `fabric.api` module. Also known as `fabric.operations` */
API::Node api() { result = fabric().getMember(["api", "operations"]) }
/** Provides models for the `fabric.api` module */
module Api {