This repository has been archived on 2024-10-10. You can view files and clone it, but cannot push or open issues or pull requests.
TelegramBot/classes/geobase/geobase.py
2023-08-27 22:43:16 +02:00

21 lines
412 B
Python

from __future__ import annotations
from abc import ABC, abstractmethod
from typing import List
from classes.location import Location
class GeoBase(ABC):
@abstractmethod
async def get_location(self) -> Location:
pass
@abstractmethod
async def find_location(self) -> List[Location]:
pass
@abstractmethod
async def nearby_location(self) -> List[Location]:
pass