mapchete.executor.types module
- class mapchete.executor.types.Profiler(*, name: str, decorator: ~typing.Callable, args: ~typing.Tuple = <factory>, kwargs: ~typing.Dict[str, ~typing.Any] = <factory>)
Bases:
BaseModel- args: Tuple
- decorator: Callable
- kwargs: Dict[str, Any]
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- name: str
- class mapchete.executor.types.Result(*, output: ~typing.Any, profiling: ~typing.Dict = <factory>, exception: Exception | None = None)
Bases:
BaseModel- exception: Exception | None
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- output: Any
- profiling: Dict