mirror of
https://github.com/odoo-ide/odoo-stubs.git
synced 2025-05-08 16:52:26 +03:00
30 lines
990 B
Python
30 lines
990 B
Python
# Stubs for odoo.modules.graph (Python 3)
|
|
#
|
|
# NOTE: This dynamically typed stub was automatically generated by stubgen.
|
|
|
|
from typing import Any, Optional
|
|
|
|
class Graph(dict):
|
|
def add_node(self, name: Any, info: Any): ...
|
|
def update_from_db(self, cr: Any) -> None: ...
|
|
def add_module(self, cr: Any, module: Any, force: Optional[Any] = ...) -> None: ...
|
|
def add_modules(self, cr: Any, module_list: Any, force: Optional[Any] = ...): ...
|
|
def __iter__(self) -> None: ...
|
|
|
|
class Node:
|
|
def __new__(cls, name: Any, graph: Any, info: Any): ...
|
|
name: Any = ...
|
|
graph: Any = ...
|
|
info: Any = ...
|
|
children: Any = ...
|
|
depth: int = ...
|
|
def __init__(self, name: Any, graph: Any, info: Any) -> None: ...
|
|
@property
|
|
def data(self): ...
|
|
def add_child(self, name: Any, info: Any): ...
|
|
def __setattr__(self, name: Any, value: Any) -> None: ...
|
|
def __iter__(self): ...
|
|
def should_have_demo(self): ...
|
|
@property
|
|
def parents(self): ...
|