ソースを参照

add type canvas (#6680)

add type canvas
### Type of change
- [x] Refactoring
tags/v0.18.0
so95 7ヶ月前
コミット
1985ff7918
コミッターのメールアドレスに関連付けられたアカウントが存在しません
1個のファイルの変更2行の追加0行の削除
  1. 2
    0
      agent/component/base.py

+ 2
- 0
agent/component/base.py ファイルの表示

@@ -396,6 +396,8 @@ class ComponentBase(ABC):
)

def __init__(self, canvas, id, param: ComponentParamBase):
from agent.canvas import Canvas # Local import to avoid cyclic dependency
assert isinstance(canvas, Canvas), "canvas must be an instance of Canvas"
self._canvas = canvas
self._id = id
self._param = param

読み込み中…
キャンセル
保存