mirror of
https://github.com/odoo-ide/odoo-stubs.git
synced 2025-05-08 16:52:26 +03:00
Update stubs
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
from typing import Any, Optional
|
||||
|
||||
_logger: Any
|
||||
|
||||
class except_orm(Exception):
|
||||
name: Any = ...
|
||||
value: Any = ...
|
||||
@@ -9,7 +7,8 @@ class except_orm(Exception):
|
||||
def __init__(self, name: Any, value: Optional[Any] = ...) -> None: ...
|
||||
|
||||
class UserError(except_orm):
|
||||
def __init__(self, msg: Any) -> None: ...
|
||||
def __init__(self, msg: str) -> None: ...
|
||||
|
||||
Warning = UserError
|
||||
|
||||
class RedirectWarning(Exception):
|
||||
|
||||
Reference in New Issue
Block a user