mirror of
https://github.com/odoo-ide/odoo-stubs.git
synced 2025-05-08 16:52:26 +03:00
Cleanup
This commit is contained in:
@@ -139,6 +139,5 @@ class Cache:
|
||||
def check(self, env) -> None: ...
|
||||
|
||||
class SpecialValue:
|
||||
__slots__: Any
|
||||
get: Any
|
||||
def __init__(self, getter) -> None: ...
|
||||
|
||||
@@ -336,7 +336,6 @@ class Many2one(_Relational):
|
||||
def convert_to_onchange(self, value, record, names): ...
|
||||
|
||||
class _RelationalMultiUpdate:
|
||||
__slots__: Any
|
||||
record: Any
|
||||
field: Any
|
||||
value: Any
|
||||
|
||||
@@ -35,7 +35,6 @@ class MetaModel(api.Meta):
|
||||
def _get_addon_name(self, full_name): ...
|
||||
|
||||
class NewId:
|
||||
__slots__: Any
|
||||
ref: Any
|
||||
def __init__(self, ref: Optional[Any] = ...) -> None: ...
|
||||
def __bool__(self): ...
|
||||
|
||||
@@ -4,7 +4,6 @@ unsafe_eval = eval
|
||||
_logger: Any
|
||||
|
||||
class ormcache_counter:
|
||||
__slots__: Any
|
||||
hit: int
|
||||
miss: int
|
||||
err: int
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
from typing import Any, Optional
|
||||
|
||||
class LRUNode:
|
||||
__slots__: Any
|
||||
prev: Any
|
||||
me: Any
|
||||
next: Any
|
||||
|
||||
@@ -97,7 +97,6 @@ class CountingStream:
|
||||
def stripped_sys_argv(*strip_args): ...
|
||||
|
||||
class ConstantMapping(Mapping):
|
||||
__slots__: Any
|
||||
_value: Any
|
||||
def __init__(self, val) -> None: ...
|
||||
def __len__(self): ...
|
||||
@@ -118,7 +117,6 @@ class frozendict(dict):
|
||||
def __hash__(self) -> Any: ...
|
||||
|
||||
class Collector(Mapping):
|
||||
__slots__: Any
|
||||
_map: Any
|
||||
def __init__(self) -> None: ...
|
||||
def add(self, key, val) -> None: ...
|
||||
@@ -127,7 +125,6 @@ class Collector(Mapping):
|
||||
def __len__(self): ...
|
||||
|
||||
class OrderedSet(MutableSet):
|
||||
__slots__: Any
|
||||
_map: Any
|
||||
def __init__(self, elems=...) -> None: ...
|
||||
def __contains__(self, elem): ...
|
||||
@@ -142,7 +139,6 @@ class LastOrderedSet(OrderedSet):
|
||||
def unique(it) -> None: ...
|
||||
|
||||
class Reverse:
|
||||
__slots__: Any
|
||||
val: Any
|
||||
def __init__(self, val) -> None: ...
|
||||
def __eq__(self, other) -> Any: ...
|
||||
|
||||
Reference in New Issue
Block a user