cleanup the od api interface
This commit is contained in:
parent
04a17f6ac8
commit
9eea3618d0
6 changed files with 69 additions and 47 deletions
9
api/od_stub.pyi
Normal file
9
api/od_stub.pyi
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
from typing import Optional
|
||||
from uuid import UUID
|
||||
|
||||
from od_stub_readonly import *
|
||||
|
||||
def create_object(object_name: Optional[str], class_name: str) -> UUID: ...
|
||||
def create_link(link_name: Optional[str], assoc_name: str, src: UUID, tgt: UUID) -> UUID: ...
|
||||
def delete(obj: UUID) -> None: ...
|
||||
def set_slot_value(obj: UUID, attr_name: str, new_value: any, is_code=False) -> None: ...
|
||||
Loading…
Add table
Add a link
Reference in a new issue