del: functools.cache
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from datetime import datetime
|
||||
from functools import cache
|
||||
from os import getuid
|
||||
from pathlib import Path
|
||||
from re import search
|
||||
@@ -465,7 +464,6 @@ class Pool:
|
||||
self._path: ZFSPath = ZFSPath.from_string(name)
|
||||
|
||||
@property
|
||||
@cache
|
||||
def datasets(self) -> list[Dataset]:
|
||||
return ZFS.get_first_level_datasets(self)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user