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:
12
odoo-stubs/tools/geoipresolver.pyi
Normal file
12
odoo-stubs/tools/geoipresolver.pyi
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
from typing import Any
|
||||||
|
|
||||||
|
class GeoIPResolver:
|
||||||
|
fname: str
|
||||||
|
_db: Any
|
||||||
|
version: int
|
||||||
|
def __init__(self, fname: str) -> None: ...
|
||||||
|
def __del__(self) -> None: ...
|
||||||
|
@classmethod
|
||||||
|
def open(cls, fname: str) -> GeoIPResolver | None: ...
|
||||||
|
def resolve(self, ip: str) -> dict: ...
|
||||||
|
def record_by_addr(self, addr: str) -> dict: ...
|
||||||
Reference in New Issue
Block a user