mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-24 13:20:19 +08:00
Fix pylint error
This commit is contained in:
parent
b1bcf082af
commit
2d4e579503
@ -7,11 +7,12 @@ import torch
|
|||||||
import torch.nn
|
import torch.nn
|
||||||
from typing_extensions import TypedDict, NotRequired
|
from typing_extensions import TypedDict, NotRequired
|
||||||
|
|
||||||
from comfy.latent_formats import LatentFormat
|
from .latent_formats import LatentFormat
|
||||||
|
|
||||||
ModelManageableT = TypeVar('ModelManageableT', bound='ModelManageable')
|
ModelManageableT = TypeVar('ModelManageableT', bound='ModelManageable')
|
||||||
LatentFormatT = TypeVar('LatentFormatT', bound=LatentFormat)
|
LatentFormatT = TypeVar('LatentFormatT', bound=LatentFormat)
|
||||||
|
|
||||||
|
|
||||||
@runtime_checkable
|
@runtime_checkable
|
||||||
class DeviceSettable(Protocol):
|
class DeviceSettable(Protocol):
|
||||||
@property
|
@property
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user