EOX GitLab Instance

Commit e7b4fd4a authored by Nikola Jankovic's avatar Nikola Jankovic 💻
Browse files

updated static type for nonimplemented types

parent 8b45e89b
Pipeline #19050 passed with stage
in 40 seconds
from typing import Generator
from ._endpoint import Endpoint
class OADSEndpoint(Endpoint):
type = "OADS"
def harvest(self) -> list:
def harvest(self) -> Generator[dict, None, None]:
raise NotImplementedError()
from typing import Generator
from ._endpoint import Endpoint
class OGCAPIEndpoint(Endpoint):
type = "OGCAPI"
def harvest(self) -> list:
def harvest(self) -> Generator[dict, None, None]:
raise NotImplementedError()
from typing import Generator
from ._source import Source
class FTPSource(Source):
type = "FTP"
def harvest(self) -> list:
def harvest(self) -> Generator[dict, None, None]:
raise NotImplementedError()
from typing import Generator
from ._source import Source
class STACCatalogSource(Source):
type = "STACCatalog"
def harvest(self) -> list:
def harvest(self) -> Generator[dict, None, None]:
raise NotImplementedError()
from typing import Generator
from ._source import Source
class SwiftSource(Source):
type = "Swift"
def harvest(self) -> list:
def harvest(self) -> Generator[dict, None, None]:
raise NotImplementedError()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment