darabos commited on
Commit
5f78089
·
1 Parent(s): 19adf28

Make width and height optional. Easier than figuring out all errors.

Browse files
lynxkite-core/src/lynxkite/core/workspace.py CHANGED
@@ -45,8 +45,8 @@ class WorkspaceNode(BaseConfig):
45
  type: str
46
  data: WorkspaceNodeData
47
  position: Position
48
- width: float
49
- height: float
50
  _crdt: pycrdt.Map
51
 
52
  def publish_started(self):
 
45
  type: str
46
  data: WorkspaceNodeData
47
  position: Position
48
+ width: Optional[float] = None
49
+ height: Optional[float] = None
50
  _crdt: pycrdt.Map
51
 
52
  def publish_started(self):