Skip to content

Commit ba13d10

Browse files
committed
Remove refrences to resources feature scrapped from V3
1 parent f3c27d6 commit ba13d10

File tree

4 files changed

+1
-77
lines changed

4 files changed

+1
-77
lines changed

comfy_api/latest/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
from ._util import VideoCodec, VideoContainer, VideoComponents, MESH, VOXEL
1111
from . import _io_public as io
1212
from . import _ui_public as ui
13-
# from comfy_api.latest._resources import _RESOURCES as resources #noqa: F401
1413
from comfy_execution.utils import get_executing_context
1514
from comfy_execution.progress import get_progress_state, PreviewImageTuple
1615
from PIL import Image

comfy_api/latest/_io.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
from comfy_api.input import VideoInput
2727
from comfy_api.internal import (_ComfyNodeInternal, _NodeOutputInternal, classproperty, copy_class, first_real_override, is_class,
2828
prune_dict, shallow_clone_class)
29-
from ._resources import Resources, ResourcesLocal
3029
from comfy_execution.graph_utils import ExecutionBlocker
3130
from ._util import MESH, VOXEL
3231

@@ -1487,7 +1486,6 @@ class _ComfyNodeBaseInternal(_ComfyNodeInternal):
14871486
SCHEMA = None
14881487

14891488
# filled in during execution
1490-
resources: Resources = None
14911489
hidden: HiddenHolder = None
14921490

14931491
@classmethod
@@ -1534,7 +1532,6 @@ def check_lazy_status(cls, **kwargs) -> list[str]:
15341532
return [name for name in kwargs if kwargs[name] is None]
15351533

15361534
def __init__(self):
1537-
self.local_resources: ResourcesLocal = None
15381535
self.__class__.VALIDATE_CLASS()
15391536

15401537
@classmethod

comfy_api/latest/_resources.py

Lines changed: 0 additions & 72 deletions
This file was deleted.

execution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ async def process_inputs(inputs, index=None, input_is_list=False):
257257
pre_execute_cb(index)
258258
# V3
259259
if isinstance(obj, _ComfyNodeInternal) or (is_class(obj) and issubclass(obj, _ComfyNodeInternal)):
260-
# if is just a class, then assign no resources or state, just create clone
260+
# if is just a class, then assign no state, just create clone
261261
if is_class(obj):
262262
type_obj = obj
263263
obj.VALIDATE_CLASS()

0 commit comments

Comments
 (0)