| 340 | static ModuleOnceRunner uuid_runner("uuid"); |
| 341 | |
| 342 | PyObject* GetUuidClass() { |
| 343 | uuid_runner.RunOnce([](OwnedRef& module) { |
| 344 | OwnedRef ref; |
| 345 | if (ImportFromModule(module.obj(), "UUID", &ref).ok()) { |
| 346 | uuid_UUID = ref.obj(); |
| 347 | } |
| 348 | }); |
| 349 | return uuid_UUID; |
| 350 | } |
| 351 | |
| 352 | } // namespace |
| 353 |
no test coverage detected